Operation Manual – MSTP
H3C S5600 Series Ethernet Switches
Chapter 1 MSTP Configuration
1-60
# Enable MSTP.
<Sysname> system-view
[Sysname] stp enable
# Add Ethernet 1/0/1 to VLAN 10.
[Sysname] vlan 10
[Sysname-Vlan10] port Ethernet 1/0/1
3)
Configure Switch C
# Enable MSTP.
<Sysname> system-view
[Sysname] stp enable
# Enable the VLAN-VPN tunnel function.
[Sysname] vlan-vpn tunnel
# Add GigabitEthernet 1/0/1 to VLAN 10.
[Sysname] vlan 10
[Sysname-Vlan10] port GigabitEthernet 1/0/1
[Sysname-Vlan10] quit
# Disable STP on GigabitEthernet 1/0/1 and then enable the VLAN VPN function on it.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port access vlan 10
[Sysname-GigabitEthernet1/0/1] vlan-vpn enable
[Sysname-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet 1/0/2 as a trunk port.
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port link-type trunk
# Add the trunk port to all VLANs.
[Sysname-GigabitEthernet1/0/2] port trunk permit vlan all
4)
Configure Switch D
# Enable MSTP.
<Sysname> system-view
[Sysname] stp enable
# Enable the VLAN-VPN tunnel function.
[Sysname] vlan-vpn tunnel
# Add GigabitEthernet 1/0/2 to VLAN 10.
[Sysname] vlan 10
[Sysname-Vlan10] port GigabitEthernet 1/0/2
# Disable STP on GigabitEthernet 1/0/2 and then enable the VLAN VPN function on it.
[Sysname] interface GigabitEthernet 1/0/2