Discarding Changes
Procedure
Step 1
Step 2
Discarding Changes
If you discard the changes made to the pending database, the following events occur:
• The effective database contents remain unaffected.
• The pending database is emptied of its contents.
• The fabric lock is released for this feature.
To discard the device alias session, perform this task:
Procedure
Step 1
Step 2
Displaying the Status of a Discard Operation
To display the status of the discard operation, use the show device alias status command.
switch# show device-alias status
Fabric Distribution: Enabled
Database:- Device Aliases 24
Status of the last CFS operation issued from this switch:
==========================================================
Operation: Abort
Status: Success
Fabric Lock Override
You can use locking operations (clear, commit, abort) only when device alias distribution is enabled. If you
have performed a device alias task and have forgotten to release the lock by either committing or discarding
the changes, an administrator can release the lock from any switch in the fabric. If the administrator performs
this task, your changes to the pending database are discarded and the fabric lock is released.
The changes are only available in the volatile directory and may be discarded if the switch is restarted.
To use administrative privileges and release a locked device alias session, use the clear device-alias session
command in EXEC mode.
switch# clear device-alias session
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
572
Command or Action
switch# configuration terminal
switch(config)# device-alias commit
Command or Action
switch# configuration terminal
switch(config)# device-alias abort
Distributing Device Alias Services
Purpose
Enters configuration mode.
Commits the changes made to the currently
active session.
Purpose
Enters configuration mode.
Discards the currently active session.
OL-16597-01