10 vlan classifier group – CANOGA PERKINS 9175 Command Reference User Manual

Page 96

Advertising
background image

CanogaOS Command Reference

6-6

This example shows how to apply vlan classifier group 1 to the interface:

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

This example shows how to remove the vlan classifier group 1 from the interface:

Switch(config-if)# no vlan classifier activate

Related Commands

vlan classifier group

vlan classifier rule

6.10 vlan classifier group

Use this command to add or delete rule to vlan classifier group.

To remove the group, use the no form of this command.

Command Syntax

vlan classifier group group {add|delete} rule rule

group: <0-31> the id of vlan classifier group

{add|delete}: add or delete rule to vlan classifier group

rule: the id of rule

Command Mode

Global configuration

Usage

To create the rule, reference to vlan classifier rule command.

To apply the vlan classifier group to an interface, reference to vlan classifier activate command.

When add a rule to the group by this command, the rule will be active even if the group has been apply

to an interface already.

When delete a rule from the group by this command, the rule on this interface will be inactive even if the

group is still apply to that interface.

The vlan classifier group will be deleted when the last rule on this group is deleted.

Examples

This example shows how to add rule1 to vlan classifier group 1:

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

This example shows how to delete rule2 to vlan classifier group 1:

Switch(config)# vlan classifier group 1 delete rule 1

Related Commands

vlan classifier activate

vlan classifier rule

Advertising