Table Of Contents
W Commands
where
write erase
W Commands
This chapter describes the Cisco Nexus 1000V commands that begin with the letter W.
where
To display your current context in the command-line interface (CLI), use the where command.
where [detail]
Syntax Description
detail
|
(Optional) Displays detailed context information.
|
Defaults
Displays summary context information.
Command Modes
Any
Supported User Roles
network-admin
Command History
Release
|
Modification
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
This command helps you to keep track where you are in the CLI and how you got to that place.
Examples
This example shows how to display summary context information:
?conf; interface Ethernet2/3 admin@switch%default
This example shows how to display detailed context information:
n1000v(config-if)# where detail
?conf; interface Ethernet2/3 admin@switch%default
routing-context vrf: default
write erase
To erase configurations in persistent memory areas, use the write erase command.
write erase [boot | debug]
Syntax Description
boot
|
(Optional) Erases only the boot variable and mgmt0 interface configuration.
|
debug
|
(Optional) Erases only the debug configuration.
|
Defaults
Erases all configuration in persistent memory except for the boot variable, mgmt0 interface, and debug configuration.
Command Modes
Any
Supported User Roles
network-admin
Command History
Release
|
Modification
|
4.0(4)SV1(1)
|
This command was introduced.
|
Usage Guidelines
You can use this command to erase the startup configuration in the persistent memory when information is corrupted or otherwise unusable. Erasing the startup configuration returns the device to its initial state, except for the boot variable, mgmt0 interface, and debug configurations. You have to explicitly erase those configurations with the boot and debug options.
Examples
This example shows how to erase the startup configuration:
n1000v(config)# write erase
Warning: This command will erase the startup-configuration.
Do you wish to proceed anyway? (y/n) [n] y
This example shows how to erase the boot variable and mgmt0 interface configuration in the persistent memory:
n1000v(config)# write erase boot
This example shows how to erase the debug configuration in the persistent memory:
n1000v(config)# write erase debug
Related Commands
Command
|
Description
|
copy running-config startup-config
|
Copies the running configuration to the startup configuration.
|
show running-config
|
Displays the startup configuration.
|