H3C Technologies H3C S10500 Series Switches User Manual

Page 120

Advertising
background image

111

[DeviceB-GigabitEthernet1/0/2] quit

3.

Configure Device D.

# Create VLAN 1 through VLAN 200.

<DeviceD> system-view

[DeviceD] vlan 1 to 200

# Configure GigabitEthernet 1/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 1/0/1.

[DeviceD] interface gigabitethernet 1/0/1

[DeviceD-GigabitEthernet1/0/1] port link-type trunk

[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200

[DeviceD-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 110

[DeviceD-GigabitEthernet1/0/1] quit

# Configure 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 on it, and configure VLAN 10 and VLAN 110

as the receive control VLANs.

[DeviceD] interface gigabitethernet 1/0/2

[DeviceD-GigabitEthernet1/0/2] port link-type trunk

[DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200

[DeviceD-GigabitEthernet1/0/2] undo stp enable

[DeviceD-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 110

[DeviceD-GigabitEthernet1/0/2] quit

4.

Configure Device A.

# Create VLAN 1 through VLAN 200.

<DeviceA> system-view

[DeviceA] vlan 1 to 200

# Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 as trunk ports and assign them to
VLANs 1 through 200. Enable flush message receiving and configure VLAN 10 and VLAN 110 as the

receive control VLANs on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] port link-type trunk

[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200

[DeviceA-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 110

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 1/0/2

[DeviceA-GigabitEthernet1/0/2] port link-type trunk

[DeviceA-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200

[DeviceA-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 110

[DeviceA-GigabitEthernet1/0/2] quit

5.

Verify the configuration.

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 all

Smart link group 1 information:

Device ID: 000f-e23d-5af0

Advertising