Router r1, Router r2 – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 297
![background image](/manuals/361646/297/background.png)
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
273
53-1003031-02
Transit LSP statistics
1
Path direct_conn is the primary path for LSP t3, and path via_r2 is the secondary path. When the
LSP is enabled, RSVP signaling messages set up path direct_conn. Packets assigned to this LSP
use this path to reach the destination.
When path direct_conn fails, path via_r2 is set up, and packets assigned to LSP t3 then use path
via_r2 to reach the destination. By default, the secondary path is not set up until the primary path
fails. When the user employs the standby parameter in the configuration of the secondary path,
both the primary and secondary paths are set up at the same time, although packets assigned to
the LSP travel on the primary path only. When the primary path fails, the secondary path
immediately carries the traffic.
Router R1
The following commands configure Router R1 in
.
Brocade(config)# router mpls
Brocade(config-mpls)# mpls-interface e 2/1 e 2/2
Brocade(config-mpls)# path direct_conn
Brocade(config-mpls-path)# strict 10.11.1.2
Brocade(config-mpls-path)# exit
Brocade(config-mpls)# path via_r2
Brocade(config-mpls-path)# strict 10.1.1.2
Brocade(config-mpls-path)# exit
Brocade(config-mpls)# lsp t3
Brocade(config-mpls-lsp)# to 10.30.1.1
Brocade(config-mpls-lsp)# primary direct
Brocade(config-mpls-lsp)# secondary via_r2
Brocade(config-mpls-lsp)# enable
Brocade(config-mpls-lsp)# exit
Brocade(config-mpls)# interface e 2/1
Brocade(config-e10000-2/1)# ip address 10.1.1.1 255.0.0.0
Brocade(config-e10000-2/1)# ip ospf area 1
Brocade(config-e10000-2/1)# exit
Brocade(config-mpls)# interface e 2/2
Brocade(config-e10000-2/2)# ip address 10.11.1.1 255.0.0.0
Brocade(config-e10000-2/2)# ip ospf area 1
Brocade(config-e10000-2/2)# exit
Brocade(config-mpls)# interface e 3/2
Brocade(config-if-e100-3/2)# ip address 192.168.2.1 255.255.255.0
Brocade(config-if-e100-3/2)# exit
Brocade(config)# router ospf
Brocade(config-ospf-router)# area 1
Brocade(config-ospf-router)# exit
Router R2
In the configuration in
, Router R2 serves as a transit LSR for path via_r2. Since path
via_r2 is the secondary path for the LSP, it is used only when the primary path fails.
Brocade(config)# router mpls
Brocade(config-mpls)# mpls-interface e 2/1 e 4/1
Brocade(config-mpls)# interface e 2/1
Brocade(config-e10000-2/1)# ip address 10.1.1.2 255.0.0.0
Brocade(config-e10000-2/1)# ip ospf area 1
Brocade(config-e10000-2/1)# exit