EasyManua.ls Logo

Cisco Nexus 5600 Series - Adding Show Commands to Snapshots

Cisco Nexus 5600 Series
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
This example shows how to display the snapshots present on the switch:
switch# show snapshots
Snapshot Name Time Description
------------------------------------------------------------------------------
before_maint Wed Oct 14 10:56:50 2015 taken before maint
This example displays a comparison between two snapshots:
switch# show snapshots compare before_maintenance after_maintenance summary
===========================================================================
Feature changed before_maintenance after_maintenance
===========================================================================
basic summary
# of interfaces 50 50
# of vlans 0 0
# of ipv4 routes vrf default 13 13
# of ipv4 paths vrf default 13 13
# of ipv4 routes vrf management 14 14
# of ipv4 paths vrf management 14 14
# of ipv6 routes vrf default 3 3
# of ipv6 paths vrf default 3 3
interfaces
# of eth interfaces 48 48
# of eth interfaces up 1 1
# of eth interfaces down 47 47
# of eth interfaces other 0 0
# of vlan interfaces 0 0
# of vlan interfaces up 0 0
# of vlan interfaces down 0 0
# of vlan interfaces other 0 0
This example shows how to delete a snapshot:
switch# snapshot delete before_maint
switch# show snapshots
Snapshot Name Time Description
--------------------------------------------------------------------------
Adding Show Commands to Snapshots
You can specify additional show commands to be captured in snapshots. These show commands are defined
in user-specified snapshot sections.
Procedure
PurposeCommand or Action
Adds a user-specified section to snapshots. The section variable is
used to name the show command output. You can use any word to
name the section.
switch# snapshot section add
section "show-command"
row-id element-key1
[element-key2]
Step 1
The show command must be enclosed in quotation marks. Non-show
commands will not be accepted.
The row-id argument specifies the tag of each row entry of the show
command's XML output. The element-key1 and element-key2
arguments specify the tags used to distinguish among row entries. In
most cases, only the element-key1 argument needs to be specified to
be able to distinguish among row entries.
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
OL-31641-01 293
Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
Adding Show Commands to Snapshots

Table of Contents

Other manuals for Cisco Nexus 5600 Series

Related product manuals