• The name starts with a letter, ends with a letter or a digit, and can have letters, hyphens, or digits in between
the first and last characters.
• The maximum size supported for a hostname is 30 characters. If SYSNAME is more than 30 characters, then
DHCP Option 12 will not be included in the packet.
• The minimum number of characters supported for a hostname is one character. If the SYSNAME in the MIB is
null, then DHCP Option 12 will not be included in the packet.
Configuring a BOOTP/DHCP relay gateway
The DHCP relay agent selects the lowest-numbered IP address on the interface to use for DHCP messages. The
DHCP server then uses this IP address when it assigns client addresses. However, this IP address may not be
the same subnet as the one on which the client needs the DHCP service.
This feature provides a way to configure a gateway address for the DHCP relay agent to use for DHCP requests,
rather than the DHCP relay agent automatically assigning the lowest-numbered IP address.
You must be in VLAN context to use this command, for example:
switch# config
switch(config)# vlan 1
switch(vlan-1)#
Syntax:
ip bootp-gateway ip-addr
Allows you to configure an IP address for the DHCP relay agent to use for DHCP requests. The IP address must
have been configured on the interface.
Default: Lowest-numbered IP address
If the IP address has not already been configured on the interface (VLAN), you will see the message shown in the
following example.
Example of trying to configure an IP address that is not on this interface (VLAN)
switch# config
switch(config)# vlan 1
switch(vlan-1)# ip bootp-gateway 10.10.10.1
The IP address 10.10.10.1 is not configured on this VLAN.
Viewing the BOOTP gateway
To display the configured BOOTP gateway for an interface (VLAN) or all interfaces, enter this command. You do
not need to be in VLAN context mode.
Syntax:
show dhcp-relay bootp-gateway [vlan
vid
]
Displays the configured BOOTP gateway for a specified VLAN (interface.) If a specific VLAN ID is not entered, all
VLANs and their configured BOOTP gateways display.
The following example shows an IP address being assigned to a gateway for VLAN 22, and then displayed using
the
show dhcp-relay bootp-gateway
command.
292
Aruba 3810 / 5400R Multicast and Routing Guide for ArubaOS-
Switch 16.08