EasyManua.ls Logo

Cisco Nexus 5600 Series - Page 316

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...
PurposeCommand or Action
To delete a user-specified section from snapshots, use the
snapshot section delete section section command.
Note
(Optional)
Displays the user-specified snapshot sections.
switch# show snapshots
sections
Step 2
The following example shows how to add the show ip route detail vrf all command to the snapshot:
switch# snapshot section add v4route "show ip route detail vrf all" ROW_prefix ipprefix
switch# show snapshots sections
user-specified snapshot sections
--------------------------------
[v4route]
show command: show ip route detail vrf all
row id: ROW_prefix
key1: ipprefix
key2: -
The following example shows how to add the show ipv6 route detail vrf all command to the snapshot:
switch# snapshot section add routev6 "show ipv6 route detail vrf all" ROW_prefix ipprefix
added section "routev6"
switch# show snapshots sections
user-specified snapshot sections
--------------------------------
[routev6]
show command: show ipv6 route detail vrf all
row id: ROW_prefix
key1: ipprefix
key2: -
The following example shows how to delete a user-specified snapshot section:
switch# snapshot section delete v4route
deleted section v4route"
switch# show snapshots sections
user-specified snapshot sections
--------------------------------
none
The following example displays the XML output of the show ip route detail vrf all command:
switch(config)# show ip route detail vrf all | xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="http://w
ww.cisco.com/nxos:7.3.0.N1.1.:urib">
<nf:data>
<show>
<ip>
<__readonly__>
<TABLE_vrf>
<ROW_vrf>
<vrf-name-out>default</vrf-name-out>
<TABLE_addrf>
<ROW_addrf>
<addrf>ipv4</addrf>
<TABLE_prefix>
<ROW_prefix>
<ipprefix>0.0.0.0/32</ipprefix>
<ucast-nhops>1</ucast-nhops>
<mcast-nhops>0</mcast-nhops>
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
294 OL-31641-01
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