3com 5500-ei pwr Instrução De Instalação
1-34
Network diagram
Figure 1-11 Network diagram for VLAN mapping configuration
Eth1/0/11
Eth1/0/12
Eth1/0/10
VLAN100
VLAN200
VLAN100
VLAN200
SwitchA
SwitchB
Eth1/0/15
Eth1/0/16
Eth1/0/17
Public Network
VLAN500/600
Configuration procedure
# Create customer VLANs VLAN 100 and VLAN 200 and service VLANs VLAN 500 and
VLAN 600 on Switch A.
<SwitchA> system-view
[SwitchA] vlan 100
[SwitchA-vlan100] quit
[SwitchA] vlan 200
[SwitchA-vlan200] quit
[SwitchA] vlan 500
[SwitchA-vlan500] quit
[SwitchA] vlan 600
[SwitchA-vlan600] quit
# Configure Ethernet 1/0/11 of Switch A as a trunk port and configure its default VLAN as
VLAN 100. Assign Ethernet 1/0/11 to VLAN 100 and VLAN 500. Configure Ethernet 1/0/12
in the same way.
[SwitchA] interface Ethernet 1/0/11
[SwitchA-Ethernet1/0/11] port link-type trunk
[SwitchA-Ethernet1/0/11] port trunk pvid vlan 100
[SwitchA-Ethernet1/0/11] port trunk permit vlan 100 500
[SwitchA-Ethernet1/0/11] quit