beautypg.com

CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 31

background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 31 of 350

DUT(config)#vlan classifier group 1 add rule 1

Creat a group of rules(add rule 1 to group 1)

DUT(config)#vlan classifier group 1 add rule 2

add rule 2 to group 1

DUT(config)#vlan classifier group 1 add rule 3

add rule 3 to group 1

Interface details

“show vlan classifier interface group” command displays all vlan classification on interface.

DUT#configure terminal

Enter configuration mode

DUT(config)#interface eth-0-1

Enter the interface mode.

DUT(config-if)#switchport access vlan 6

Assign PVID6 to port eth-0-1

DUT(config-if)#switchport access allowed vlan add 5

Allowed VLAN 5 to port eth-0-1, for receiving
packets form VLAN 5.

DUT(config-if)#vlan classifier activate 1 based ip

Activate group 1 based ip on interface eth-0-1.
packets matching the group will be switched to
VLAN5.

DUT(config-if)#exit

Exit the interface mode.

DUT(config)#interface eth-0-2

Enter the interface mode.

DUT(config-if)#switchport access vlan 6

Assign PVID6 to port eth-0-2

DUT(config-if)#switchport access allowed vlan add 5

Allowed VLAN 5 to port eth-0-2, for receiving
packets form VLAN 5.

DUT(config-if)#vlan classifier activate 1 based mac

Activate group 1 based mac on interface eth-0-1.
packets matching the group will be switched to
VLAN5.

DUT(config-if)#interface eth-0-3

Enter the interface mode.

DUT(config-if)#switchport access vlan 6

Assign PVID6 to port eth-0-3

DUT(config-if)#switchport access allowed vlan add 5

Allowed VLAN 5 to port eth-0-3, for receiving
packets form VLAN 5.

DUT(config-if)#vlan classifier activate 1 based protocol

Activate group 1 based protocol on interface
eth-0-1. packets matching the group will be
switched to VLAN5.

DUT(config-if)#interface eth-0-4

Enter the interface mode.

DUT(config-if)#switchport access vlan 5

Assign PVID5to port eth-0-3

DUT(config-if)#interface eth-0-5

Enter the interface mode.

DUT(config-if)#switchport access vlan 6

Assign PVID6 to port eth-0-3

4.1.2 Validation commands
1 verify the VLAN classifier rules

DUT#show vlan classifier rule