Defining Dhcp Mac Range Rules; Defining Dhcp Port Rules - Alcatel-Lucent OmniSwitch 6850-48 Network Configuration Manual

Software release 6
Hide thumbs Also See for OmniSwitch 6850-48:
Table of Contents

Advertisement

Configuring VLAN Rule Definitions
Only one MAC address is specified when using the vlan dhcp mac command to create a DHCP MAC
rule. Therefore, to specify multiple MAC addresses for the same VLAN, create a DHCP MAC rule for
each address. If dealing with a large number of MAC addresses in sequential order, consider using a
DHCP MAC range rule described in the next section.
Use the no form of the
-> vlan 255 no dhcp mac 00:00:da:59:0c:11

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
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-19
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 255 no dhcp port 2/10-12 3/1-5 6/1-9
page 8-12
vlan dhcp mac
command to remove a DHCP MAC address rule.
vlan dhcp mac range
command to remove a DHCP MAC range rule. Note that it
vlan dhcp port
command to remove a DHCP port rule.
OmniSwitch AOS Release 6 Network Configuration Guide
Defining VLAN Rules
for an example of how DHCP port
September 2009

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents