Pe 1 configuration, Pe 2 configuration – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 758
![background image](/manuals/361646/758/background.png)
734
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP or MPLS VPN sample configurations
6
This configuration example describes the additional configuration required to create a sham link
between PE 1 and PE 2 in the example shown in
. In this example, the VRF VPN1 is added
to the loopback interface configuration, and a sham link with a cost of 10 is created between the
loopback interfaces on PE 1 and PE 2.
After this configuration is implemented, routes between CE 2 and CE 3 over the service provider
network is preferred to the backdoor link that exists between these CEs.
PE 1 configuration
Brocade(config)# interface loopback 1
Brocade(config-lbif-1)# vrf forwarding VPN1
Brocade(config-lbif-1)# ip address 10.2.2.1/24
Brocade(config)# vrf VPN1
Brocade(config)# router ospf vrf VLAN1
Brocade(config-ospf-router)# area 1 sham-link 10.2.2.1 10.2.2.2 cost 10
Brocade(config-ospf-router)# redistribution bgp
PE 2 configuration
Brocade(config)# interface loopback 1
Brocade(config-lbif-1)# vrf forwarding VPN1
Brocade(config-lbif-1)# ip address 10.2.2.2/24
Brocade(config)# vrf VPN1
Brocade(config)# router ospf vrf VLAN1
Brocade(config-ospf-router)# area 1 sham-link 10.2.2.2 10.2.2.1 cost 10
Brocade(config-ospf-router)# redistribution bgp