3-9
Examples
# Display all DHCP snooping entries.
<Sysname> display dhcp-snooping
DHCP Snooping is enabled.
The client binding table for all untrusted ports.
Type : D--Dynamic , S--Static
Type IP Address MAC Address Lease VLAN Interface
==== =============== =============== ========== ==== =================
D 10.1.1.1 00e0-fc00-0006 286 1 GigabitEthernet1/0/1
--- 1 dhcp-snooping item(s) found ---
Table 3-1 display dhcp snooping command output description
Field Description
Type
Binding type, which can be:
z D: Dynamic IP-to-MAC binding.
z S: Static IP-to-MAC binding. Currently, static IP-to-MAC bindings
are not supported.
IP Address IP address assigned to the DHCP client
MAC Address MAC address of the DHCP client
Lease Lease period left (in seconds)
VLAN VLAN where the port connecting the DHCP client resides
Interface Port to which the DHCP client is connected
display dhcp-snooping information
Syntax
display dhcp-snooping information { all | interface interface-type interface-number }
View
Any view
Default Level
1: Monitor level
Parameters
all: Displays the Option 82 configuration information of all Layer 2 Ethernet interfaces.
interface interface-type interface-number: Displays the Option 82 configuration information of a
specified interface.
Description
Use the display dhcp-snooping information command to display Option 82 configuration information
on the DHCP snooping device.