xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
224
DGS-3450:admin# show name_server
Command: show name_server
Name Server Timeout: 3 seconds
Static Name Server Table:
Server IP Address Priority
---------------------- --------------
20.20.20.20 Secondary
10.1.1.1 Primary
Dynamic Name Server Table:
Server IP Address Priority
---------------------- --------------
10.48.74.122 Primary
DGS-3450:admin#
create host_name
Purpose
Used to create the static host name entry of the switch.
Syntax
create host_name <name 255> <ipaddr>
Description
The create host name command is used to create the static host name entry of the switch. If
the created host name entry exists in the dynamic host name table, the existing dynamic host
name entry will be deleted, and then add the created host name entry is added into the static
host name table and a log for duplicate is recorded.
Parameters
<name 255>
- The host’s host name
<ipaddr>
- The host’s IP address
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create static host name “www.example.com”:
DGS-3450:admin# create host_name www.example.com 10.10.10.10
Command: create host_name www.example.com 10.10.10.10
Success.
DGS-3450:admin#
delete host_name
Purpose
Used to delete the static or dynamic host name entries of the switch.
Syntax
delete host_name [<name 255> | all]
Description
The delete host_name command is used to delete the static or dynamic host name entries of
the switch.
Parameters
<name 255>
- The host’s host name.
all
- All of the static and dynamic host name entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage: