Chapter 5 CLI – Layer 2
78 P332G-ML User’s Guide
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>]
Clear Commands Summary Table
Following is a Table of the Privileged Level clear commands.
Clear timezone Command
Returns the timezone to its default, Coordinated Universal Time (UTC)
hostname_string none – displays current hostname
string – the string to be used as the hostname
(up to 20 characters).
• 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
vlans
Clears dynamic VLAN entries Page 80
• clear port
static-vlan
Clears a VLAN statically configured on a
port
Page 81
• 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