xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
376
31-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> | <ipv6addr>]
Parameters
<name 255>
- Enter the hostname used here. This name can be up to 255 characters long.
<ipaddr>
- Enter the host IPv4 address used here.
<ipv6addr>
- Enter the host IPv6 address used here.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To create static host name “www.example.com”:
DGS-3120-24TC:admin# create host_name www.example.com 10.10.10.10
Command: create host_name www.example.com 10.10.10.10
Success.
DGS-3120-24TC:admin#
31-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
- Specify that all the hostnames will be deleted.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...