Networking diagram, Configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual

Page 551

Advertising
background image

4-3

Networking diagram

Figure 4-1 Network diagram for DHCP packet rate limit configuration

Ethernet1/0/2

Client A

Client B

Ethernet1/0/11

DHCP Server

DHCP Snooping

Ethernet1/0/1

Configuration procedure

# Enable DHCP snooping on the switch.

<Switch> system-view

[Switch] dhcp-snooping

# Specify Ethernet1/0/1 as the trusted port.

[Switch] interface Ethernet1/0/1

[Switch-Ethernet1/0/1] dhcp-snooping trust

[Switch-Ethernet1/0/1] quit

# Enable auto recovery.

[Switch] dhcp protective-down recover enable

# Set the port state auto-recovery interval to 30 seconds.

[Switch] dhcp protective-down recover interval 30

# Enter port view.

[Switch] interface Ethernet 1/0/11

# Enable DHCP packet rate limit on Ethernet1/0/11.

[Switch-Ethernet1/0/11] dhcp rate-limit enable

# Set the maximum DHCP packet rate allowed on Ethernet1/0/11 to 100 pps.

[Switch-Ethernet1/0/11] dhcp rate-limit 100

Advertising