Static route to an lsp tunnel interface – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 827
Multi-Service IronWare Switching Configuration Guide
797
53-1003036-02
Static route configuration
19
Static route to an LSP tunnel interface
This feature allows you to set the next hop for a static route to the egress router of an LSP tunnel if
the destination route is contained in the MPLS routing table. In this configuration, the static route is
updated with the LSP routes and reverts to its original next hop outgoing interface when this
feature is disabled or when the LSP goes down. This route can be used for the default route.
To enable the static route to an LSP tunnel interface feature, use the following command.
Brocade(config)# ip route next-hop-enable-mpls
Syntax: [no] ip route next-hop-enable-mpls
The static route can then be directed to the IP address of the egress router of the LSP. In the
following example, a static route is configured to network 10.10.10.0/24 through 10.11.11.1, which
is the IP address of the egress router of an LSP tunnel.
Brocade(config)# ip route 10.10.10.0/24 10.11.11.1
As previously stated, this feature works only if a route to the destination network is contained in the
MPLS routing table. To verify that it is, you can use the show ip route command, as shown in the
following example.
As shown in the example, route 2 has a destination network of 10.10.10.0/24 through the gateway
at IP address 10.11.11.1 which is on LSP 12.
NOTE
The show commands are enhanced to include the full LSP name. Previously, the LSP name was
truncated because it exceeded the character length. Now, the LSP name is text wrapped to display
the full name. For example, see show ip route above.
Brocade# show ip route
Total number of IP routes: 6
Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type
1 10.47.6.0/24 DIRECT mgmt 1 0/0 D
2 10.11.11.11/32 DIRECT loopback 1 0/0 D
3 10.12.12.12/32 10.1.0.1 eth 5/1 110/3 O
10.12.12.12/32 10.12.12.12 lsp brocadel 110/3 O
onglspfoundr
ylonglspfoun
drylonglspfo
undrylonglsp
fou
10.12.12.12/32 10.12.12.12 lsp t11 110/3 O
4 10.13.13.13/32 10.1.0.1 eth 5/1 110/2 O
5 10.1.0.0/24 DIRECT eth 5/1 0/0 D
6 10.1.0.0/24 10.1.0.1 eth 5/1 110/2 O
Brocade#