DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
282
DWS-3160-24PC:admin#config dhcp_relay option_60 default mode drop
Command: config dhcp_relay option_60 default mode drop
Success.
DWS-3160-24PC:admin#
24-14
config dhcp_relay option_60 delete
Description
This command is use to delete a DHCP relay Option 60 entry.
Format
config dhcp_relay option_60 delete [string <multiword 255> {relay <ipaddr>} | ipaddress
<ipaddr> | all | default {<ipaddr>}]
Parameters
string
- Delete all the entries whose string is equal to the string of specified if ipaddress is not
specified
<multiword 255>
- Enter the DHCP Option 60 string to be removed here. This value can be
up to 255 characters long.
relay
- (Optional) Delete one entry, whose string and IP address are equal to the string and IP
address specified by the user.
<ipaddr>
- Enter the IP address used for this configuration here.
ipaddress
- Delete all the entry whose ipaddress is equal to the specified ipaddress.
<ipaddr>
- Enter the IP address used for this configuration here.
all
- Delete all the entry. Default relay servers are excluded.
default
- Delete the default relay ipaddress that is specified by the user.
<ipaddr>
- (Optional) Enter the IP address used for this configuration here.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To delete the DHCP relay Option 60 string called ‘abc’:
DWS-3160-24PC:admin# delete dhcp_relay option_60 string "abc" relay 10.90.90.1
Command: delete dhcp_relay option_60 string "abc" relay 10.90.90.1
Success
DWS-3160-24PC:admin#
24-15
show dhcp_relay option_60
Description
This command is use to display the DHCP relay Option 60 entry by the user specified.