3Com WX3000 # Enable the VLAN-VPN tunnel function, # Add GigabitEthernet 1/0/1 to Vlan

Models: WX3000

1 715
Download 715 pages 21.26 Kb
Page 220
Image 220

[SwitchC] stp enable

# Enable the VLAN-VPN tunnel function.

[SwitchC] vlan-vpn tunnel

# Add GigabitEthernet 1/0/1 to VLAN 10.

[SwitchC] vlan 10

[SwitchC-Vlan10] port GigabitEthernet1/0/1

[SwitchC-Vlan10] quit

# Disable STP on GigabitEthernet 1/0/1 and then enable the VLAN VPN function on it.

[SwitchC] interface GigabitEthernet1/0/1 [SwitchC-GigabitEthernet1/0/1] port access vlan 10

[SwitchC-GigabitEthernet1/0/1] vlan-vpn enable

[SwitchC-GigabitEthernet1/0/1] quit

# Configure GigabitEthernet 1/0/2 as a trunk port.

[SwitchC] interface GigabitEthernet1/0/2 [SwitchC-GigabitEthernet1/0/2] port link-type trunk

# Add the trunk port to all VLANs.

[SwitchC-GigabitEthernet1/0/2] port trunk permit vlan all

4)Configure Switch D

# Enable MSTP.

<SwitchD> system-view

[SwitchD] stp enable

# Enable the VLAN-VPN tunnel function.

[SwitchD] vlan-vpn tunnel

# Add GigabitEthernet 1/0/2 to VLAN 10.

[SwitchD] vlan 10

[SwitchD-Vlan10] port GigabitEthernet1/0/2

# Disable STP on GigabitEthernet 1/0/2 and then enable the VLAN VPN function on it.

[SwitchD] interface GigabitEthernet1/0/2 [SwitchD-GigabitEthernet1/0/2] port access vlan 10

[SwitchD-GigabitEthernet1/0/2] stp disable

[SwitchD-GigabitEthernet1/0/2] quit

# Configure GigabitEthernet 1/0/1 as a trunk port.

[SwitchD] interface GigabitEthernet1/0/1 [SwitchD-GigabitEthernet1/0/1] port link-type trunk

# Add the trunk port to all VLANs.

[SwitchD-GigabitEthernet1/0/1] port trunk permit vlan all

1-50

Page 220
Image 220
3Com WX3000 # Enable the VLAN-VPN tunnel function, # Add GigabitEthernet 1/0/1 to Vlan, # Add the trunk port to all VLANs