Router r2, Router r3 – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 448
![background image](/manuals/361646/448/background.png)
424
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
Sample LDP configurations
2
R1(config)# router mpls
R1(config-mpls)# mpls-interface e 2/10
R1(config-mpls)# ldp-enable
R1(config-mpls)# mpls-interface e 2/20
R1(config-mpls)# ldp-enable
R1(config-mpls)# exit
R1(config)# ip route 10.2.2.2/32 10.1.1.2
R1(config)# ip route 10.3.3.3/32 10.1.1.2
R1(config)# route-only
R1(config)# interface ethernet 2/10
R1(config-if-2/10)# enable
R1(config-if-2/10)# ip address 10.1.1.1/24
R1(config-if-2/10)# exit
R1(config)# interface ethernet 2/20
R1(config-if-2/20)# enable
R1(config-if-2/20)# ip address 10.1.1.1/24
Router R2
The following commands configure Router R2 in
.
R2(config)# interface loopback 1
R2(config-lbif-1)# ip address 10.2.2.2/32
R2(config-lbif-1)# exit
R2(config)# router mpls
R2(config-mpls)# mpls-interface e 2/10
R2(config-mpls)# ldp-enable
R2(config-mpls)# exit
R2(config)# ip route 10.1.1.1/32 10.1.1.1
R2(config)# ip route 10.3.3.3/32 10.1.1.1
R2(config)# route-only
R2(config)# interface ethernet 2/20
R2(config-if-2/20)# enable
R2(config-if-2/20)# ip address 10.1.1.2/24
R2(config-if-2/20)# exit
Router R3
The following commands configure Router R3 in
.
R3(config)# interface loopback 1
R3(config-lbif-1)# ip address 10.3.3.3/32
R3(config-lbif-1)# exit
R3(config)# router mpls
R3(config-mpls)# mpls-interface e 2/10
R3(config-mpls)# ldp-enable
R3(config-mpls)# exit
R3(config)# ip route 10.1.1.1/32 10.1.1.1
R3(config)# ip route 10.2.2.2/32 10.1.1.1
R3(config)# route-only
R3(config)# interface ethernet 2/20
R3(config-if-2/20)# enable
R3(config-if-2/20)# 10.1.1.2/24
R3(config-if-2/20)# exit