area sham-link keychain

Use this command to configure an MD5 keychain for this sham link.

Syntax

area area-id sham-link source-ip-address destination-ip-address keychain name
no area area-id sham-link source-ip-address destination-ip-address keychain

Parameters

area-id Specifies the OSPF area the two PE routers belong to.
source-ip-address Specifies the source IP address for this sham link.
destination-ip-address Specifies the destination IP address for this sham link.
name Specifies the name of the OSPF keychain that holds MD5 keys.

Defaults

None.

Mode

VRF configuration, OSPF router configuration.

Usage

The “no” form of this command removes the current keychain from the sham link.

Example

This example shows how to configure keychain keychain1 to a sham link between two PE routers with a source address of 172.16.1.10 and a destination address of 172.16.2.20 on OSPF router instance 10, VRF doc:

System(su)->router doc
System(su-doc)->configure
System(su-doc-config)->router ospf 10
System(su-doc-config-ospf-10)->enable-pe-ce
System(su-doc-config-ospf-10)->area 10 sham-link 172.16.1.10 172.16.2.20 keychain keychain1