area sham-link authentication-key

Use this command to configure the authentication key on an OSPF sham link.

Syntax

area area-id sham-link source-ipv6-address destination-ipv6-address authentication-key password
no area area-id sham-link source-ipv6-address destination-ipv6-address authentication-key

Parameters

area-id Specifies the OSPF area the two PE routers belong to.
source-ipv6-address Specifies the source IPv6 address for this sham link.
destination-ipv6-address Specifies the destination IPv6 address for this sham link.
password Specifies an OSPF authentication password. Valid values are alphanumeric strings up to 8 bytes in length.

Defaults

None.

Mode

VRF configuration, OSPF router configuration.

Usage

All neighboring routers on the same network must have the same password configured to be able to exchange OSPF information.

This password is used as a “key” that is inserted directly into the OSPF header in routing protocol packets. A separate password can be assigned to each sham link.

The “no” form of this command deletes the configured sham link authentication key.

Example

This example shows how to configure a sham link between two PE routers with a source address of 2001:FA04:0005:0001::0 and a destination address of 2002:FA04:0005:0002::0 on OSPF router instance 10, VRF doc and assign an authentication key of yourpass:

System(su)->router doc
System(su-doc)->configure
System(su-doc-config)->ipv6 router ospf 10
System(su-doc-config-ospf-10)->enable-pe-ce
System(su-doc-config-ospf-10)->area 10 sham-link 2001:FA04:0005:0001::0 2002:FA04:0005:0002::0 authentication-key yourpass