Operation Manual – MSTP
H3C S3100 Series Ethernet Switches
Chapter 1 MSTP Configuration
1-61
# 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 GigabitEthernet1/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 GigabitEthernet1/0/2
# Enable the VLAN VPN function on it.
[Sysname] interface GigabitEthernet 1/0/2
[Sysname-GigabitEthernet1/0/2] port access vlan 10
[Sysname-GigabitEthernet1/0/2] vlan-vpn enable
[Sysname-GigabitEthernet1/0/2] quit
# Configure GigabitEthernet 1/0/1 as a trunk port.
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
# Add the trunk port to all VLANs.
[Sysname-GigabitEthernet1/0/1] port trunk permit vlan all