Related Documents - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Converting CLI Commands to Network Configuration Format
]]>]]>
switch(xmlin)# show interface ethernet 2/1
<?xml version="1.0"?>
<nf:rpc xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="http://www.cisco.com/nxos:6.2.2.:if_manager" message-id="1">
<nf:get>
</nf:filter>
</nf:get>
</nf:rpc>
]]>]]>
switch(xmlin)# exit
switch#
The following example shows how you can convert the output of the show interface brief command to XML.
switch# show interface brief | xmlin
<?xml version="1.0"?>
<nf:rpc xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns="http://www.cisco.com/nxos:6.2.2.:if_manager"
message-id="1">
<nf:get>
</nf:get>
</nf:rpc>
]]>]]>

Related Documents

Related Topic
XMLIN commands: complete command syntax,
command modes, command history, defaults, usage
guidelines, and examples
Feature History for XMLIN
The table below summarizes the new and changed features for this document and shows the releases in which
each feature is supported. Your software release might not support all the features in this document. For the
latest caveats and feature information, see the Bug Search Tool at
release notes for your software release.
</nf:rpc>
<nf:filter type="subtree">
<show>
<interface>
<__XML__PARAM__ifeth>
<__XML__value>Ethernet2/1</__XML__value>
</__XML__PARAM__ifeth>
</interface>
</show>
<nf:filter type="subtree">
<show>
<interface>
<brief/>
</interface>
</show>
</nf:filter>
Document Title
Cisco Nexus 7000 Series NX-OS System Management
Command Reference
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Related Documents
https://tools.cisco.com/bugsearch/
and the
405

Advertisement

Table of Contents
loading

Table of Contents