Configuring Basic Dhcp Snooping; Configuring Option 82 - HP FlexNetwork MSR2003 Configuration Manual

Flexnetwork msr router series
Hide thumbs Also See for FlexNetwork MSR2003:
Table of Contents

Advertisement

Configuring basic DHCP snooping

Follow these guidelines when you configure basic DHCP snooping:
Specify the ports connected to authorized DHCP servers as trusted ports to make sure that
DHCP clients can obtain valid IP addresses. The trusted ports and the ports connected to
DHCP clients must be in the same VLAN.
You can specify Layer 2 Ethernet interfaces and Layer 2 aggregate interfaces as trusted ports.
For more information about aggregate interfaces, see Layer 2—LAN Switching Configuration
Guide.
The DHCP snooping configuration on a Layer 2 Ethernet interface that has been added to an
aggregation group does not take effect unless the interface leaves the aggregation group.
DHCP snooping can work with QinQ to record VLAN tags for DHCP packets received from
clients. For more information about QinQ, see Layer 2—LAN Switching Configuration Guide.
To configure basic DHCP snooping:
Step
1.
Enter system view.
2.
Enable DHCP snooping.
3.
Enter interface view.
4.
Specify the port as a trusted
port.
5.
Return to system view.
6.
Enter interface view.
7.
(Optional.) Enable recording
of DHCP snooping entries.

Configuring Option 82

Follow these guidelines when you configure Option 82:
The Option 82 configuration on a Layer 2 Ethernet interface that has been added to an
aggregation group does not take effect unless the interface leaves the aggregation group.
To support Option 82, you must configure Option 82 on both the DHCP server and the DHCP
snooping device. For information about configuring Option 82 on the DHCP server, see
"Enabling handling of Option
If the handling strategy is replace, configure a padding mode and padding format for Option 82.
If the handling strategy is keep or drop, you do not need to configure any padding mode or
padding format for Option 82. The settings do not take effect even if you configure them.
If Option 82 contains the device name, the device name must contain no spaces. Otherwise,
DHCP snooping drops the message. You can use the sysname command to specify the device
name. For more information about this command, see Fundamentals Command Reference.
DHCP snooping uses "outer VLAN tag.inner VLAN tag" to fill the VLAN ID field of sub-option 1
in verbose padding format if either of the following conditions exists:
DHCP snooping and QinQ work together.
Command
system-view
dhcp snooping enable
interface interface-type
interface-number
dhcp snooping trust
quit
interface interface-type
interface-number
dhcp snooping binding
record
82."
86
Remarks
N/A
By default, DHCP snooping is
disabled.
This interface must connect to the
DHCP server.
By default, all ports are untrusted
ports after DHCP snooping is
enabled.
N/A
This interface must connect to the
DHCP client.
By default, after DHCP snooping is
enabled, recording of DHCP
snooping entries is disabled.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents