show ip dhcp relay gateway

Displays IP DHCP Relay gateway addresses.

Syntax

show ip dhcp relay gateway {interface [ ethernet slot/port | port-channel number | Ve number ]}

Parameters

interface
The interface ethernet slot/port number or the Ve number.
ethernet slot/port
Specifies a physical interface.
port-channel number
Specifies a port-channel.
ve ve-number
Specifies a virtual Ethernet interface.

Modes

Privileged EXEC mode

Usage Guidelines

Use this command to display the gateway address configured on the switch or on the interface.

Examples

To display the gateway address configured on the switch:

device# show ip dhcp relay gateway
---------                  -------------                 
Interface                     Gateway Address                 
---------                  -------------                 
Eth 3/5 	                     10.1.1.1          
Ve 100                        100.1.1.1           

To display the gateway address configured on the interface:

device# show ip dhcp relay gateway interface ethernet 3/5
---------                  -------------                 
Interface                     Gateway Address           
---------                  -------------                 
Eth 3/5 	                     10.1.1.1