CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 82

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 82 of 350

DUT1(config-if)#

switchport mode dot1q-tunnel

Configure this interface to dot1q-tunnel port. By default,
dot1q-tunnel port’s type is basic.

DUT1(config-if)# switchport dot1q-tunnel type
selective

Configure dot1q-tunnel port type to selective.

DUT1(config-if)#exit

Exit the Interface mode and 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

Advertising