The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco Nexus 1000V commands that begin with the letter W.
To display your current context in the command-line interface (CLI), use the where command.
where [detail]
detail |
(Optional) Displays detailed context information. |
Displays summary context information.
Any
network-admin
|
|
---|---|
4.0(4)SV1(1) |
This command was introduced. |
This command helps you to keep track where you are in the CLI and how you got to that place.
This example shows how to display summary context information:
n1000v(config-if)# where
?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
mode: conf
interface Ethernet2/3
username: admin
vdc: switch
routing-context vrf: default
To erase configurations in persistent memory areas, use the write erase command.
write erase [boot | debug]
boot |
(Optional) Erases only the boot variable and mgmt0 interface configuration. |
debug |
(Optional) Erases only the debug configuration. |
Erases all configuration in persistent memory except for the boot variable, mgmt0 interface, and debug configuration.
Any
network-admin
|
|
---|---|
4.0(4)SV1(1) |
This command was introduced. |
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.
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
|
|
---|---|
copy running-config startup-config |
Copies the running configuration to the startup configuration. |
show running-config |
Displays the startup configuration. |