Dhcp Snooping Configuration Examples; Basic Dhcp Snooping Configuration Example - HP 6125XLG Configuration Manual

Blade switch layer 3 - ip services
Table of Contents

Advertisement

Task
Display Option 82 configuration
information on the DHCP snooping
device.
Display DHCP packet statistics on the
DHCP snooping device.
Display information about trusted
ports.
Display information about the file that
stores DHCP snooping entries.
Clear DHCP snooping entries.
Clear DHCP packet statistics on the
DHCP snooping device.

DHCP snooping configuration examples

Basic DHCP snooping configuration example

Network requirements
As shown in
server as a trusted port and configure other ports as untrusted ports. Enable DHCP snooping to record
clients' IP-MAC bindings by reading DHCP-ACK messages received from the trusted port and
DHCP-REQUEST messages.
Figure 28 Network diagram
XGE1/1/5
XGE1/1/6
DHCP client
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
# Configure Ten-GigabitEthernet 1/1/5 as a trusted port.
[SwitchB] interface Ten-GigabitEthernet 1/1/5
Figure
28, configure the port Ten-GigabitEthernet 1/1/5 connected to the authorized DHCP
Switch A
DHCP server
Switch B
DHCP snooping
XGE1/1/7
Unauthorized
DHCP server
Command
display dhcp snooping information { all |
interface interface-type interface-number }
display dhcp snooping packet statistics
[ slot slot-number ]
display dhcp snooping trust
display dhcp snooping binding database
reset dhcp snooping binding { all | ip
ip-address [ vlan vlan-id ] }
reset dhcp snooping packet statistics [ slot
slot-number ]
71
Remarks
Available in any view.
Available in any view.
Available in any view.
Available in any view.
Available in user
view.
Available in user
view.

Advertisement

Table of Contents
loading

Table of Contents