Setting an lsp for each vrf on a pe – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 756
![background image](/manuals/361646/756/background.png)
732
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP or MPLS VPN sample configurations
6
Setting an LSP for each VRF on a PE
provides an example of assigning a different LSP for each VRF on a PE. In this example,
PE 1 contains two VRFs: VPN1 and VPN2. It also contains two loopback interfaces with the
following IP addresses: Loopback 0 = 10.2.2.1 and Loopback 2 = 10.2.2.2. Nexthop addresses for
VPN1 and VPN2 can be created separately to Loopback 0 and Loopback 1. Then, different LSPs
are assigned to each of the Loopback addresses.
FIGURE 81
Support per-VRF BGP nexthop
The following configuration example shows the elements in the PE 2 configuration required to
make this example operate.
Brocade(config)# vrf VPN1
Brocade(config-vrf-vpn1)# bgp next-hop loopback 0
Brocade(config-vrf-vpn1)# exit-vrf
Brocade(config)# vrf VPN2
Brocade(config-vrf-vpn2)# bgp next-hop loopback 1
Brocade(config-vrf-vpn2)# exit-vrf
Brocade(config)# router mpls
Brocade(config-mpls)# mpls-interface ethe 1/1
Brocade(config-mpls)# lsp priority1
Brocade(config-mpls-lsp-priority1)# to 10.2.2.2
Brocade(config-mpls-lsp-priority1)# primary-path prim-path1
Brocade(config-mpls-lsp-priority1)# secondary-path sec-path1
Brocade(config-mpls-lsp-priority1)# enable
Brocade(config-mpls)# lsp priority2
Brocade(config-mpls-lsp-priority2)# to 10.2.2.1
Brocade(config-mpls-lsp-priority2)# primary prim-path2
Brocade(config-mpls-lsp-priority2)# secondary sec-path2
Brocade(config-mpls-lsp-priority2)# enable