beautypg.com

7 switchport dot1q-tunnel allow vlan, 8 switchport dot1q-tunnel vlan mapping table – CANOGA PERKINS 9175 Command Reference User Manual

Page 152

background image

CanogaOS Command Reference

9-4

Usage

Configure dot1q-tunnel port’s native vlan.

Examples

Configure the eth-0-1 to dot1q-tunnel and configure this port’s native to vlan 10:

Switch (config)# vlan da

Switch (config-vlan)# vlan 100

Switch (config-vlan)# exit

Switch (config)# interface eth-0-23

Switch (config-if)# switchport mode dot1q-tunnel

Switch (config-if)# switchport dot1q-tunnel native vlan 100

Related Commands

show interface switchport

9.7 switchport dot1q-tunnel allow vlan

Use this command to configure dot1q-tunnel allowed vlan.

Command Syntax

switchport dot1q-tunnel allow vlan all

switchport dot1q-tunnel allow vlan none

switchport dot1q-tunnel allow vlan add VLAN_ID

switchport dot1q-tunnel allow vlan remove VLAN_ID

all: allow all vlans exist in system;

none: allow no vlan on this port;

Command Mode

Interface configuration

Usage

Configure dot1q-tunnel port’s allowed vlan. Only selective dot1q-tunnel port can be allowed to use this

command.

Examples

Switch (config-if)# switchport dot1q-tunnel allowed vlan add 100

Related Commands

show vlan

9.8 switchport dot1q-tunnel vlan mapping table

Use this command to apply vlan mapping table on selective dot1q tunnel port.

Command Syntax

switchport dot1q-tunnel vlan mapping table WORD