H3C Technologies H3C S7500E Series Switches User Manual

Page 125

Advertising
background image

8-54

# Create VLAN 1 through VLAN 200.

<DeviceB> system-view

[DeviceB] vlan 1 to 200

# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as trunk ports and assign them to VLANs

1 through 200; enable flush message receiving on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2

and configure VLAN 10 and VLAN 101 as the receive control VLANs.

[DeviceB] interface gigabitethernet 2/0/1

[DeviceB-GigabitEthernet2/0/1] port link-type trunk

[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan 1 to 200

[DeviceB-GigabitEthernet2/0/1] smart-link flush enable control-vlan 10 101

[DeviceB-GigabitEthernet2/0/1] quit

[DeviceB] interface gigabitethernet 2/0/2

[DeviceB-GigabitEthernet2/0/2] port link-type trunk

[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan 1 to 200

[DeviceB-GigabitEthernet2/0/2] smart-link flush enable control-vlan 10 101

[DeviceB-GigabitEthernet2/0/2] quit

3) Configuration on Device D

# Create VLAN 1 through VLAN 200.

<DeviceD> system-view

[DeviceD] vlan 1 to 200

# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as trunk ports and assign them to VLANs

1 through 200; enable flush message receiving on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2

and configure VLAN 10 and VLAN 101 as the receive control VLANs.

[DeviceD] interface gigabitethernet 2/0/1

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

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

[DeviceD-GigabitEthernet2/0/1] smart-link flush enable control-vlan 10 101

[DeviceD-GigabitEthernet2/0/1] quit

[DeviceD] interface gigabitethernet 2/0/2

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

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

[DeviceD-GigabitEthernet2/0/2] smart-link flush enable control-vlan 10 101

[DeviceD-GigabitEthernet2/0/2] quit

4) Configuration on Device A

# Create VLAN 1 through VLAN 200.

<DeviceA> system-view

[DeviceA] vlan 1 to 200

# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as trunk ports and assign them to VLANs

1 through 200; enable flush message receiving on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2

and configure VLAN 10 and VLAN 101 as the receive control VLANs.

[DeviceA] interface gigabitethernet 2/0/1

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

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

[DeviceA-GigabitEthernet2/0/1] smart-link flush enable control-vlan 10 101

[DeviceA-GigabitEthernet2/0/1] quit

[DeviceA] interface gigabitethernet 2/0/2

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

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

Advertising
This manual is related to the following products: