Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 610
![background image](/manuals/361646/610/background.png)
586
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
BGP shortcuts
5
•
Enabling next-hop MPLS (LSP metric becomes fixed at 1)
•
Enabling compare-LSP-metric (so IGP metric is compared with user-configurable LSP metric)
•
Disabling next-hop MPLS
Enable next-hop MPLS using the next-hop-mpls command, as the following example illustrates. The
follow-up show command of the running configuration indicates the global enabling of this feature.
Brocade(config-bgp)# next-hop-mpls
Brocade(config-bgp)# show ip bgp config
Current BGP configuration:
router bgp
local-as 10
neighbor 10.1.1.2 remote-as 20
neighbor 10.10.1.2 remote-as 20
address-family ipv4 unicast
next-hop-mpls
exit-address-family
address-family ipv4 multicast
exit-address-family
address-family ipv6 unicast
exit-address-family
Syntax: [no] next-hop-mpls [compare-lsp-metric]
Enable the Brocade device to use the compare LSP metric. The running configuration reflects the
global configuration on one line.
Brocade(config-bgp)# next-hop-mpls compare-lsp-metric
Brocade(config-bgp)# show ip bgp config
Current BGP configuration:
router bgp
local-as 10
neighbor 10.1.1.2 remote-as 20
neighbor 10.10.1.2 remote-as 20
address-family ipv4 unicast
next-hop-mpls compare-lsp-metric
exit-address-family
address-family ipv4 multicast
exit-address-family
address-family ipv6 unicast
exit-address-family
Syntax: [no] next-hop-mpls [compare-lsp-metric]
This series of examples shows how an IP-only routing table resolution for BGP is affected first by the
enabling of next-hop MPLS and then by the enabling of LSP-metric comparison. The tasks for these
examples are:
•
Specify metrics for three LSPs. The existing LSPs in this example are to2, to22, and to2_sec. As
a precondition for this example, their metrics are changed to 10, 20, and 10.
•
Enable BGP ECMP, then check the routing table. The destination IP address for this example is
10.8.8.1/32. The routing table shows that native IP-forwarding is used.