4 Configuring protocol-based VLAN classifier rules

Creating a VLAN classifier group and adding rules

VLAN classifier groups (1 through 16) can contain any number of VLAN classifier rules.

To configure a VLAN classifier group and add a VLAN classifier rule, perform the following steps from Privileged EXEC mode.

1.Enter the configure terminal command to access global configuration mode.

2.Create a VLAN classifier group and add a rule.

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

Activating a VLAN classifier group with an interface port

To associate a VLAN classifier group with an interface port, perform the following steps from Privileged EXEC mode.

1.Enter the configure terminal command to access global configuration mode.

2.Enter the interface command to specify the CEE interface type and slot/port number.

Example of selecting the Ten Gigabit Ethernet port number 0/10.

switch(config)#interface tengigabitethernet 0/10

3.Enter the no shutdown command to enable the CEE interface.

4.Enter the vlan classifier command to activate and associate it with a VLAN interface (group 1 and VLAN 2 are used in this example).

switch(conf-if-te-0/10)#vlan classifier activate group 1 vlan 2

NOTE

This example assumes that VLAN 2 was already created.

Clearing VLAN counter statistics

To clear VLAN counter statistics, perform the following steps from Privileged EXEC mode.

1.Enter the clear command to clear the VLAN counter statistics for the specified VLAN. The vlan_ID value can be 1 through 3583. For example, to clear the counter for VLAN 20:

switch#clear counter interface vlan 20

Displaying VLAN information

To display VLAN information, perform the following steps from Privileged EXEC mode.

1.Enter the show interface command to display the configuration and status of the specified interface.

Example

switch#show interface tengigabitethernet 0/10 port-channel 10 switchport

2.Enter the show vlan command to display the specified VLAN information. For example, this syntax displays the status of VLAN 20 for all interfaces, including static and dynamic:

switch#show vlan 20 brief

40

Converged Enhanced Ethernet Administrator’s Guide

 

53-1001761-01

Page 62
Image 62
Brocade Communications Systems 53-1001761-01 manual Creating a Vlan classifier group and adding rules