R0106-HP MSR Router Series MPLS Configuration Guide(V7)
440
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Input: 0 packets, 0 bytes, 0 drops
Output: 0 packets, 0 bytes, 0 drops
3. Configure a tunnel bundle interface for the protection group:
# Enable MPLS protection switching.
<RouterA> system-view
[RouterA] mpls protection
[RouterA-mpls-protection] quit
# Create a tunnel bundle interface in 1:1 protection switching mode.
[RouterA] interface tunnel-bundle 0 protection onetoone
# Specify 4.4.4.4 (Router D's LSR ID) as the tunnel destination address.
[RouterA-Tunnel-Bundle0] destination 4.4.4.4
# Configure an IP address for the tunnel bundle interface. This example uses 101.1.101.1/24.
[RouterA-Tunnel-Bundle0] ip address 101.1.101.1 24
# Specify tunnel interface Tunnel 1 as the primary member interface, and Tunnel 2 as the backup
member interface.
[RouterA-Tunnel-Bundle0] member interface tunnel 1
[RouterA-Tunnel-Bundle0] member interface tunnel 2 protection
[RouterA-Tunnel-Bundle0] quit
4. Configure BFD for the protection group:
# Enable MPLS BFD.
[RouterA] mpls bfd enable
# Enable BFD for the primary member interface Tunnel 1 to test the connectivity of the working
tunnel.
[RouterA] interface tunnel 1
[RouterA-Tunnel1] mpls bfd
[RouterA-Tunnel1] quit
# Enable BFD for the backup member interface Tunnel 2 to test the connectivity of the protection
tunnel.
[RouterA] interface tunnel 2
[RouterA-Tunnel2] mpls bfd
[RouterA-Tunnel2] quit
# Execute the display bfd session command on Router A to display BFD information for the MPLS
TE tunnels.
[RouterA] display bfd session
Total Session Num: 2 Up Session Num: 2 Init Mode: Active
IPv4 Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
513/513 1.1.1.1 127.0.0.1 Up 2297ms Tunnel1