show ip dhcp relay
Use this command to display DHCP relay status including DHCP server addresses configured on interfaces.
Command Syntax
show ip dhcp relay
Parameters
None
Command Mode
Executive mode
Applicability
This command was introduced before OcNOS version 1.3 and changed in OcNOS version 1.3.8.
Examples
#show ip dhcp relay
DHCP relay service is Enabled.
VRF Name: vrf1
Option 82: Enabled
Remote Id: ocnos-device
Link selection Source-IP: 1.4.5.6
DHCP Servers configured: 9.9.9.9 8.8.8.8
Interface Uplink/Downlink
--------- -------------
ge10 Uplink
ge28 Downlink
VRF Name: default
Option 82: Enabled
Remote Id: OcNOS
Link selection Source-IP: 1.2.3.4
DHCP Servers configured: 1.1.1.1 2.2.2.2
Interface Uplink/Downlink
--------- -------------
ge11 Uplink
ge27 Downlink
Last modified date: 10/19/2023