area sham-link cost

Use this command to configure the cost of an OSPF sham link.

Syntax

area area-id sham-link source-ipv6-address destination-ipv6-address cost cost
no area area-id sham-link source-ipv6-address destination-ipv6-address cost

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.
cost Specifies the cost of the sham link. Valid values are 1 - 65535. The default value is the reference bandwidth divided by the interface bandwidth.

Defaults

The cost of the sham link defaults to the reference bandwidth divided by the interface bandwidth.

Mode

VRF configuration, OSPF router configuration.

Usage

Each router interface that participates in OSPF routing is assigned a default cost. This command overwrites the default OSPF interface cost.

The reference bandwidth defaults to 100Mbps and can be modified using auto-cost reference-bandwidth.

The “no” form of this command resets the OSPF cost for the sham link to the default of 10.

Example

This example shows how to configure a cost of 20 for the 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:

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 cost 20