1-50[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 all4) Configure Switch D# Enable MSTP. 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[Sysname-GigabitEthernet1/0/2] port access vlan 10[Sysname-GigabitEthernet1/0/2] stp disable[Sysname-GigabitEthernet1/0/2] quit# Configure GigabitEthernet 1/0/1 as a trunk port.[Sysname] interface GigabitEthernet 1/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