beautypg.com

Dhcp snooping configuration examples, Network requirements, Network diagram – H3C Technologies H3C S3600 Series Switches User Manual

Page 694

background image

4-11

Displaying and Maintaining DHCP Snooping Configuration

To do…

Use the command…

Remarks

Display the user IP-to-MAC
address mapping entries
recorded by the DHCP
snooping function

display dhcp-snooping [ unit
unit-id ]

Display the (enabled/disabled)
state of the DHCP snooping
function and the trusted ports

display dhcp-snooping trust

Display the IP static binding
table

display ip source static
binding
[ vlan vlan-id |
interface
interface-type
interface-number
]

Available in any view

Remove DHCP snooping
entries

reset dhcp-snooping
[ ip-address ]

Available in user view

DHCP Snooping Configuration Examples

DHCP-Snooping Option 82 Support Configuration Example

Network requirements

As shown in

Figure 4-6

, Ethernet 1/0/5 of the switch is connected to the DHCP server, and Ethernet

1/0/1, Ethernet 1/0/2, and Ethernet 1/0/3 are respectively connected to Client A, Client B, and Client C.

z

Enable DHCP snooping on the switch.

z

Specify Ethernet 1/0/5 on the switch as a trusted port for DHCP snooping.

z

Enable DHCP-snooping Option 82 support on the switch and set the remote ID field in Option 82 to

the system name of the switch. Set the circuit ID sub-option to abcd in DHCP packets from VLAN 1

on Ethernet 1/0/3.

Network diagram

Figure 4-6 Network diagram for DHCP-snooping Option 82 support configuration

This manual is related to the following products: