enable ipsec-profile

Use enable ipsec-profile to apply an IPsec profile to an OSPFv3 area.

Use undo enable ipsec-profile to remove the IPsec profile from the OSPFv3 area.

Syntax

enable ipsec-profile profile-name

undo enable ipsec-profile

Default

No IPsec profile is applied to an area.

Views

OSPFv3 area 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.

Usage guidelines

To protect routing information and prevent attacks, OSPFv3 can authenticate protocol packets by using an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.

Examples

# Apply IPsec profile profile001 to Area 0 in OSPFv3 process 1.

<Sysname> system-view
[Sysname] ospfv3 1
[Sysname-ospfv3-1] area 0
[Sysname-ospfv3-1-area-0.0.0.0] enable ipsec-profile profile001