< Home

display dhcp snooping configuration

Function

The display dhcp snooping configuration command displays the DHCP snooping configuration.

Format

display dhcp snooping configuration [ vlan vlan-id | interface interface-type interface-number | bridge-domain bd-id ]

Only the S5720-HI, S5730-HI, S6720-HI, S6730-H, S6730S-H, S6730-S, S6730S-S, S5732-H, S5731-S, S5731S-S, S5731S-H, S5731-H, S6720-EI, and S6720S-EI support the bridge-domain parameter.

Parameters

Parameter

Description

Value

vlan vlan-id

Displays the DHCP snooping configuration in a specified VLAN.

The value is an integer that ranges from 1 to 4094.

interface interface-type interface-number

Displays the DHCP snooping configuration on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

bridge-domain bd-id

Displays DHCP snooping running information in a specified BD.

The BD ID must already exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After DHCP snooping configuration is complete, run the display dhcp snooping configuration command to view the DHCP snooping configuration. If no VLAN or interface is specified, all the DHCP snooping configurations are displayed. If a VLAN or an interface is specified, only the DHCP snooping configuration in the VLAN or on the interface is displayed.

Example

# Display all the DHCP snooping configurations.

<HUAWEI> display dhcp snooping configuration
#
dhcp snooping enable
#
vlan 3
 dhcp snooping enable
 dhcp snooping check dhcp-giaddr enable
#
interface GigabitEthernet0/0/1
 dhcp snooping enable
#                 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >