Vlan Classifier Rule Ipv4 - Allied Telesis SwitchBlade x908 Series Software Reference Manual

Switchblade x908/x900 series alliedware plus operating system software reference for version 5.3.1
Hide thumbs Also See for SwitchBlade x908 Series:
Table of Contents

Advertisement

VLAN Commands

vlan classifier rule ipv4

Use this command to create an IPv4 subnet-based VLAN classifier rule and map it to a specific
VLAN. Use the no version to delete the rule.
Syntax
vlan classifier rule <1-256> ipv4 <ip-address/m>
no vlan classifier rule <1-256>
Parameter
<1-256>
<ip-address/m>
<1-4094>
Global Configuration mode
Mode
If the source IP address matches the IP subnet specified in the VLAN classifier rule, the received
Usage
packets are mapped to the specified VLAN.
Note:
!
vlan database
vlan 10 state enable
!
vlan classifier rule 1 ipv4 192.168.10.0/24 vlan 10
vlan classifier group 1 add rule 1
!
mls qos enable
access-list 4000 send-to-cpu any any
!
class-map 1
match access-group 4000
match eth-format ethii-untagged protocol 0806
!
policy-map 1
class default
class 1
Note:
!
interface port2.0.1
switchport
switchport mode access
vlan classifier activate 1
service-policy input 1
17.20
The subnet VLAN classifier only matches IPv4 packets. It does not match ARP
packets. To ensure ARP traffic is classified into the correct subnet VLAN, you can
use a hardware based policy map that sends ARP packets to the CPU, which will
then process them appropriately. This means that if you use subnet-based VLANs,
you should also configure the following:
The policy map should be applied to each port that uses a subnet based VLAN using
the service-policy input command:
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
Description
VLAN Classifier Rule identifier
The IP address and subnet mask, entered in the form
A.B.C.D/M. Where M is the subnet mask length.
VLAN to which an untagged packet is mapped.
vlan <1-4094>
C613-50007-01 REV B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents