Cisco Nexus 3000 and 9000 Series NX-API REST SDK and API, Release 7.x
Loading...
- Cisco Nexus 3000 and 9000 Series NX-API REST Documentation
- Cisco Nexus 3000 and 9000 Series NX-API REST SDK User Guide and API Reference, Release 7.x
- Getting Started with the Cisco Nexus 3000 and 9000 Series NX-API REST SDK
- New and Changed
- Manageability
- Configuring System Management
- Configuring VXLAN BGP EVPN
- Configuring Fundamentals
- Configuring Power Modes
- Configuring Interfaces
- Configuring Static MPLS and Segment Routing
- Configuring Netstack
- Configuring Layer 2 Switching
- Configuring Multicast
- Configuring QoS
- Configuring TCAM
- Configuring Security
- Configuring Unicast Routing
- Configuring ARP
- Configuring DNS
- Configuring OSPFv2
- Configuring BGP
- Configuring a BGP Router
- Configuring an IPv4 Labeled Unicast Address Family
- Configuring an IPv4 Multicast Address Family
- Configuring an IPv4 MVPN Address Family
- Configuring an IPv4 Unicast Address Family
- Configuring an IPv6 Labeled Unicast Address Family
- Configuring an IPv6 Multicast Address Family
- Configuring an IPv6 MVPN Address Family
- Configuring an IPv6 Unicast Address Family
- Configuring an L2VPN EVPN Address Family
- Configuring a Link-State Address Family
- Configuring a VPNv4 Unicast Address Family
- Configuring a VPNv6 Unicast Address Family
- Configuring a Peer Template
- Configuring a BGP Neighbor
- Configuring a BMP Server
- Configuring EVPN
- Querying Ephemeral Data
- Configuring VRF
- First-Hop Redundancy Protocols
- Configuring Static Routes
- Configuring Route Policy Manager
- Configuring Telemetry
- Querying Analytic Information
- Querying Configurations (Show Commands)
- Querying Interface and VLAN Counters and Statistics
- Using the Managed Object Browser
- Monitoring the Environment
Configuring Next-Hop Order as Per CLI Configuration
DME
YANG
CopyPOST http://<mgmt0_IP>/api/mo/sys/rpm.json
{
"topSystem": {
"children": [
{
"rpmEntity": {
"children": [
{
"rtmapRule": {
"attributes": {
"name": "Map_1"
},
"children": [
{
"rtmapEntry": {
"attributes": {
"action": "permit",
"forceOrderV6": "enabled",
"order": "10"
},
"children": [
{
"rtmapSetNh": {
"attributes": {
"addr": "1:2::3:4"
}
}
}
]
}
}
]
}
}
]
}
}
]
}
}
Response
{
"imdata": []
}
Copy<System>
<rpm-items>
<rtmap-items>
<Rule-list>
<name>Map_1</name>
<ent-items>
<Entry-list>
<order>10</order>
<action>permit</action>
<forceOrderV6>enabled</forceOrderV6>
<nh-items>
<SetNh-list>
<addr>1:2::3:4</addr>
</SetNh-list>
</nh-items>
</Entry-list>
</ent-items>
</Rule-list>
</rtmap-items>
</rpm-items>
</System>