Dhcp Snooping Configuration Examples; Basic Dhcp Snooping Configuration Example - HP 5920 Series Configuration Manual

Hide thumbs Also See for 5920 Series:
Table of Contents

Advertisement

Task
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
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 27 Network diagram
 
Configuration procedure
# Enable DHCP snooping.
<SwitchB> system-view
[SwitchB] dhcp snooping enable
# Configure Ten-GigabitEthernet 1/0/1 as a trusted port.
[SwitchB] interface Ten-GigabitEthernet 1/0/1
[SwitchB-Ten-GigabitEthernet1/0/1] dhcp snooping trust
[SwitchB-Ten-GigabitEthernet1/0/1] quit
# Enable DHCP snooping to record clients' IP-MAC bindings on Ten-GigabitEthernet 1/0/2.
[SwitchB] interface Ten-GigabitEthernet 1/0/2
Figure
27, configure the port Ten-GigabitEthernet 1/0/1 connected to the DHCP server as
Command
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 ]
68
Remarks
Available in any view.
Available in any view.
Available in user
view.
Available in user
view.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900 series

Table of Contents