xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
377
Example
To delete the static host name entry “www.example.com”:
DGS-3120-24TC:admin# delete host_name www.example.com
Command: delete host_name www.example.com
Success.
DGS-3120-24TC:admin#
31-7
show host_name
Description
This command is used to display the current host name.
Format
show host_name {static | dynamic}
Parameters
static
– (Optional) Specify to display the static host name entries.
dynamic
– (Optional) Specify to display the dynamic host name entries.
Restrictions
None.
Example
To display the static and dynamic host name entries:
DGS-3120-24TC:admin#show host_name
Command: show host_name
Static Host Name Table
Host Name : www.example1.com
IP Address : 20.20.20.20
IPv6 Address : 3000::1
Host Name : www.example2.com
IP Address : 10.10.10.10
IPv6 Address : 1000::1
Host Name : www.example3.com
IP Address : 4.4.4.4
Host Name : www.example4.com
IPv6 Address : 4000::1
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...