xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
248
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 Administrator, Operator and Power-User level users can issue this command.
Example
To delete the DHCP relay option 60 string called ‘abc’:
DGS-3120-24TC: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
DGS-3120-24TC:admin#
24-14
show dhcp_relay option_60
Description
This command is used to show DHCP relay option 60 entry by the user specified.
Format
show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]}
Parameters
string
- (Optional) Show the entry which’s string equal the string of specified.
<multiword 255>
- Enter the entry's string value here. This value can be up to 255 characters
long.
ipadddress
- (Optional) Show the entry whose IP address equal the specified ipaddress.
<ipaddr>
- Enter the IP address here.
default
- (Optional) Show the defaut behaviour of DHCP relay option 60.
If no parameter is specified then all the DHCP option 60 entries will be displayed.