beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 68

background image

CanogaOS Configuration Guide

10-3

Two types of 802.1q tunneling are supported: basic 802.1Q tunneling and selective
802.1Q tunneling.

10.2 Basic 802.1Q tunneling Configuration

DUT1#configure terminal

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)#no shutdown

Enable the interface.

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)#end Exit

the

Interface

mode and enter the Configure mode.

DUT1# show interface switchport interface
eth-0-5

Verify the configuration.


This example shows how to configure a switchport to basic dot1q-tunnel port. You can
use show the configuration on the switchport.

DUT# show interface switchport interface eth-0-5
Interface name : eth-0-5
Switchport mode : dot1q-tunnel(basic)
Ingress filter : enable
Acceptable frame types : all
Default Vlan : 1
Configured Vlans : 1

10.3 Selective 802.1Q tunneling Configuration

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)# vlan database

Enter the VLAN configure mode

DUT1(config-vlan)# vlan 2-10

Create VLAN 2-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)#no shutdown

Enable the interface.

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.