Defining VLAN Rules
Configuring VLAN Rule Definitions
OmniSwitch 6600 Family Network Configuration Guide
April 2006
page 8-15
How to Define a MAC-Port-IP Address Binding Rule
To define a MAC-port-IP address binding rule, enter
vlan
followed by an existing VLAN ID then
binding mac-ip-port
followed by a valid MAC address, IP address, and a
slot/port
designation. For
example, the following command defines a MAC-port-IP binding rule for VLAN 255:
-> vlan 255 binding mac-ip-port 00:00:da:59:0c:12 21.0.0.10 2/3
In this example, frames received on mobile port 2/3 must contain a source MAC address of
00:00:da:59:0c:12 and a source IP address of 21.0.0.10 to qualify for dynamic assignment to VLAN 255.
Use the
no
command to remove a MAC-port-IP binding rule. Note
that it is only necessary to enter the rule’s MAC address parameter value to identify which rule to remove.
-> vlan 255 no binding mac-ip-port 00:00:da:59:0c:12
Note that this binding rule type is also supported on AVLANs. See
Chapter 21, “Configuring Authenti-
for more information.
How to Define a MAC-Port-Protocol Binding Rule
To define a MAC-port-protocol binding rule, enter
vlan
followed by an existing VLAN ID then
binding mac-port-protocol
followed by a valid MAC address, a
slot/port
designation and a protocol
type. For example, the following commands define a MAC-port-protocol binding rule for VLAN 355 and
VLAN 455:
-> vlan 355 binding mac-port-protocol 00:00:da:59:0c:12 3/1 ip-e2
-> vlan 455 binding mac-port-protocol 00:00:20:11:4a:29 4/1 dsapssap 04/04
The first example command specifies that frames received on mobile port 3/1 must contain a source MAC
address of 00:00:da:59:0c:12 and an IP protocol type to qualify for dynamic assignment to VLAN 355.
The second command specifies that frames received on mobile port 4/1 must contain a source MAC
address of 00:00:20:11:4a:29 and a DSAP/SSAP protocol value of 04/04 to qualify for dynamic assign-
ment to VLAN 455.
The following table lists command keywords for specifying a protocol type:
Note that specifying a SNAP protocol type restricts classification of mobile port traffic to the ethertype
value found in the IEEE 802.2 SNAP LLC frame header.
Use the
no
vlan binding mac-port-protocol
command to remove a MAC-port-protocol bind-
ing rule. Note that it is only necessary to enter the rule’s MAC address and protocol parameter values to
identify which rule to remove.
-> vlan 455 no binding mac-port-protocol 00:00:20:11:4a:29 dsapssap 04/04
Note that this binding rule type is also supported on AVLANs. See
Chapter 21, “Configuring Authenti-
for more information.
protocol type keywords
ip-e2
ip-snap
ipx-e2
ipx-novell
ipx-llc
ipx-snap
decnet
appletalk
ethertype
dsapssap
snap