R3303-HP HSR6800 Routers High Availability Configuration Guide

135
[RouterC] interface gigabitethernet 3/0/1
[RouterC-GigabitEthernet3/0/1] port smart-link group 1 track cfd cc
[RouterC-GigabitEthernet3/0/1] undo shutdown
[RouterC-GigabitEthernet3/0/1] quit
# Configure the collaboration between the primary port GigabitEthernet 3/0/2 of smart link
group 2 and the CC function of CFD, and bring up the port.
[RouterC] interface gigabitethernet 3/0/2
[RouterC-GigabitEthernet3/0/2] port smart-link group 2 track cfd cc
[RouterC-GigabitEthernet3/0/2] undo shutdown
[RouterC-GigabitEthernet3/0/2] quit
4. Configure Router D:
# Create VLAN 1 through VLAN 200.
<RouterD> system-view
[RouterD] vlan 1 to 200
# Configure GigabitEthernet 3/0/1 as a trunk port and assign it to VLANs 1 through 200. Enable
flush message receiving and configure VLAN 10 and VLAN 110 as the receive control VLANs on
GigabitEthernet 3/0/1.
[RouterD] interface gigabitethernet 3/0/1
[RouterD-GigabitEthernet3/0/1] port link-type trunk
[RouterD-GigabitEthernet3/0/1] port trunk permit vlan 1 to 200
[RouterD-GigabitEthernet3/0/1] smart-link flush enable control-vlan 10 110
[RouterD-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2 as a trunk port and assign it to VLANs 1 through 200. Disable
the spanning tree feature and enable flush message receiving on it. Configure VLAN 10 and VLAN
110 as the receive control VLANs.
[RouterD] interface gigabitethernet 3/0/2
[RouterD-GigabitEthernet3/0/2] port link-type trunk
[RouterD-GigabitEthernet3/0/2] port trunk permit vlan 1 to 200
[RouterD-GigabitEthernet3/0/2] undo stp enable
[RouterD-GigabitEthernet3/0/2] smart-link flush enable control-vlan 10 110
[RouterD-GigabitEthernet3/0/2] quit
5. Verify the configuration:
Suppose the optical fiber between Router A and Router B fails. You can use the display smart-link
group command to display the smart link group configuration on a device.
# Display the smart link group configuration on Router C.
[RouterC] display smart-link group all
Smart link group 1 information:
Device ID: 000f-e23d-5af0
Preemption mode: ROLE
Preemption delay: 1(s)
Control VLAN: 10
Protected VLAN: Reference Instance 1
Member Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GigabitEthernet3/0/1 MASTER DOWN 5 16:37:20 2010/02/21
GigabitEthernet3/0/2 SLAVE ACTVIE 3 17:45:20 2010/02/21