hit counter script

Adding Show Commands To Snapshots - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Configuring GIR (Cisco NX-OS Release 7.3(0)N1(1))
This example shows how to display the snapshots present on the switch:
switch# show snapshots
Snapshot Name
------------------------------------------------------------------------------
before_maint
This example displays a comparison between two snapshots:
switch# show snapshots compare before_maintenance after_maintenance summary
===========================================================================
Feature changed
===========================================================================
basic summary
# of interfaces
# of vlans
# of ipv4 routes
# of ipv4 paths
# of ipv4 routes
# of ipv4 paths
# of ipv6 routes
# of ipv6 paths
interfaces
# of eth interfaces
# of eth interfaces up
# of eth interfaces down
# of eth interfaces other
# of vlan interfaces
# of vlan interfaces up
# of vlan interfaces down
# of vlan interfaces other
This example shows how to delete a snapshot:
switch# snapshot delete before_maint
switch# show snapshots
Snapshot Name
--------------------------------------------------------------------------

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
Step 1
OL-31641-01
Time
Wed Oct 14 10:56:50 2015
vrf default
vrf default
vrf management
vrf management
vrf default
vrf default
Time
Command or Action
switch# snapshot section add
section "show-command"
row-id element-key1
[element-key2]
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
Description
taken before maint
before_maintenance after_maintenance
50
0
13
13
14
14
3
3
48
1
47
0
0
0
0
0
Description
Purpose
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.
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.
Adding Show Commands to Snapshots
50
0
13
13
14
14
3
3
48
1
47
0
0
0
0
0
293

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents