Cisco Nexus 3000 and 9000 Series NX-API REST SDK and API, Release 7.x
NX-OS 7(x)
- 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 IPv4 and IPv6 Access Lists
DME
YANG
CopyPOST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"aclEntity": {
"children": [
{
"ipv6aclAF": {
"children": [
{
"ipv6aclACL": {
"attributes": {
"name": "acl_ipv6"
}}}]}},{
"ipv4aclAF": {
"children": [
{
"ipv4aclACL": {
"attributes": {
"name": "acl_tcp"
}}}]}}]}}]}}
Response
{
imdata": []
}
Copy<System>
<acl-items>
<ipv6-items>
<name-items>
<ACL-list>
<name>acl_ipv6</name>
</ACL-list>
</name-items>
</ipv6-items>
<ipv4-items>
<name-items>
<ACL-list>
<name>acl_tcp</name>
</ACL-list>
</name-items>
</ipv4-items>
</acl-items>
</System>