Verifying the DHCP Configuration
Verifying the DHCP Configuration
To display DHCP configuration information, perform one of the following tasks:
Command
show ip dhcp relay
show ipv6 dhcp relay [interface interface]
show ip dhcp relay address
show ip dhcp snooping
show running-config dhcp [all]
show running-config interface {ethernet slot/port | mgmt 0 | vlan
vlan-id}
show startup-config dhcp [all]
Displaying IPv6 RA Guard Statistics
To display IPv6 RA guard statistics, perform one of the following tasks:
Command
show ipv6 raguard statistics
The following example shows sample statistics:
switch# show ipv6 raguard statistics
-------------------------------------
Interface
------------- ---------- ------------
Ethernet1/53
Displaying DHCP Snooping Bindings
Use the show ip dhcp snooping binding [ip-address | mac-address | dynamic | static | vlan vlan-id | interface
interface-type interface-number] command to display all entries from the DHCP snooping binding database.
MacAddress
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
364
Rx
Drops
4561102
4561102
IpAddress LeaseSec Type
Purpose
Displays the DHCP relay
configuration.
Displays the DHCPv6 relay global
or interface-level configuration.
Displays all the DHCP server
addresses configured on the device.
Displays general information about
DHCP snooping.
Displays the DHCP configuration
in the running configuration.
Displays the IPv4 or IPv6 address
assigned to the interface when
DHCP client is enabled.
Displays the DHCP configuration
in the startup configuration.
Purpose
Displays IPv6-related RA guard statistics.
VLAN Interface
Configuring DHCP