Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 616
Brocade# show mpls ldp database
Session 10.3.3.3:0 - 10.5.5.2:0
Downstream label database:
Label Prefix State
1024 10.3.3.3/32 Retained
Upstream label database:
Label Prefix
3 10.3.3.3/32
3 10.5.5.5/32
592
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
LDP route injection
5
3. The show ip route command displays routes available to ports on Router 1.
Brocade# show ip route
Total number of IP routes: 9
Type Codes - B:BGP D:Connected S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type
1 10.2.2.2/32 10.0.0.2 eth 1/1 1/1 S
2 10.3.3.3/32 DIRECT loopback 3 0/0 D
3 10.5.5.0/24 10.0.0.2 eth 1/1 1/1 S
4 10.5.5.1/32 10.0.0.2 eth 1/1 1/1 S
5 10.5.5.2/32 10.0.0.2 eth 1/1 110/2 O
6 10.5.5.5/32 DIRECT loopback 5 0/0 D
7 10.5.6.2/32 10.0.0.2 eth 1/1 1/1 S
8 10.0.0.0/24 DIRECT eth 1/1 0/0 D
9 10.10.0.0/24 DIRECT eth 1/2 0/0 D
4. In this example, a filter is configured to inject route 10.2.2.2/32.
Brocade(config)# access-list 30 permit 10.2.2.2/32
Brocade(config)# router mpls
Brocade(config-mpls)# ldp
Brocade(config-mpls-ldp)# advertise for 30
5. As shown, the 10.2.2.2/32 has been injected into the LDP Label information database.
Brocade# show mpls ldp database
Session 10.3.3.3:0 - 10.5.5.2:0
Downstream label database:
Label Prefix State
Upstream label database:
Label Prefix
3 10.2.2.2/32
6. In this example a second filter is configured to inject route 10.5.5.2/32.
Brocade(config)# access-list 30 permit 10.5.5.2/32
7. As shown, route 10.5.5.2/32 has been injected into the LDP label information database.