3com 4210 PWR 9-Port 3CR17341-91-ME User Manual

Product codes
3CR17341-91-ME
Page of 567
80
C
HAPTER
 5: VLAN C
ONFIGURATION
Configuration procedure
Configure Switch A.
# Create VLAN 101, specify its descriptive string as "DMZ", and add Ethernet1/0/1 
to VLAN 101.
<SwitchA> system-view
 
[SwitchA] vlan 101
 
[SwitchA-vlan101] description DMZ
 
[SwitchA-vlan101] port Ethernet 1/0/1
 
[SwitchA-vlan101] quit 
# Create VLAN 201, and add Ethernet1/0/2 to VLAN 201.
[SwitchA] vlan 201
 
[SwitchA-vlan201] port Ethernet 1/0/2
 
[SwitchA-vlan201] quit 
Configure Switch B.
# Create VLAN 101, specify its descriptive string as "DMZ", and add 
Ethernet1/0/11 to VLAN 101.
<SwitchB> system-view
 
[SwitchB] vlan 101
 
[SwitchB-vlan101] description DMZ
 
[SwitchB-vlan101] port Ethernet 1/0/11
 
[SwitchB-vlan101] quit 
# Create VLAN 201, and add Ethernet1/0/12 to VLAN 201.
[SwitchB] vlan 201
 
[SwitchB-vlan201] port Ethernet 1/0/12
 
[SwitchB-vlan201] quit 
Configure the link between Switch A and Switch B.
Because the link between Switch A and Switch B need to transmit data of both 
VLAN 101 and VLAN 102, you can configure the ports at the end of the link as 
trunk ports and permit packets of the two VLANs to pass through.
# Configure Ethernet1/0/3 of Switch A.
[SwitchA] interface Ethernet 1/0/3
 
[SwitchA-Ethernet1/0/3] port link-type trunk
 
[SwitchA-Ethernet1/0/3] port trunk permit vlan 101
 
[SwitchA-Ethernet1/0/3] port trunk permit vlan 201 
# Configure Ethernet1/0/10 of Switch B.
[SwitchB] interface Ethernet 1/0/10
 
[SwitchB-Ethernet1/0/10] port link-type trunk
 
[SwitchB-Ethernet1/0/10] port trunk permit vlan 101
 
[SwitchB-Ethernet1/0/10] port trunk permit vlan 201