3com 5500 用户手册

下载
页码 336
82
C
HAPTER
 14: MSTP C
ONFIGURATION
 G
UIDE
[3Com] interface Ethernet1/0/2
[3Com-Ethernet1/0/2] port link-type trunk 
# Add the trunk port Ethernet 1/0/2 to all the VLANs.
[3Com-Ethernet1/0/2] port trunk permit vlan all 
Configuration on Switch D
# Enable MSTP.
<3Com> system-view
[3Com] stp enable 
# Enable VLAN-VPN tunneling.
[3Com] vlan-vpn tunnel 
# Add Ethernet 1/0/2 to VLAN 10.
[3Com] vlan 10
[3Com-Vlan10] port Ethernet1/0/2 
# Enable VLAN VPN.
[3Com] interface Ethernet1/0/2
[3Com-Ethernet1/0/2] vlan-vpn enable
[3Com-Ethernet1/0/2] quit 
# Configure Ethernet 1/0/1 as a trunk port.
[3Com] interface Ethernet1/0/1
[3Com-Ethernet1/0/1] port link-type trunk 
# Add the trunk port Ethernet 1/0/1 to all the VLANs.
[3Com-Ethernet1/0/1] port trunk permit vlan all 
Complete Configuration
Configuration on Switch A
#
stp enable
#
interface Ethernet1/0/1
port access vlan 10
Configuration on Switch B
#
stp enable
#
interface Ethernet1/0/1
port access vlan 10
Configuration on Switch C