4 tag native vlan configuration – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 69
CanogaOS Configuration Guide
10-4
DUT1#configure terminal
Enter the Configure mode.
DUT1(config)# vlan mapping table vm
Create vlan mapping table vm
DUT1(config-vlan-mapping)# raw-vlan 1
mapped-vlan 10
Add vlan mapping entry to vlan mapping table, this entry will
map raw packet vlan 1 to processed vlan 10. All incoming
packet with vlan id 1 will be appened vlan 10.
DUT1(config-if)#exit Exit
the
Interface
mode and enter the Configure mode.
DUT1(config)#interface eth-0-5
Specify the interface (eth-0-5)to be configured and enter the
Interface mode.
DUT1(config-if)# switchport dot1q-tunnel vlan
mapping table vm
Apply vlan mapping table vm on current port. The vlan
mapping entry in this mapping table will be applied on this
port automatically.
DUT1(config-if)# switchport dot1q-tunnel
native vlan 2
Configure dot1q-tunnel port’s native vlan to 2
DUT1(config-if)# switchport dot1q-tunnel
allowed vlan add 10
Add this port to vlan 10
DUT1(config-if)#end Exit
the
Interface
mode and enter the Configure mode.
DUT1# show interface switchport interface
eth-0-5
Verify the configuration.
DUT1# show vlan mapping table
Verify vlan mapping table configuration
This example shows how to configure a switchport to selective dot1q-tunnel port. You
can use show the configuration on the switchport.
DUT1# show vlan mapping table
table name RawVLAN-MappedVLAN
============= ===============================
vm 1-10
DUT1# show interface switchport interface eth-0-5
Interface name : eth-0-5
Switchport mode : dot1q-tunnel(selective)
VLAN mapping table : vm
Ingress filter : enable
Acceptable frame types : all
Default Vlan : 2
Configured Vlans : 10
10.4 Tag native vlan Configuration
DUT1#configure terminal
Enter the Configure mode.
DUT1(config)# vlan dot1q tag native
Enable tag native vlan