
T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
51
Syntax
switchport dot1q-tunnel mapping
c-vlan
sp-vlan
[
descript
]
no switchport dot1q-tunnel mapping
c-vlan
Parameter
c-vlan
—— Customer VLAN ID, ranging from 1 to 4094.
sp-vlan
—— Service Provider VLAN ID, ranging from 1 to 4094.
descript
—— Give a description to the VLAN Mapping entry, which contains 15
characters at most.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Add a VLAN Mapping entry on the Gigabit Ethernet port 1/0/3 with the Customer
VLAN as VLAN 2 and the Service Provider VLAN as VLAN 3:
T2700G-28TQ(config)#interface gigabitEthernet
1/0/3
T2700G-28TQ(config-if)#switchport dot1q-tunnel mapping
2 3
switchport dot1q-tunnel mode
Description
The
switchport dot1q-tunnel mode
command is used to configure the VPN
port’s mode. To close this VPN port, please use the
no switchport
dot1q-tunnel mode
command. By default, no port has been configured as the
VPN port. The VPN port mode uni and nni cannot switch to each other directly,
so please close the VPN port and switch to the other mode if needed.
Syntax
switchport dot1q-tunnel mode
{ uni/nni }
no switchport dot1q-tunnel mode
Parameter
uni
——The port connected to the clients.
nni
——The port connected to the ISP.