Command Reference Guide
Device Location, System Utility, and Clear Commands
CLI Command Reference
September 2014 Page 194
HP Moonshot Switch Module CLI Command Reference
clear pass
This command resets all user passwords to the factory defaults without powering off the switch. You are
prompted to confirm that the password reset should proceed.
clear traplog
This command clears the trap log.
clear vlan
This command resets VLAN configuration parameters to the factory defaults. When the VLAN configuration is
reset to the factory defaults, there are some scenarios regarding GVRP and MVRP that happen due to this:
1. Static VLANs are deleted.
2. GVRP is restored to the factory default as a result of handling the VLAN RESTORE NOTIFY event. Since GVRP
is disabled by default, this means that GVRP should be disabled and all of its dynamic VLANs should be
deleted.
3. MVRP is restored to the factory default as a result of handling the VLAN RESTORE NOTIFY event. Since MVRP
is enabled by default, this means that any VLANs already created by MVRP are unaffected.
logout
This command closes the current telnet connection or resets the current serial connection.
Format
clear pass
Mode Privileged EXEC
Format
clear traplog
Mode Privileged EXEC
Format
clear vlan
Mode Privileged EXEC
Note: Save configuration changes before logging out.
Format
logout
Modes •Privileged EXEC
• User EXEC