99
# Configure Ten-GigabitEthernet 1/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.
[DeviceB] interface ten-gigabitethernet 1/0/3
[DeviceB-Ten-GigabitEthernet1/0/3] port link-type trunk
[DeviceB-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30
[DeviceB-Ten-GigabitEthernet1/0/3] undo stp enable
[DeviceB-Ten-GigabitEthernet1/0/3] smart-link flush enable control-vlan 10
[DeviceB-Ten-GigabitEthernet1/0/3] quit
4. Configure Device E:
# Create VLANs 1 through 30.
<DeviceE> system-view
[DeviceE] vlan 1 to 30
# Configure Ten-GigabitEthernet 1/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.
[DeviceE] interface ten-gigabitethernet 1/0/1
[DeviceE-Ten-GigabitEthernet1/0/1] port link-type trunk
[DeviceE-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceE-Ten-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 20
[DeviceE-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/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.
[DeviceE] interface ten-gigabitethernet 1/0/2
[DeviceE-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceE-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceE-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceE-Ten-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10
[DeviceE-Ten-GigabitEthernet1/0/2] quit
# Configure Ten-GigabitEthernet 1/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.
[DeviceE] interface ten-gigabitethernet 1/0/3
[DeviceE-Ten-GigabitEthernet1/0/3] port link-type trunk
[DeviceE-Ten-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30
[DeviceE-Ten-GigabitEthernet1/0/3] undo stp enable
[DeviceE-Ten-GigabitEthernet1/0/3] smart-link flush enable control-vlan 20
[DeviceE-Ten-GigabitEthernet1/0/3] quit
5. Configure Device A:
# Create VLANs 1 through 30.
<DeviceA> system-view
[DeviceA] vlan 1 to 30
# Configure Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 as trunk ports, assign
them to VLANs 1 through 30, enable flush message receiving on them, and configure VLAN 10
and VLAN 20 as the receive control VLANs.
[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 30