beautypg.com

Enable next-hop mpls, Enable lsp-metric comparison – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 612

background image

Brocade(config-mpls)# router bgp

Brocade(config-bgp)# maximum 5

Brocade(config-bgp)# show ip route

Total number of IP routes: 5

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination Gateway Port Cost Type Uptime

1 10.1.1.1/32 DIRECT loopback 1 0/0 D 9m46s

2 10.2.3.3/32 DIRECT loopback 2 0/0 D 9m46s

3 10.5.5.5/32 10.1.1.10 eth 1/1 1/1 S 9m35s

4 10.8.8.1/32 10.1.1.2 eth 1/1 20/0 B 0m1s

10.8.8.1/32 10.10.1.2 eth 1/2 20/0 B 0m1s

5 10.8.8.2/32 10.1.1.2 eth 1/1 20/0 B 0m1s

10.8.8.2/32 10.10.1.2 eth 1/2 20/0 B 0m1s

588

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

53-1003031-02

BGP shortcuts

5

Enable next-hop MPLS

In this example, the next-hop MPLS is enabled, and the show ip route command is used to check
the RTM.

Brocade(config-bgp)# next-hop-mpls

Brocade(config-bgp)# show ip route

Total number of IP routes: 4

Type Codes - B:BGP D:Connected I:ISIS O:OSPF R:RIP S:Static; Cost - Dist/Metric

ISIS Codes - L1:Level-1 L2:Level-2

OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2 s:Sham Link

Destination Gateway Port Cost Type Uptime

1 10.1.1.1/32 DIRECT loopback 1 0/0 D 10m4s

2 10.2.3.3/32 DIRECT loopback 2 0/0 D 10m4s

3 10.5.5.5/32 10.1.1.10 eth 1/1 1/1 S 9m53s

4 10.8.8.1/32 10.1.1.2 lsp to2 20/0 B 0m1s

10.8.8.1/32 10.10.1.2 lsp to2_sec 20/0 B 0m1

5 10.8.8.2/32 10.1.1.2 lsp to2 20/0 B 0m1s

10.8.8.2/32 10.10.1.2 lsp to2_sec 20/0 B 0m1s

Syntax: [no] next-hop-mpls [compare-lsp-metric]

Enable LSP-metric comparison

For this example, LSP-metric comparison is enabled and the consequences are checked in the
RTM. In this case, LSPs to2 and to2_sec already provide the best route, so this display does not
differ from the example in which next-hop MPLS is enabled. Note that to22 is not displayed
because its metric is 20, but the metric of to2 (to the same destination) is only 10 and so
represents the chosen LSP.