H3C Technologies H3C S12500 Series Switches User Manual
Page 125

114
[SwitchB] interface gigabitethernet 4/0/2
[SwitchB-GigabitEthernet4/0/2] port link-type trunk
[SwitchB-GigabitEthernet4/0/2] port trunk permit vlan 1 to 30
[SwitchB-GigabitEthernet4/0/2] undo stp enable
[SwitchB-GigabitEthernet4/0/2] smart-link flush enable control-vlan 20
[SwitchB-GigabitEthernet4/0/2] quit
# Configure GigabitEthernet 4/0/3 as a trunk port, and assign it to VLANs 1 through 30. Disable
the spanning tree feature and enable flush message receiving on it, and configure VLAN 10 as the
receive control VLAN.
[SwitchB] interface gigabitethernet 4/0/3
[SwitchB-GigabitEthernet4/0/3] port link-type trunk
[SwitchB-GigabitEthernet4/0/3] port trunk permit vlan 1 to 30
[SwitchB-GigabitEthernet4/0/3] undo stp enable
[SwitchB-GigabitEthernet4/0/3] smart-link flush enable control-vlan 10
[SwitchB-GigabitEthernet4/0/3] quit
4.
Configure Switch E:
# Create VLANs 1 through 30.
[SwitchE] vlan 1 to 30
# Configure GigabitEthernet 4/0/1 as a trunk port, and assign it to VLANs 1 through 30. Enable
flush message receiving on it, and configure VLAN 10 and VLAN 20 as the receive control VLANs.
[SwitchE] interface gigabitethernet 4/0/1
[SwitchE-GigabitEthernet4/0/1] port link-type trunk
[SwitchE-GigabitEthernet4/0/1] port trunk permit vlan 1 to 30
[SwitchE-GigabitEthernet4/0/1] smart-link flush enable control-vlan 10 20
[SwitchE-GigabitEthernet4/0/1] quit
# Configure GigabitEthernet 4/0/2 as a trunk port, and assign it to VLANs 1 through 30. Disable
the spanning tree feature and enable flush message receiving on it, and configure VLAN 10 as the
receive control VLAN.
[SwitchE] interface gigabitethernet 4/0/2
[SwitchE-GigabitEthernet4/0/2] port link-type trunk
[SwitchE-GigabitEthernet4/0/2] port trunk permit vlan 1 to 30
[SwitchE-GigabitEthernet4/0/2] undo stp enable
[SwitchE-GigabitEthernet4/0/2] smart-link flush enable control-vlan 10
[SwitchE-GigabitEthernet4/0/2] quit
# Configure GigabitEthernet 4/0/3 as a trunk port, and assign it to VLANs 1 through 30. Disable
the spanning tree feature and enable flush message receiving on it, and configure VLAN 20 as the
receive control VLAN.
[SwitchE] interface gigabitethernet 4/0/3
[SwitchE-GigabitEthernet4/0/3] port link-type trunk
[SwitchE-GigabitEthernet4/0/3] port trunk permit vlan 1 to 30
[SwitchE-GigabitEthernet4/0/3] undo stp enable
[SwitchE-GigabitEthernet4/0/3] smart-link flush enable control-vlan 20
[SwitchE-GigabitEthernet4/0/3] quit
5.
Configure Switch A:
# Create VLANs 1 through 30.