Syntax
vlan classification
Example
AG/configure# vlan classification
rule ipv4
Use this command to create an IPv4 subnet-based VLAN classification rule. If the source IP
address matches the IP subnet specified in the VLAN classification rule, the received packets
are mapped to the specified VLAN.
Syntax
[no] rule <id> ipv4 {ipaddr/netmask|ipaddr} vlan <vid>
Table 88: Variable definitions
<id>
{ipaddr/netmask|ipaddr}
[no]
<vid>
Example
AG/configure/vlan classification# rule 2 ip4 20.20.20.10/32 vlan 2
rule protocol
Use this command to create a protocol-based VLAN classification rule. If the protocol type
matches the protocol specified in the VLAN classification rule, the received packets are
mapped to the specified VLAN.
Syntax
[no] rule <id> protocol <protocol> encap <encapsulation>
Command Line Reference
Variable
Value
Specifies the VLAN classifier rule ID. Valid
values are 1 to 12.
Specifies the IPv4 address. Specify either an
IP address, or a subnet. For example,
10.11.12.13/24.
Removes an IPv4 subnet-based VLAN
classification rule.
Specifies the VLAN ID.
rule ipv4
August 2013
109