beautypg.com

3 validation commands – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 26

background image

CanogaOS Configuration Guide

4-3

DUT#configure terminal

Enter configuration mode

port.

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 from VLAN 5.

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

Apply group 1 on this port and set this port’s
vlan class type to protocol-based. Only
protocol-based vlan class rule in group 1 can
take effect on this port.

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

Enter the interface mode.

DUT(config-if)#switchport access vlan 5

Assign PVID5to port eth-0-4

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

Enter the interface mode.

DUT(config-if)#switchport access vlan 6

Assign PVID6 to port eth-0-5

4.3 Validation commands

Verify the VLAN classifier rules

DUT#show vlan classifier rule
VLAN classifier rule 2 IP 1.1.1.1/24 VLAN 5
VLAN classifier rule 1 MAC 2222.2222.2222 VLAN 5
VLAN classifier rule 3 protocol ipv6 VLAN 5


Verify the VLAN classifier group

DUT#show vlan classifier group
VLAN classifier group 1 add rule 1
VLAN classifier group 1 add rule 2
VLAN classifier group 1 add rule 3


Verify the VLAN classifier interface

DUT#show vlan classifier interface group
VLAN classifier group 1 on interface eth-0-2, based MAC
VLAN classifier group 1 on interface eth-0-1, based IP
VLAN classifier group 1 on interface eth-0-3, based protocol