![TP-Link T2500G-10MPS User Manual Download Page 270](http://html1.mh-extra.com/html/tp-link/t2500g-10mps/t2500g-10mps_user-manual_1145700270.webp)
Configuration Guide
246
Configuring VLAN-VPN
Configuration Example
4.4 Using the CLI
The configurations of Switch 1 and Switch 2 are similar. The following introductions take
Switch 1 as an example.
1) Create VLAN 1050, VLAN 100 and VLAN 200.
Switch_1#configure
Switch_1(config)#vlan 1050
Switch_1(config-vlan)#name SP_VLAN
Switch_1(config-vlan)#exit
Switch_1(config)#vlan 100
Switch_1(config-vlan)#name Client_VLAN100
Switch_1(config-vlan)#exit
Switch_1(config)#vlan 200
Switch_1(config-vlan)#name Client_VLAN200
Switch_1(config-vlan)#exit
2) Set the link type of port 1/0/1 as General, add it to VLAN 1050 as tagged port, modify
PVID as 1050, and set the port as VPN up-link port.
Switch_1(config)#interface gigabitEthernet 1/0/1
Switch_1(config-if)#switchport mode general
Switch_1(config-if)#switchport general allowed vlan 1050 tagged
Switch_1(config-if)#switchport pvid1050
Switch_1(config-if)#switchport dot1q-tunnel mode nni
Switch_1(config-if)#exit
3) Set the link type of port 1/0/2 as general, add it to VLAN 1050 as untagged port, and add
it to VLAN 100 and VLAN 200 as tagged port. Modify PVID of the port as 1050.
Switch_1(config)#interface gigabitEthernet 1/0/2
Switch_1(config-if)#switchport mode general
Switch_1(config-if)#switchport general allowed vlan 1050 untagged
Switch_1(config-if)#switchport general allowed vlan 100,200 tagged
Switch_1(config-if)#switchport pvid 1050
Switch_1(config-if)#exit
4) Enable VLAN-VPN globally, and modify TPID as 9100.
Switch_1(config)#dot1q-tunnel
Summary of Contents for T2500G-10MPS
Page 1: ...User Guide T2500G 10MPS 1910012405 REV1 0 1 April 2018...
Page 24: ...Using the CLI 767 Appendix Default Parameters 773...
Page 145: ...Part 5 Monitoring Traffic CHAPTERS 1 Traffic Monitor 2 Appendix Default Parameters...
Page 172: ...Part 7 Configuring DDM CHAPTERS 1 Overview 2 DDM Configuration 3 Appendix Default Parameters...