Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 104

Advertising
background image

93

[SwitchB-mpls] interface vlan-interface 1

[SwitchB-Vlan-interface1] mpls enable

[SwitchB-Vlan-interface1] mpls te enable

[SwitchB-Vlan-interface1] rsvp enable

[SwitchB-Vlan-interface1] rsvp hello enable

[SwitchB-Vlan-interface1] quit

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] mpls enable

[SwitchB-Vlan-interface2] mpls te enable

[SwitchB-Vlan-interface2] rsvp enable

[SwitchB-Vlan-interface2] rsvp hello enable

[SwitchB-Vlan-interface2] quit

# Configure Switch C.

<SwitchC> system-view

[SwitchC] mpls lsr-id 3.3.3.9

[SwitchC] mpls te

[SwitchC-te] quit

[SwitchC] rsvp

[SwitchC-rsvp] quit

[SwitchC] interface vlan-interface 2

[SwitchC-Vlan-interface2] mpls enable

[SwitchC-Vlan-interface2] mpls te enable

[SwitchC-Vlan-interface2] rsvp enable

[SwitchC-Vlan-interface2] rsvp hello enable

[SwitchC-Vlan-interface2] quit

4.

Configure an MPLS TE tunnel. (Details not shown.)

5.

Configure RSVP GR:
# Configure Switch A.

[SwitchA] rsvp

[SwitchA-rsvp] graceful-restart enable

# Configure Switch B.

[SwitchB] rsvp

[SwitchB-rsvp] graceful-restart enable

# Configure Switch C.

[SwitchC] rsvp

[SwitchC-rsvp] graceful-restart enable

Verifying the configuration

# After a tunnel is established from Switch A and Switch C, execute the following command on Switch A:

<SwitchA> display rsvp peer verbose

Peer: 10.1.1.2 Interface: Vlan1

Hello state: Up Hello type: Active

PSB count: 0 RSB count: 1

Src instance: 0x1f08 Dst instance: 0x22

Refresh reduction: Disabled Graceful Restart state: Ready

Peer GR restart time: 120000 ms Peer GR recovery time: 0 ms

The output shows that the neighbor's GR state is Ready.

Advertising