C
HAPTER
15
| Security Commands
DHCP Relay Commands
– 376 –
DHCP Relay Information Policy : replace
Security/Network/DHCP/Relay>
security network
dhcp relay mode
This command displays or sets DHCP relay operational mode.
SYNTAX
security network dhcp relay mode [enable | disable]
enable - Enables the DHCP relay function.
disable - Disables the DHCP relay function.
DEFAULT SETTING
Disabled
COMMAND USAGE
◆ The switch supports DHCP relay service for attached host devices. If a
subnet does not include a DHCP server, you can relay DHCP client
requests to a DHCP server on another subnet.
◆ When DHCP relay is enabled and the switch sees a DHCP request
broadcast, it inserts its own IP address into the request (so that the
DHCP server knows the subnet of the client), then forwards the packet
to the DHCP server. When the server receives the DHCP request, it
allocates a free IP address for the DHCP client from its defined scope
for the DHCP client's subnet, and sends a DHCP response back to the
switch. The switch then broadcasts the DHCP response to the client.
◆ A DHCP relay server must first be configured (see the security network
dhcp relay server command on page 376) before DHCP relay mode can
be enabled with this command.
EXAMPLE
Security/Network/DHCP/Relay>mode enable
Security/Network/DHCP/Relay>
security network
dhcp relay server
This command displays or sets the IP address of the DHCP relay server.
SYNTAX
security network dhcp relay server [ip-address]
ip-address - IP address of DHCP server to be used by the switch's
DHCP relay agent.
DEFAULT SETTING
None