Dhcp Snooping Configuration Examples; Basic Dhcp Snooping Configuration Example - H3C MSR 2600 Configuration Manual

Layer 3
Hide thumbs Also See for MSR 2600:
Table of Contents

Advertisement

Task
Display information about the file that
stores DHCP snooping entries.
Clear DHCP snooping entries.
Clear DHCP packet statistics on the
DHCP snooping device (MSR
2600/MSR 3600).
Clear DHCP packet statistics on the
DHCP snooping device (MSR 5600).

DHCP snooping configuration examples

Basic DHCP snooping configuration example

Network requirements
As shown in
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.
<Router> system-view
[Router] dhcp snooping enable
# Configure Ethernet 1/1 as a trusted port.
[Router] interface ethernet 1/1
[Router-Ethernet1/1] dhcp snooping trust
[Router-Ethernet1/1] quit
# Enable DHCP snooping to record clients' IP-MAC bindings on Ethernet 1/2.
[Router] interface ethernet 1/2
Figure
27, configure the port Ethernet 1/1 connected to the DHCP server as a trusted port
Command
display dhcp snooping binding database
reset dhcp snooping binding { all | ip
ip-address [ vlan vlan-id ] }
reset dhcp snooping packet statistics
reset dhcp snooping packet statistics [ slot
slot-number ]
76
Remarks
Available in any
view.
Available in user
view.
Available in user
view.
Available in user
view.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents