Cisco Systems 1400 series, 1600R manual Examples, 120

Page 14

OSPF Sham-Link Support for MPLS VPN

area sham-link cost

Examples

The following example shows how to configure a sham-link between two PE routers in an MPLS VPN

 

backbone by using the area sham-link cost command on each router:

 

Router1(config)# interface loopback 55

 

 

Router1(config-if)# ip vrf forwarding v1

 

 

Router1(config-if)#ip address 10.0.0.1 255.255.255.255

 

 

!

 

 

Router1(config)# router ospf 2 vrf v1

 

 

Router1(config-if)#log-adjacency-changes

 

 

Router1(config-if)#area 120 sham-link 10.0.0.1 10.44.0.1 cost 1

 

Router1(config-if)#redistribute bgp 1 subnets

 

 

Router1(config-if)#network 10.2.0.1 255.255.255.255 area

1

 

Router1(config-if)#network 10.120.0.0 0.255.255.255 area

120

 

Router1(config-if)#network 10.140.0.0 0.255.255.255 area

120

 

!

 

 

Router2(config)# interface loopback 44

 

 

Router2(config-if)# ip vrf forwarding v1

 

 

Router2(config-if)#ip address 44.0.0.1 255.255.255.255

 

 

!

 

 

Router2(config)# router ospf 2 vrf v1

 

 

Router2(config-if)#log-adjacency-changes

 

 

Router2(config-if)#area 120 sham-link 10.44.0.1 10.0.0.1 cost 1

 

Router2(config-if)#redistribute bgp 1 subnets

 

 

Router2(config-if)#network 10.2.0.1 255.255.255.255 area

1

 

Router2(config-if)#network 10.120.0.0 0.255.255.255 area

120

 

Router2(config-if)#network 10.140.0.0 0.255.255.255 area

120

 

!

 

Cisco IOS Release 12.2(8)T

14

Image 14 Contents
Feature History ReleaseModification Feature OverviewUsing Ospf in PE-CE Router Connections Using a Sham-Link to Correct Ospf Backdoor Routing PE-1#show ip bgp vpnv4 all From 0.0.0.0PE-1#show ip route vrf ospf Sham-Link Configuration Example Sham-Link Example Vpnv4 all tag beginClient Site Connection Across the Mpls VPN Backbone Flexible Routing in an Mpls VPN ConfigurationBenefits Restrictions Related Features and TechnologiesSupported Platforms Related DocumentsDetermining Platform Support Through Cisco Feature Navigator Prerequisites Configuration TasksSupported Standards, MIBs, and RFCs Creating a Sham-LinkCommand Purpose Verifying Sham-Link CreationMonitoring and Maintaining a Sham-Link Configuration ExamplesCommand Reference Show ip ospf sham-linksCommand Modes Command History Area sham-link costExamples 120Usage Guidelines DefaultsShow ip ospf sham-links Router1# show ip ospf sham-linksGlossary
Related manuals
Manual 16 pages 54.16 Kb Manual 52 pages 58.61 Kb Manual 13 pages 25.35 Kb