You can use show commands to display information about DHCP relay statistics, relay addresses for a device, and relay addresses for an interface.
device# show ip dhcp relay statistics Address Disc. Offer Req. Ack Nak Decline Inform ------- ----- ----- ---- --- --- ------- ------ 2.3.4.5 300 100 1211 1201 0 0 0 10.0.1.2 300 100 1211 1207 0 0 0 Client Packets: 2701 Server Packets: 2932 Client Packets Dropped: 0 Server Packets Dropped: 0
device# show ip dhcp relay address DHCP Relay Information Option: Enabled --------- ------------- -------- Interface Relay Address VRF Name --------- ------------- -------- eth1/18 105.0.0.10 default-vrf eth1/18 107.0.0.1 default-vrf ve 200 107.0.0.1 default-vrf
device# show ip dhcp relay address interface ethernet 1/18 DHCP Relay Information Option: Enabled DHCP Remote ID (Type:Length:Vlan:Mac): 00:08:0000:000000f8003e --------- ------------- -------- Interface Relay Address VRF Name --------- ------------- -------- eth 1/18 105.0.0.10 default-vrf eth 1/18 107.0.0.1 default-vrf
This example displays addresses configured on interface 1/18.
device# show ip dhcp relay address interface ve 200 DHCP Relay Information Option: Enabled DHCP Remote ID (Type:Length:Vlan:Mac): 00:08:0000:000000f8003d --------- ------------- -------- Interface Relay Address VRF Name --------- ------------- -------- ve 200 107.0.0.1 default-vrf
This example displays addresses configured on VE 200.