DETAILED STEPS
PurposeCommand or Action
Erases configurations in persistent memory. The default action erases
the startup configuration.
write erase [boot | debug]
Example:
switch# write erase
Step 1
The boot option erases the boot variable definitions and the IPv4
configuration on the mgmt0 interface.
Warning: This command will erase the
The debug option erases the debugging configuration.
startup-configuration.
Do you wish to proceed anyway? (y/n) [n]
y
The running configuration file is not affected by this
command.
Note
Clearing Inactive Configurations
You can clear inactive Quality of Service (QoS) and/or access control list (ACL) configurations.
SUMMARY STEPS
1.
(Optional) show running-config type inactive-if-config
2.
clear inactive-config policy
3.
(Optional) show inactive-if-config log
DETAILED STEPS
PurposeCommand or Action
(Optional)
Displays any inactive ACL or QoS configurations.
show running-config type inactive-if-config
Example:
# show running-config ipqos inactive-if-config
Step 1
The values for the type argument are aclmgr and ipqos.
• aclmgr— Displays any inactive configurations for aclmgr.
• ipqos—Displays any inactive configurations for qosmgr.
Clears inactive configurations.
clear inactive-config policy
Step 2
Example:
# clear inactive-config qos
clear qos inactive config
The values for the policy argument are qos and acl.
The following describes the values:
• qos—Clears inactive QoS configurations.
Inactive if config for QoS manager is saved
at/bootflash/qos_inactive_if_config.cfg
• acl— Clears inactive ACL configurations.
for vdc default & for other than default vdc:
/bootflash/vdc_x/qos_inactive_if_config.cfg
(where x is vdc number)
• acl qos—Clears inactive ACL configurations and inactive
QoS configurations.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
OL-30890-01 135
Working with Configuration Files
Clearing Inactive Configurations