xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
242
disable dhcp_local_relay
Purpose
Used to disable the DHCP local relay function on the Switch.
Syntax
disable dhcp_local_relay
Description
This command is used to disable the DHCP local relay function on the Switch.
Parameters
None.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To disable the DHCP local relay function:
DES-3528:admin# disable dhcp_local_relay
Command: disable dhcp_local_relay
Success.
DES-3528:admin#
show dhcp_local_relay
Purpose
Used to display the current DHCP local relay configuration.
Syntax
show dhcp_local_relay
Description
This command is used to display the current DHCP local relay configuration.
Parameters
None.
Restrictions
None.
Example usage:
To display the local dhcp relay status:
DES-3528:admin# show dhcp_local_relay
Command: show dhcp_local_relay
DHCP/BOOTP Local Relay Status : Disabled
DHCP/BOOTP Local Relay VID List : 1
DES-3528:admin#
config dhcp_relay vlanid
Purpose
Adds or deletes an IP destination address to the Switch’s DHCP relay table.
Syntax
config dhcp_relay [add | delete] vlanid <vlan_id_list> <ipaddr>
Description
The config dhcp_relay [add | delete] vlanid command adds or deletes an IP address as a
destination to forward (relay) DHCP/BOOTP packets.
If there is an IP interface in the VLAN and it has configured a DHCP server at the interface
level, then the configuration at the interface level has higher priority. In this case, the DHCP
server configured on the VLAN will not be used to forward the DHCP packets.
Parameters
add
- Add a DHCP server to the Switch’s DHCP relay table.
delete
- Delete a DHCP server from the Switch’s DHCP table.
vlanid
- The VID list of the VLAN.
<ipaddr>
- The DHCP/BOOTP server IP address.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To add DHCP/BOOTP server 10.43.21.12 to VLAN 1 to 10: