Example for Configuring RSVP GR
Networking Requirements
Only the AR3260 can be used in this scenario.
As shown in Figure 4-62, an enterprise has its own MPLS backbone network, and LSRA, LSRB, and LSRC are devices on the backbone network. The three LSRs all have double SRUs. The IS-IS protocol is used to implement IP interworking. A TE tunnel from LSRA to LSRC is set up on the network.
The enterprise wants to ensure uninterrupted data forwarding during an active/standby switchover on LSRA, LSRB, or LSRC.
Configuration Roadmap
RSVP GR can be configured on the network to ensure uninterrupted data forwarding during an active/standby switchover.
The configuration roadmap is as follows:
Configure IS-IS to ensure that routes between backbone nodes are reachable.
Enable MPLS TE and RSVP TE on the backbone nodes so that they can set up MPLS TE tunnels.
Enable IS-IS TE and change the cost type to enable the nodes to advertise TE information using IS-IS.
On the ingress node, create a tunnel interface and configure tunnel attributes on the tunnel interface. Enable MPLS TE CSPF to dynamically set up MPLS TE tunnels.
Configure IS-IS GR and RSVP GR on each node to ensure uninterrupted data forwarding during an active/standby switchover.
Procedure
- Assign IP addresses to interfaces.
# Configure LSRA. The configurations of LSRB and LSRC are similar to the configuration of LSRA, and are not mentioned here.
<Huawei> system-view [Huawei] sysname LSRA [LSRA] interface gigabitethernet 1/0/0 [LSRA-GigabitEthernet1/0/0] ip address 172.1.1.1 255.255.255.0 [LSRA-GigabitEthernet1/0/0] quit [LSRA] interface loopback 1 [LSRA-LoopBack1] ip address 1.1.1.9 255.255.255.255 [LSRA-LoopBack1] quit
- Configure IS-IS to advertise routes.
# Configure LSRA.
[LSRA] isis 1 [LSRA-isis-1] network-entity 00.0005.0000.0000.0001.00 [LSRA-isis-1] is-level level-2 [LSRA-isis-1] quit [LSRA] interface gigabitethernet 1/0/0 [LSRA-GigabitEthernet1/0/0] isis enable 1 [LSRA-GigabitEthernet1/0/0] quit [LSRA] interface loopback 1 [LSRA-LoopBack1] isis enable 1 [LSRA-LoopBack1] quit
# Configure LSRB.
[LSRB] isis 1 [LSRB-isis-1] network-entity 00.0005.0000.0000.0002.00 [LSRB-isis-1] is-level level-2 [LSRB-isis-1] quit [LSRB] interface gigabitethernet 1/0/0 [LSRB-GigabitEthernet1/0/0] isis enable 1 [LSRB-GigabitEthernet1/0/0] quit [LSRB] interface gigabitethernet 2/0/0 [LSRB-GigabitEthernet2/0/0] isis enable 1 [LSRB-GigabitEthernet2/0/0] quit [LSRB] interface loopback 1 [LSRB-LoopBack1] isis enable 1 [LSRB-LoopBack1] quit
# Configure LSRC.
[LSRC] isis 1 [LSRC-isis-1] network-entity 00.0005.0000.0000.0003.00 [LSRC-isis-1] is-level level-2 [LSRC-isis-1] quit [LSRC] interface gigabitethernet 1/0/0 [LSRC-GigabitEthernet1/0/0] isis enable 1 [LSRC-GigabitEthernet1/0/0] quit [LSRC] interface loopback 1 [LSRC-LoopBack1] isis enable 1 [LSRC-LoopBack1] quit
After the configuration is complete, run the display ip routing-table command on the LSRs, and you can see that they have learnt the routes from each other.
- Configure basic MPLS capabilities and enable MPLS TE and
RSVP TE.
Enable MPLS, MPLS TE, and RSVP TE globally on the LSRs and on the interfaces that the tunnel passes through.
# Configure LSRA. The configurations of LSRB and LSRC are similar to the configuration of LSRA, and are not mentioned here.
[LSRA] mpls lsr-id 1.1.1.9 [LSRA] mpls [LSRA-mpls] mpls te [LSRA-mpls] mpls rsvp-te [LSRA-mpls] quit [LSRA] interface gigabitethernet 1/0/0 [LSRA-GigabitEthernet1/0/0] mpls [LSRA-GigabitEthernet1/0/0] mpls te [LSRA-GigabitEthernet1/0/0] mpls rsvp-te [LSRA-GigabitEthernet1/0/0] quit
- Configure IS-IS TE and enable IS-IS GR.
# Configure LSRA. The configurations of LSRB and LSRC are similar to the configuration of LSRA, and are not mentioned here.
[LSRA] isis 1 [LSRA-isis-1] cost-style wide [LSRA-isis-1] traffic-eng level-2 [LSRA-isis-1] graceful-restart [LSRA-isis-1] quit
- Configure tunnel interfaces for the MPLS TE tunnel and
enable MPLS TE CSPF.
On the ingress of the tunnel, create a tunnel interface and set the IP address, tunnel protocol, destination IP address, tunnel ID, and dynamic signaling protocol for the tunnel interface. Then, run the mpls te commit command to commit the configuration.
# Configure LSRA.
[LSRA] mpls [LSRA-mpls] mpls te cspf [LSRA-mpls] quit [LSRA] interface tunnel 0/0/1 [LSRA-Tunnel0/0/1] ip address unnumbered interface loopback 1 [LSRA-Tunnel0/0/1] tunnel-protocol mpls te [LSRA-Tunnel0/0/1] destination 3.3.3.9 [LSRA-Tunnel0/0/1] mpls te tunnel-id 100 [LSRA-Tunnel0/0/1] mpls te commit [LSRA-Tunnel0/0/1] quit
After the configuration is complete, run the display interface tunnel command on LSRA. You can see that the status of the tunnel interface is Up.
[LSRA] display interface tunnel Tunnel0/0/1 current state : UP Line protocol current state : UP Last line protocol up time : 2013-01-14 09:18:46 Description: ...
- Configure RSVP GR.
# Configure LSRA. The configurations of LSRB and LSRC are similar to the configuration of LSRA, and are not mentioned here.
[LSRA] mpls [LSRA-mpls] mpls rsvp-te hello [LSRA-mpls] mpls rsvp-te hello full-gr [LSRA-mpls] quit [LSRA] interface gigabitethernet 1/0/0 [LSRA-GigabitEthernet1/0/0] mpls rsvp-te hello [LSRA-GigabitEthernet1/0/0] quit
- Verify the configuration.
# After the configuration is complete, run the display mpls rsvp-te graceful-restart command on LSRA to view the local GR status, restart time, and recovery time.
[LSRA] display mpls rsvp-te graceful-restart Display Mpls Rsvp te graceful restart information LSR ID: 1.1.1.9 Graceful-Restart Capability: GR-Self GR-Support Restart Time: 90060 Milli Second Recovery Time: 0 Milli Second GR Status: Gracefully Restart Not going on Number of Restarting neighbors: 0 Number of LSPs recovered: 0 Received Gr Path message count: 0 Send Gr Path message count: 0 Received RecoveryPath message count: 0 Send RecoveryPath message count: 0
# Run the display mpls rsvp-te graceful-restart peer command on LSRA to view the GR status of the neighboring node.
[LSRA] display mpls rsvp-te graceful-restart peer Neighbor on Interface GigabitEthernet1/0/0 Neighbor Addr: 172.1.1.2 Last Attribute: Added Usually SrcInstance: 0x7C832B3D NbrSrcInstance: 0x6A48E0F5 Neighbor Capability: Can Do Self GR Can Support GR GR Status: Normal Restart Time: 90015 Millisecond Recovery Time: 0 Millisecond Stored GR message number: 0 PSB Count: 0 RSB Count: 1 Total to be Recover PSB Count: 0 Recovered PSB Count: 0 Total to be Recover RSB Count: 0 Recovered RSB Count: 0 P2MP PSB Count: 0 P2MP RSB Count: 0 Total to be Recover P2MP PSB Count: 0 Recovered P2MP PSB Count: 0 Total to be Recover P2MP RSB Count: 0 Recovered P2MP RSB Count: 0
Configuration Files
LSRA Configuration file
# sysname LSRA # mpls lsr-id 1.1.1.9 mpls mpls te mpls rsvp-te mpls rsvp-te hello mpls rsvp-te hello full-gr mpls te cspf # isis 1 graceful-restart is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0001.00 traffic-eng level-2 # interface GigabitEthernet1/0/0 ip address 172.1.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te mpls rsvp-te hello # interface LoopBack1 ip address 1.1.1.9 255.255.255.255 isis enable 1 # interface Tunnel0/0/1 ip address unnumbered interface LoopBack1 tunnel-protocol mpls te destination 3.3.3.9 mpls te tunnel-id 100 mpls te commit # return
LSRB configuration file
# sysname LSRB # mpls lsr-id 2.2.2.9 mpls mpls te mpls rsvp-te mpls rsvp-te hello mpls rsvp-te hello full-gr # isis 1 graceful-restart is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0002.00 traffic-eng level-2 # interface GigabitEthernet1/0/0 ip address 172.1.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te mpls rsvp-te hello # interface GigabitEthernet2/0/0 ip address 172.2.1.1 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te mpls rsvp-te hello # interface LoopBack1 ip address 2.2.2.9 255.255.255.255 isis enable 1 # return
LSRC configuration file
# sysname LSRC # mpls lsr-id 3.3.3.9 mpls mpls te mpls rsvp-te mpls rsvp-te hello mpls rsvp-te hello full-gr # isis 1 graceful-restart is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0003.00 traffic-eng level-2 # interface GigabitEthernet1/0/0 ip address 172.2.1.2 255.255.255.0 isis enable 1 mpls mpls te mpls rsvp-te mpls rsvp-te hello # interface LoopBack1 ip address 3.3.3.9 255.255.255.255 isis enable 1 # return