[DeviceA] interface gigabitethernet 1/0/2
[DeviceA-GigabitEthernet1/0/2] port link-type trunk
[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceA-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 20
[DeviceA-GigabitEthernet1/0/2] quit
Verify the configuration:
6.
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 Device C.
[DeviceC] display smart-link group 1
Smart link group 1 information:
Device ID: 000f-e23d-5af0
Preemption mode: NONE
Preemption delay: 1(s)
Control VLAN: 10
Protected VLAN: Reference Instance 1
Member
-----------------------------------------------------------------------------
GigabitEthernet1/0/1
GigabitEthernet1/0/2
You can use the display smart-link flush command to display the flush messages received on a
device.
# Display the flush messages received on Device B.
[DeviceB] display smart-link flush
Received flush packets
Receiving interface of the last flush packet
Receiving time of the last flush packet
Device ID of the last flush packet
Control VLAN of the last flush packet
Multiple smart link groups load sharing configuration example
Network requirements
As shown in
associated devices. Traffic of VLANs 1 through 200 on Device C are dually uplinked to Device A by
Device B and Device D.
Implement dual uplink backup and load sharing on Device C: traffic of VLANs 1 through 100 is uplinked
to Device A by Device B; traffic of VLANs 101 through 200 is uplinked to Device A by Device D.
Figure
24, Device C is a smart link device, and Device A, Device B, and Device D are
Role
State
Flush-count Last-flush-time
MASTER
ACTVIE
5
SLAVE
STANDBY
1
101
16:37:20 2010/02/21
17:45:20 2010/02/21
: 5
: GigabitEthernet1/0/3
: 16:25:21 2009/02/21
: 000f-e23d-5af0
: 10