< Home

display dhcp snooping

Function

The display dhcp snooping command displays information about DHCP snooping on the interface.

Format

display dhcp snooping [ vlan vlan-id ] interface interface-type interface-number

Parameters

Parameter Description Value
vlan vlan-id Specifies the VLAN ID. The value is an integer ranging from 1 to 4094.
interface interface-type interface-number Specifies the type and number of an interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display information about Vlanif 1.

<sysname> display dhcp snooping interface Vlanif 1
 dhcp snooping enable
 dhcp snooping trusted
 dhcp snooping alarm ip enable
 arp total                  0
 ip total                   0
 dhcp-request total         0
 chaddr&src mac total       0
 dhcp-reply total           0

System Response

Table 1 Description of the display dhcp snooping command output

Item

Description

dhcp snooping enable

DHCP snooping on Vlanif 1 is enabled.

dhcp snooping trusted

The status of Vlanif 1 is trusted.

dhcp snooping alarm ip enable

Checking IP packets is enabled on the Vlanif 1.

arp total

Total number of ARP packets discarded on the interface

ip total

Total number of IP packets discarded on the interface

dhcp-request total

Total number of DHCP-Request packets discarded on the interface

chaddr&src mac total

Total number of DHCP-Reqmac packets discarded on the interface

dhcp-reply total

Total number of DHCP-Reply packets discarded on the interface

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >