Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell SmartFabric OS10 User Guide Release 10.5.4

PDF

show ip dhcp-relay

Displays the DHCP relay information corresponding to the client interfaces.

Syntax
show ip dhcp-relay interface [vrf vrf-name] {ethernet slot/port | port-channel port-channel-id | vlan vlan-id | virtual-network vn-id}
Parameters
  • vrf vrf-name—Enter vrf then the name of the VRF.
  • ethernet slot/port—Displays information corresponding to the Ethernet interface that you specify.
  • port-channel port-channel-id—Displays information corresponding to the port channel that you specify. Valid values are from 1 to 999 or 1001 to 2000.
  • vlan vlan-id—Displays information corresponding to the VLAN interface that you specify.
  • virtual-network vn-id—Displays information corresponding to the virtual network that you specify.
Defaults
None
Command Mode
EXEC
Usage Information

This command displays the global-level status of Option-82 and the interface-level Option-82 status.

The show ip dhcp-relay interface command displays the relay information corresponding to the requested interface enabled with the helper address. If you enable the Option-82 configuration, the Option-82 status appears as Enabled(Default). If you disable the Option-82 configuration, the Option-82 status appears as Disabled.

The command displays the following information:

  • Per-interface giaddr field value.
  • Per-interface suboption 5 field value.
  • Per-interface suboption 151 field value.
  • Per-interface suboption 11 field value.
  • Configured list of the DHCP server IP addresses with the reachable VRF name.
  • Per-interface source-interface field value.

show ip dhcp relay interface interface – This command displays the relay information for the requested interface that is enabled with the helper address.

show ip dhcp relay vrf vrf-name – This command displays the relay information for all the interfaces that are enabled with the helper address and associated with the vrf_name.

  • If the Giaddr = 0, it displays an additional message in the GiAddr field None - Relay cannot work without gateway IP address.
  • If the link selection field does not have an interface or anycast gateway IP, the link-selection field shows the value None.
  • If the server_override option is enabled, the server-override field displays Enabled(<anycast gateway IP >).
  • If the server_override option is enabled, and anycast gateway IP is not present , the server-override field displays Enabled(None).
  • If the server_override option is disabled at the Globally or Interface level, the server-override field displays Disabled.
  • If the VSS option is disabled, the VSS field displays Disabled.
  • If the VSS option is enabled Globally without any interface vss-info, the VSS field displays Enabled(None).
  • If the VSS option is enabled Globally with interface vss-info, the VSS field displays Enabled(type <0/1/> value <value>).
  • If source interface is configured with IP address, then the show command displays the source-interface IP address.
  • If source interface is configured without any IP address, then the show command displays that the source-interface IP address is not configured.
  • If source interface is not configured, then the show command displays that the source interface is not configured.
Example (Interface)
OS10# show ip dhcp-relay interface vlan 3033

 Interface                           : Vlan3033
 Gateway Address                     : 3.0.17.1
 Option 82 Status                    : Enabled (Default)
 Link Selection [option-5]           : Enabled (192.168.33.1)
 VSS Info [option-151]               : Enabled (type 0 Red)
 Server ID override [option-11]      : Enabled (192.168.33.254)
 DHCP Helper Address List            :


 Helper-Address       VRF
 --------------------------
 192.172.2.3          Red
Example (source-interface)
OS10(conf)#ip dhcp-relay server-override

OS10(conf)#ip dhcp-relay vss

interface loopback1
no shutdown
ip address 11.1.1.1/32

interface ethernet1/1/1
no shutdown
no switchport
ip address 6.1.1.1/24
flowcontrol receive on
ip dhcp-relay source interface loopback 1
ip helper-address 3.1.1.2
ip helper-address 4.1.1.2
ip dhcp-relay vss-info type 255

interface ethernet1/1/2
no shutdown
no switchport
ip address 2.1.1.1/24
flowcontrol receive on
ip dhcp-relay source interface loopback 1
ip helper-address 3.1.1.2
ip helper-address 4.1.1.2
ip dhcp-relay vss-info type 255

interface vlan 100
no shutdown
no switchport
ip vrf forwarding vrf_red
ip address 100.1.1.1/24
flowcontrol receive on
ip dhcp-relay source interface loopback 1
ip helper-address 7.1.1.2 vrf vrf_red
ip helper-address 8.1.1.2 vrf vrf_red
ip dhcp-relay vss-info type 0 value vrf_red




OS10#show ip dhcp-relay interface Ethernet1/1/1

Interface              : Ethernet1/1/1
Gateway Address                              : 11.1.1.1
Link selection Address [option-5]            : Enabled (6.1.1.1)
VSS Info[option-151]                         : Enabled (type 255)
Server ID override[option-11]                : Enabled (6.1.1.1)
Source-ip : 10.10.1.1 (loopback1)
DHCP Helper Address list                     :

Helper-address         VRF
----------------------------
3.1.1.2               default
4.1.1.2               default

OS10#show ip dhcp-relay interface Vlan 100

Interface              : Vlan 100
Gateway Address                              : 11.1.1.1
Link selection Address [option-5]            : Enabled (100.1.1.1)
VSS Info[option-151]                         : Enabled (type 0 vrf_red)
Server ID override[option-11]                : Enabled (100.1.1.1)
Source-ip : 10.10.1.1 (loopback1)
DHCP Helper Address list                     :

Helper-address         VRF
----------------------------
7.1.1.2               vrf_red
8.1.1.2               vrf_red

OS10#show ip dhcp-relay vrf default

Interface              : Ethernet1/1/1
Gateway Address                              : 11.1.1.1
Link selection Address [option-5]            : Enabled (6.1.1.1)
VSS Info[option-151]                         : Enabled (type 255)
Server ID override[option-11]                : Enabled (6.1.1.1)
Source-ip : 10.10.1.1 (loopback1)
DHCP Helper Address list                     :

Helper-address         VRF
----------------------------
3.1.1.2               default
4.1.1.2               default


Interface              : Ethernet1/1/2
Gateway Address                              : 11.1.1.1
Link selection Address [option-5]            : Enabled (2.1.1.1)
VSS Info[option-151]                         : Enabled (type 255)
Server ID override[option-11]                : Enabled (2.1.1.1)
Source-ip : 10.10.1.1 (loopback1)
DHCP Helper Address list                     :

Helper-address         VRF
----------------------------
3.1.1.2               default
4.1.1.2               default


OS10#show ip dhcp-relay vrf vrf_red

Interface              : Vlan 100
Gateway Address                              : 11.1.1.1
Link selection Address [option-5]            : Enabled (100.1.1.1)
VSS Info[option-151]                         : Enabled (type 0 vrf_red)
Server ID override[option-11]                : Enabled (100.1.1.1)
Source-ip : 10.10.1.1 (loopback1))
DHCP Helper Address list                     :

Helper-address         VRF
----------------------------
7.1.1.2               vrf_red
8.1.1.2               vrf_red
Supported Releases
10.5.2.0 or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\