15 switchport access allowed – CANOGA PERKINS 9175 Command Reference User Manual

Page 99

Advertising
background image

CanogaOS Command Reference

6-9

EXEC

Usage

None

Examples

This example shows how to display information about all the vlan classifier rules:

Switch# show vlan classifier rule

This example shows how to display information about the vlan classifier rule1:

Switch# show vlan classifier rule 1

Related Commands

show vlan classifier group

show vlan classifier interface

6.15 switchport access allowed

Use this command to allow or not allow the traffic from the specific vlan to pass the access port.

Command Syntax

switchport access allowed vlan {add

̘remove} vlan

vlan: vlan list connected with ‘-’ and ‘,’, for example, “1-10,15,20,30-40”

add: allow the traffic from the vlan to pass the access port

remove: not allow the traffic from the vlan to pass the access port

Command Mode

Interface configuration

Usage

This command is used for vlan classifier bi-directional communication.

Examples

This example shows how to allow the traffic from the vlan11 to pass the port:

Switch(config-if)# switchport access allowed vlan add 11

This example shows how to refuse the traffic from the vlan12 to pass the port:

Switch(config-if)# switchport access allowed vlan remove 12

Related Commands

switchport trunk allowed

Advertising