Network requirements – H3C Technologies H3C S12500 Series Switches User Manual
Page 126

115
[SwitchA] vlan 1 to 30
# Configure GigabitEthernet 4/0/1 and GigabitEthernet 4/0/2 as trunk ports that permit VLANs
1 through 30. Enable flush message receiving on them, and configure VLAN 10 and VLAN 20 as
the receive control VLANs.
[SwitchA] interface gigabitethernet 4/0/1
[SwitchA-GigabitEthernet4/0/1] port link-type trunk
[SwitchA-GigabitEthernet4/0/1] port trunk permit vlan 1 to 30
[SwitchA-GigabitEthernet4/0/1] smart-link flush enable control-vlan 10 20
[SwitchA-GigabitEthernet4/0/1] quit
[SwitchA] interface gigabitethernet 4/0/2
[SwitchA-GigabitEthernet4/0/2] port link-type trunk
[SwitchA-GigabitEthernet4/0/2] port trunk permit vlan 1 to 30
[SwitchA-GigabitEthernet4/0/2] smart-link flush enable control-vlan 10 20
[SwitchA-GigabitEthernet4/0/2] quit
6.
Verify the configuration:
You can use the display smart-link group command to display the smart link group configuration
on a switch.
# Display the smart link group configuration on Switch C.
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 Role State Flush-count Last-flush-time
-----------------------------------------------------------------------------
GigabitEthernet4/0/1 MASTER ACTVIE 5 16:37:20 2010/02/21
GigabitEthernet4/0/2 SLAVE STANDBY 1 17:45:20 2010/02/21
You can use the display smart-link flush command to display the flush messages received on a
switch.
# Display the flush messages received on Switch B.
Received flush packets : 5
Receiving interface of the last flush packet : GigabitEthernet4/0/3
Receiving time of the last flush packet : 16:25:21 2009/02/21
Device ID of the last flush packet : 000f-e23d-5af0
Control VLAN of the last flush packet : 1
Multiple Smart Link groups load sharing configuration example
Network requirements
As shown in
, Switch C is a smart link device, and Switch A, Switch B, and Switch D are
associated devices. Traffic of VLANs 1 through 200 on Switch C are dually uplinked to Switch A by
Switch B and Switch D.