R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference

98
mdc-admin
Parameters
number: Specifies the maximum number of DHCP snooping entries that an interface can learn. The value
range is 1 to 4294967295.
Examples
# Set the maximum number of DHCP snooping entries for the Layer 2 Ethernet interface
Ten-GigabitEthernet 1/0/1 to learn to 1000.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] dhcp snooping max-learning-num 1000
dhcp snooping rate-limit
Use dhcp snooping rate-limit to configure the maximum rate at which an interface can receive DHCP
packets.
Use undo dhcp snooping rate-limit to remove the rate limit.
Syntax
dhcp snooping rate-limit rate
undo dhcp snooping rate-limit
Default
Incoming DHCP packets on an interface are not rate limited.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Parameters
rate: Specifies the maximum rate for an interface to receive DHCP packets, in Kbps. The value range is
64 to 512.
Usage guidelines
This command takes effect only when DHCP snooping is enabled.
With the rate limit function, the interface discards DHCP packets that exceed the maximum rate.
If you configure this command on a Layer 2 Ethernet interface that is a member port of a Layer 2
aggregate interface, the Layer 2 Ethernet interface uses the DHCP packet maximum rate configured on
the Layer 2 aggregate interface. If the Layer 2 Ethernet interface leaves the aggregation group, it uses its
own DHCP packet maximum rate.
Examples
# Set the maximum rate at which the Layer 2 Ethernet interface Ten-GigabitEthernet 1/0/1 can receive
DHCP packet to 64 Kbps.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 1/0/1