switch(config)# dhcp-relay hop-count-increment
Operating notes
• By default, the DHCP relay agent increases the hop count in each DHCP request by one. You must enter the
no dhcp-relay hop-count-increment
command to disable this function.
• You enter the
no dhcp-relay hop-count-increment
command at the global configuration level. The
command is applied to all interfaces on the routing switch that are configured to forward DHCP requests.
• This DHCP relay enhancement applies only to DHCP requests forwarded to a DHCP server. The server does
not change the hop count included in the DHCP response sent to DHCP clients.
• When you disable or re-enable the DHCP hop count function, no other behavior of the relay agent is affected.
• You can configure the DHCP relay hop count function only from the CLI.
• A new MIB variable, hpDhcpRelayHopCount, is introduced to support SNMP management of the hop count
increment by the DHCP relay agent in a switch.
Verifying the DHCP relay configuration
Viewing the DHCP relay setting
Use the
show config
command (or
show running
for the running-config file) to display the current DHCP
relay setting.
NOTE:
The DHCP relay and hop count increment settings appear in the
show config
command
output only if the non-default values are configured. For more information about the DHCP hop count
increment, see
on page 300.
Displaying startup configuration with DHCP relay and hop count increment disabled
Viewing DHCP helper addresses
This command displays the list of currently configured IP Helper addresses for a specified VLAN on the switch.
Syntax:
show ip helper-address [vlan
vlan-id
]
294
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08