Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 750
![background image](/manuals/361646/750/background.png)
726
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP or MPLS VPN sample configurations
6
Brocade(config)# interface loopback 1
Brocade(config-lbif-1)# ip address 10.33.33.1/32
Brocade(config-lbif-1)# exit
Brocade(config)# ip route 10.1.2.0/24 10.33.33.1
Brocade(config)# router ospf
Brocade(config-ospf-router)# area 1
Brocade(config-ospf-router)# redistribute static
Brocade(config-ospf-router)# exit
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# ip address 10.33.33.2
Brocade(config-if-e10000-1/1)# ip ospf area 1
Brocade(config-if-e10000-1/1)# exit
CE 5 configuration
This configuration example describes what is required to operate the CE 5 router in
this example, a static route is configured between the external network (10.1.3.0/24) and the
loopback interface. OSPF is configured to redistribute static routes between the CE 5 router and
the attached interface of PE 4.
Brocade(config)# interface loopback 1
Brocade(config-lbif-1)# ip address 10.33.36.1/32
Brocade(config-lbif-1)# exit
Brocade(config)# ip route 10.1.3.0/24 10.33.36.1
Brocade(config)# router ospf
Brocade(config-ospf-router)# area 1
Brocade(config-ospf-router)# redistribution static
Brocade(config-ospf-router)# exit
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# ip address 10.33.36.2
Brocade(config-if-e10000-1/1)# ip ospf area 1
Brocade(config-if-e10000-1/1)# exit
PE 1 configuration
This configuration example describes what is required to operate the PE 1 router in
this example, the VRF VPN1 is created with a unique route descriptor consisting of the BGP AS
number (1) and a random other number (2), and route targets are set for import and export. The
VRF (VPN1) is defined on the interface that connects to CE 1. OSPF is configured on the VRF
named VPN1 to exchange routes with CE 1 and to redistribute routes from across the MPLS
domain.
IBGP with extended community attributes is configured between PE 1 and PE 4. The OSPF area is
specified as 0 and MPLS is set up for OSPF traffic engineering. In addition, MPLS is configured with
a signalled LSP named “tunnel1” to PE 1.
Brocade(config)# interface loopback 1
Brocade(config-lbif-1)# ip address 10.2.2.1/24
Brocade(config-lbif-1)# ip ospf area 0
Brocade(config-lbif-1)# exit
Brocade(config)# vrf VPN1
Brocade(config-vrf-vpn1)# rd 1:1
Brocade(config-vrf-vpn1)# route-target export 100:1