Defining VLAN Rules Configuring VLAN Rule Definitions
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 8-13
Defining DHCP MAC Range Rules
A DHCP MAC range rule is similar to a DHCP MAC address rule, but allows the user to specify a range
of MAC addresses. This is useful when it is necessary to define rules for a large number of sequential
MAC addresses. One DHCP MAC range rule could serve the same purpose as 10 or 20 DHCP MAC
address rules, requiring less work to configure.
DHCP frames that contain a source MAC address that matches the low or high end MAC or that falls
within the range specified by the low and high end MAC trigger dynamic port assignment to the rule’s
VLAN. To define a DHCP MAC range rule, enter vlan followed by an existing VLAN ID then
dhcp mac range followed by valid low and high end MAC addresses. For example, the following
command creates a DHCP MAC range rule for VLAN 1100:
-> vlan 1100 dhcp mac range 00:00:da:00:00:01 00:00:da:00:00:09
Only valid source MAC addresses are allowed for the low and high end boundary MACs. For example,
multicast addresses (e.g., 01:00:00:c5:09:1a) are ignored even if they fall within a specified MAC range
and are not allowed as the low or high end boundary MAC. If an attempt is made to use a multicast
address for one of the boundary MACs, an error message is displayed and the rule is not created.
Use the no form of the vlan dhcp mac range command to remove a DHCP MAC range rule. Note that it
is only necessary to enter the low end MAC address to identify which rule to remove.
-> vlan 1000 no dhcp mac range 00:00:da:00:00:01
Defining DHCP Port Rules
DHCP port rules capture DHCP frames that are received on a mobile port that matches the port specified
in the rule. See “Application Example: DHCP Rules” on page 8-22 for an example of how DHCP port
rules are used in a typical network configuration.
To define a DHCP port rule, enter vlan followed by an existing VLAN ID then dhcp port followed by a
slot/port designation. For example, the following command defines a DHCP port rule for VLAN 255:
-> vlan 255 dhcp port 2/3
To specify multiple ports and/or slots, use a hyphen to specify a range of ports and a space to specify
multiple slots. For example,
-> vlan 255 dhcp port 4/1-5 5/12-20 6/10-15
Use the no form of the vlan dhcp port command to remove a DHCP port rule.
-> vlan 255 no dhcp port 2/10-12 3/1-5 6/1-9