Use this command to configure the authentication key on an OSPF sham link.
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. |
password | Specifies an OSPF authentication password. Valid values are alphanumeric strings up to 8 bytes in length. |
None.
VRF configuration, OSPF router configuration.
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.
This example shows how to configure 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 and assign an authentication key of yourpass::
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 authentication-key yourpass