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

Page 122

Advertising
background image

CanogaOS Command Line Reference

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 122 of 855

group-id: <0-31> VLAN classifier group id
{ip|mac|protocol}: based on ip or mac or protocol

Command Mode

Interface configuration

Usage

An interface can only be applied by one vlan classifier group.
One vlan classifier group can apply more than one interface.
This command apply vlan classifier group to interface, and the interface can classify packets to
different vlan according to the rule in vlan classifier group.
To create the rule, reference to vlan classifier rule command.
To create the group, reference to vlan classifier group command.

Examples

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

Advertising