278
C
30: MSTP C
HAPTER
ONFIGURATION
<SW7750> system-view
[SW7750] stp enable
# Add port Ethernet1/0/1 to VLAN 10.
[SW7750] vlan 10
[SW7750-Vlan10] port Ethernet 1/0/1
3 Configure Switch C.
# Enable MSTP.
<SW7750> system-view
[SW7750] stp enable
# Enable the BPDU Tunnel function.
[SW7750] vlan-vpn tunnel
# Add port Ethernet1/0/1 to VLAN 10.
[SW7750] vlan 10
[SW7750-Vlan10] port Ethernet 1/0/1
[SW7750-Vlan10] quit
# Disable STP on port Ethernet1/0/1 and then enable the VLAN-VPN function on it.
[SW7750] interface Ethernet 1/0/1
[SW7750-Ethernet1/0/1] port access vlan 10
[SW7750-Ethernet1/0/1] stp disable
[SW7750-Ethernet1/0/1] vlan-vpn enable
[SW7750-Ethernet1/0/1] quit
# Configure port Ethernet1/0/2 as a trunk port.
[SW7750] interface Ethernet 1/0/2
[SW7750-Ethernet1/0/2] port link-type trunk
# Add the trunk port to all VLANs.
[SW7750-Ethernet1/0/2] port trunk permit vlan all
Configure Switch D.
# Enable MSTP.
<SW7750> system-view
[SW7750] stp enable
# Enable the BPDU Tunnel function.
[SW7750] vlan-vpn tunnel
# Add port Ethernet1/0/2 to VLAN 10.
[SW7750] vlan 10
[SW7750-Vlan10] port Ethernet 1/0/2