User Manual

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
302
DGS-3420-28SC:admin# delete host_name www.example.com
Command: delete host_name www.example.com
Success.
DGS-3420-28SC:admin#
26-7 show host_name
Description
This command is used to display the current host name.
Format
show host_name {static | dynamic}
Parameters
static(Optional) Specifies to display the static host name entries.
dynamic(Optional) Specifies to display the dynamic host name entries.
Restrictions
None.
Example
To display the static and dynamic host name entries:
DGS-3420-28SC:admin# show host_name
Command: show host_name
Static Host Name Table
Host Name IP Address
------------------------------ ---------------
www.example.com 10.10.10.10
www.exampla.com 20.20.20.20
Total Static Entries: 2
Dynamic Host Name Table
Host Name IP Address TTL
------------------------------ --------------- --------
www.examplc.com 30.30.30.30 60 minutes
www.exampld.com 40.40.40.40 10 minutes
Total Dynamic Entries: 2
DGS-3420-28SC:admin#