![](/images/new-backgrounds/1187480/187480191x1.webp)
Chapter 5 | CLI – Layer 2 |
|
|
Hostname Command
Use the hostname command to change the Command Line Interface (CLI) prompt. The current module number always appears at the end of the prompt.
The syntax for this command is:
hostname [<hostname_string>]
hostname_string none – displays current hostname
string – the string to be used as the hostname (up to 20 characters).
Clear Commands Summary Table
Following is a Table of the Privileged Level clear commands.
• clear | timezone | Returns the timezone to its default, UTC | Page 78 |
• clear | ip route | Clear IP routing table entries | Page 79 |
• clear | snmp trap | Clear SNMP trap on the system | Page 79 |
• clear | vlan | Clears VLAN entries | Page 80 |
• clear | dynamic | Clears dynamic VLAN entries | Page 80 |
vlans |
|
|
|
• clear | port | Clears a VLAN statically configured on a | Page 81 |
port |
| ||
• clear | cam | Clears all the CAM entries | Page 81 |
• clear | log | Clears the Log entries of a module | Page 81 |
• clear | port mirror | Cancel port mirroring | Page 81 |
Clear timezone Command
Returns the timezone to its default, Coordinated Universal Time (UTC)
78 |