xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
406
29-5
create host_name
Description
This command is used to create the static host name entry of the Switch.
Format
create host_name <name 255> <ipaddr>
Parameters
<name 255>
- Enter the hostname used here. This name can be up to 255 characters long.
<ipaddr>
- Enter the host IP address used here.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To create static host name “www.example.com”:
DGS-3620-28SC:admin# create host_name www.example.com 10.10.10.10
Command: create host_name www.example.com 10.10.10.10
Success.
DGS-3620-28SC:admin#
29-6
delete host_name
Description
This command is used to delete the static or dynamic host name entries of the Switch.
Format
delete host_name [<name 255> | all]
Parameters
<name 255>
- Enter the hostname used here. This name can be up to 255 characters long.
all
- Specifies that all the hostnames will be deleted.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To delete the static host name e
ntry “www.example.com”: