Cisco Nexus OpenConfig YANG, Release 10.5(x)
Latest
- Cisco Nexus OpenConfig YANG Reference, Release 10.5x
- About OpenConfig YANG
- New and Changed Information
- OC BFD
- BGP Policy Map
- OC-BGP-POLICY
- Local Routing
- OC AAA
- OC AAA TACACS
- OC ACL
- OC IF-IP
- OC Interface Counters
- OC Interfaces
- OC IS-IS
- OC IS-IS LSPDB
- OC LACP
- OC Network Instances Layer 2
- OC LLDP
- OC Network Instances
- OC OSPF
- OC Platform
- OC QoS
- OC Relay Agent
- OC Routing Policy
- OC STP
- OC System Manager
- OC System Terminal
- OC Telemetry
- OC VLAN
- OC VRRP
- OCNI BGP
- OCNI VRF
Configuring an Open Config Network Instance
YANG
CopyEdit-config:
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101">
<edit-config>
<target>
<running/>
</target>
<config>
<network-instances xmlns="http://openconfig.net/yang/network-instance">
<network-instance>
<name>vrf10</name>
</network-instance>
</network-instances>
</config>
</edit-config>
</rpc>
Response:
<rpc-reply xmlns:if="http://www.cisco.com/nxos:1.0:if_manager" xmlns:nfcli="http://www.cisco.com/nxos:1.0:nfcli" xmlns:nxos="http://www.cisco.com/nxos:1.0" xmlns:vlan_mgr_cli="http://www.cisco.com/nxos:1.0:vlan_mgr_cli" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="urn:uuid:196889d8-4f8e-4a5d-99c4-f2dd1a012c41">
<ok/>
</rpc-reply>