103
[DeviceD] vlan 1 to 200
# Configure Ten-GigabitEthernet 1/0/1 as a trunk port, assign it to VLANs 1 through 200, enable
flush message receiving, and configure VLAN 10 and VLAN 110 as the receive control VLANs
on the port.
[DeviceD] interface ten-gigabitethernet 1/0/1
[DeviceD-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceD-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200
[DeviceD-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 110
[DeviceD-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/0/2 as a trunk port and assign it to VLANs 1 through 200,
disable the spanning tree feature and enable flush message receiving, and configure VLAN 10
and VLAN 110 as the receive control VLANs on the port.
[DeviceD] interface ten-gigabitethernet 1/0/2
[DeviceD-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceD-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200
[DeviceD-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceD-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 110
[DeviceD-Ten-GigabitEthernet1/0/2] quit
4. Configure Device A:
# Create VLAN 1 through VLAN 200.
<DeviceA> system-view
[DeviceA] vlan 1 to 200
# Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 as trunk ports, assign
them to VLANs 1 through 200, enable flush message receiving, and configure VLAN 10 and
VLAN 110 as the receive control VLANs on the ports.
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200
[DeviceA-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 110
[DeviceA-Ten-GigabitEthernet1/0/1] quit
[DeviceA] interface ten-gigabitethernet 1/0/2
[DeviceA-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200
[DeviceA-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 110
[DeviceA-Ten-GigabitEthernet1/0/2] quit
Verifying the configuration
Use the display smart-link group command to display the smart link group configuration on a
device.
# Display the smart link group configuration on Device C.
[DeviceC] 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