Ebgp to ce network example, Ce 1 configuration, Ce 5 configuration – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 736
![background image](/manuals/361646/736/background.png)
712
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP or MPLS VPN sample configurations
6
EBGP to CE network example
In the example shown in
, the network is configured to use EBGP to forward routes
between the networks attached to the CE routers and the PE routers. IBGP is used to forward
routes between the PE routers and an LSP tunnel is configured across the MPLS domain.
contains all of the network addresses and AS numbers required to perform this configuration. The
configurations are shown for only the CE 1, CE 5, PE 1 and PE 5 routers, which demonstrates what
is required to make VPN1 work. The configurations for VPN2, VPN3, and VPN 4 would essentially be
the same.
CE 1 configuration
This configuration example describes what is required to operate the CE 1 router in
this example, a static route is configured between the external network (10.1.2.0/24) and the
loopback interface. EBGP is configured between CE 1 and PE 1, and the static route is redistributed
through this connection.
Brocade(config)# ip route 10.1.2.0/24 10.33.33.1
Brocade(config)# router bgp
Brocade(config-bgp)# local-as 2
Brocade(config-bgp)# neighbor 10.33.33.3 remote-as 1
Brocade(config-bgp)# redistribute static
Brocade(config-bgp)# exit
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# ip address 10.33.33.2/24
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. EBGP is configured between CE 5 and PE 4, and the static route is redistributed
through this connection.
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 bgp
Brocade(config)# local-as 3
Brocade(config-bgp)# neighbor 10.33.36.3 remote-as 1
Brocade(config-bgp)# redistribute static
Brocade(config-bgp)# exit
Brocade(config)# interface ethernet 1/1
Brocade(config-if-e10000-1/1)# ip address 10.33.36.2/24
Brocade(config-if-e10000-1/1)# exit