2-11
View
Any view
Parameters
None
Description
Use the display dhcp-snooping server-guard command to display information about unauthorized
DHCP server detection.
Note that among S3100 series switches, only S3100-SI series switches support this command.
Examples
# Display information about unauthorized DHCP server detection.
<Sysname> display dhcp-snooping server-guard
DHCP-Snooping is enabled.
DHCP-Snooping server guard become effective.
Interface Status Find Time
================================================================
Ethernet1/0/3 Server detected 223
Ethernet1/0/4 No server detected 0
Ethernet1/0/5 Server detected and shutdown 213
Table 2-1 Description on the fields of the display dhcp-snooping server-guard command
Field Description
DHCP-Snooping is enabled The DHCP snooping function is enabled.
DHCP-Snooping server guard
become effective
Unauthorized DHCP server detection is enabled.
Interface The ports enabled with unauthorized DHCP server detection
Status
Port status:
z No server detected: No unauthorized DHCP server is
detected on the port.
z Server detected: An unauthorized DHCP server was
detected on the port, and a trap was sent.
z Server detected and shutdown: An unauthorized DHCP
server was detected on the port. The port has been shut
down administratively, and a trap was sent.
Find Time
The time interval between when the switch started and when
the last unauthorized DHCP server was detected, in seconds.
(If no unauthorized DHCP server is detected, 0 is displayed.)
display dhcp-snooping trust
Syntax
display dhcp-snooping trust