beautypg.com

Vlan classifier rule – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1399

background image

Network OS Command Reference

1361

53-1003115-01

vlan classifier rule

2

vlan classifier rule

Creates a VLAN classifier rule.

Synopsis

vlan classifier rule rule_id [[mac mac_address] | [proto {hex_addr encap {ethv2 | nosnapllc |
snapllc} | arp encap {ethv2 | nosnapllc | snapllc} | ip encap {ethv2 | nosnapllc | snapllc} |
ipv6 encap {ethv2 | nosnapllc | snapllc}]]

no vlan classifier rule

Operands

rule_id

Specifies the VLAN identification rule. Valid values range from 1
through 2556.

mac

Specifies the Media Access Control (MAC) list.

mac_address

Specifies the MAC address-based VLAN classifier rule used to map to a
specific VLAN.

proto

Specifies the protocol to use for the VLAN classifier rule.

hex_addr

An Ethernet hexadecimal value. Valid values range from 0x0000
through 0xffff

arp

Specifies to use the Address Resolution Protocol.

ip

Specifies to use the Internet Protocol.

ipv6

Specifies to use the Internet Protocol version 6.

encap

Specifies to encapsulate the Ethernet frames sent for the VLAN classifier
rule.

ethv2

Specifies to use the Ethernet version 2 encapsulated frames.

nosnapllc

Specifies to use the Ethernet version 2 non-SNA frames.

snapllc

Specifies to use the Ethernet version 2 with SNA frames.

Defaults

None

Command Modes

Global configuration mode

Description

Use this command to dynamically classify Ethernet packets on an untagged interface into VLANs.

Usage Guidelines

VLAN classifiers are created individually and are managed separately. Up to 256 VLAN classifiers
can be provisioned. One or more VLAN classifiers can be grouped into a classifier group.
This classifier group can further be applied on an interface.

Enter no vlan classifier rule rule_id to delete the specified rule.

Examples

To create an ARP VLAN classifier rule:

switch(config)# vlan classifier rule 2 proto arp encap ethv2

See Also

show vlan