ospfv3 ipsec-profile

Use ospfv3 ipsec-profile to apply an IPsec profile to an OSPFv3 interface.

Use undo ospfv3 ipsec-profile to remove the IPsec profile from the OSPFv3 interface.

Syntax

ospfv3 ipsec-profile profile-name [ instance instance-id ]

undo ospfv3 ipsec-profile [ instance instance-id ]

Default

No IPsec profile is applied to an OSPFv3 interface.

Views

Interface view

Predefined user roles

network-admin

Parameters

profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters.

instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0.

Usage guidelines

An IPsec profile must be specified in this command. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to VLAN-interface 10.

<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ospfv3 ipsec-profile profile001