22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ollback checkpoints<br />

system-fm-fabricpath<br />

user (no abbrev) Show only user configuration<br />

rollback checkpoints<br />

| Pipe comm<strong>and</strong> output to filter<br />

cmhlab-dc2-tor2#<br />

When checkpoints are established, the need to perform a rollback might arise. Before a<br />

rollback is performed, it might be prudent to review the differences in the checkpoint to the<br />

running configuration. Example 7-43 shows the creation of a checkpoint named before-bigchange.<br />

In the time since the checkpoint was made, FabricPath has been added to the<br />

running configuration. NX-OS displays the differences in the configuration.<br />

Example 7-43. Comparing a Checkpoint to the Running Configuration<br />

Click here to view code image<br />

cmhlab-dc2-tor2# show diff rollback-patch checkpoint<br />

before-big-change running-config<br />

Collecting Running-Config<br />

#Generating Rollback Patch<br />

!!<br />

!<br />

feature-set fabricpath<br />

!<br />

fabricpath domain default<br />

!<br />

fabricpath switch-id 100<br />

cmhlab-dc2-tor2#<br />

After a review of the differences, rolling the system back to the checkpoint named beforebig-change<br />

is illustrated in Example 7-44.<br />

Example 7-44. Rollback of the Configuration from a Checkpoint<br />

Click here to view code image<br />

cmhlab-dc2-tor2# rollback running-config checkpoint<br />

before-big-change<br />

Collecting Running-Config<br />

Generating Rollback patch for switch profile

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!