Show Commands
show ip dhcp relay address
To display DHCP server addresses configured on the device, use the show ip dhcp relay address command.
show ip dhcp relay address [interface {ethernet list| port-channel list}]
show ip dhcp relay address [interface interface-list]
Syntax Description
interface
ethernet
list
port-channel
Command Default
None
Command Modes
Any command mode
Command History
Release
5.0(2)
4.2(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to display all the DHCP relay addresses configured on a device:
switch# show ip dhcp relay address
Interface
-------------
Ethernet1/2
Modification
Support was added for the interface keyword and for VRF awareness.
This command was introduced.
Relay Address
VRF Name
-------------
--------
10.1.1.1
(Optional) Restricts the output to a DHCP addresses
configured on range or set of Ethernet or port-channel
interfaces and subinterfaces.
(Optional) Restricts the output to a DHCP addresses
configured on range or set of Ethernet interfaces and
subinterfaces.
Single interface, range of interfaces, or
comma-separated interfaces and ranges (see the
"Examples" section).
(Optional) Restricts the output to a DHCP addresses
configured on range or set of port-channel interfaces
and subinterfaces.
Cisco Nexus 7000 Series Security Command Reference
show ip dhcp relay address
795