beautypg.com

4 configuring vlan classification, 1 overview, 2 configuring vlan-class – CANOGA PERKINS 9175 Configuration Guide User Manual

Page 24

background image

CanogaOS Configuration Guide

4-1

4 Configuring VLAN CLASSIFICATION

4.1 Overview

VLAN classification is used to define specific rules for directing packets to selected
VLANs based on protocol or subnet criteria. Sets of rules can be grouped (one group per
interface).
VLAN classification rule has 3 types: mac based, ip based and protocol based. MAC
based vlan class rule will classify the packets to specified VLAN according to incoming
packets source MAC address; IP based vlan class rule will classify the packets
according to incoming packets source IP address; And protocol based vlan class rule will
classify the pactest according to incoming packets layer3 type. The following layer3 type
can be supported: ARP, IP(v4), IPv4 or IPv6, MPLS, Mcast MPLS, PPPoE, RARP.
Different types of vlan class rules can be added to same vlan class group. VLAN class
group can be applied on switchport. Only one type of vlan class rule can take effect on
one switchport.

4.2 Configuring VLAN-CLASS

In this configuration example, three VLAN classifier rules are created:
Rule 1 is mac based rule, it will classify the packets with MACSA 2222.2222.2222 to
VLAN 5;
Rule 2 is ip based rule, it will classify the packets sourced from subnet 1.1.1.1/24 to vlan
5;
Rule 3 is protocol based rule, it will classify all ipv6 packets to vlan 5.
Add rule 1, rule2, rule3 to goupe 1. Then apply group 1 to 3 interfaces: eth-0-1, eth-0-2,
eth-0-3. These 3 interfaces have different vlan classification type. Eth-0-1 is configured
to ip based vlan class, this means only ip rules applied on this port can take effect on this
interface. Eth-0-2 is configured to mac based vlan class, this means only mac rules can
take effect on this interface. Eth-0-3 is configured to protocol based vlan class, this
means only protocol based rules can take effect on this interface.

Figure 4-1: VLAN Class


VLANCLASS details