Cisco Nexus 3000 and 9000 Series NX-API REST SDK User Guide and API Reference, Release 10.5(x)
Latest
- 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 10.5(x)
- Getting Started with the Cisco Nexus 3000 and 9000 Series NX-API REST SDK
- Related Documentation
- New and Changed Information
- Manageability
- ISSU Commands
- Installing Software Packages
- Configuring NX-API Management
- Managing Images
- Manageability Actions
- Configuring GRPC tunnel destination
- Manageability Using YANG (NETCONF)
- Configuring Fundamentals
- High Availability and Redundancy
- Configuring ITD
- Configuring Interfaces
- Configuring Ethernet Interfaces
- Configuring a MAC Address Limitation
- Configuring VLAN Interfaces
- Configuring Loopback Interfaces
- Configuring MGMT Interfaces
- Configuring Breakout Profiles
- Configuring System Default Switchport
- Configuring UDLD
- Configuring BFD
- Configuring LACP
- Configuring Hostname Loopback
- Configuring Breakout on High-Bandwidth Interfaces
- Configuring Port-Channel Interfaces
- Configuring Virtual Port Channels
- Configuring Tunnel Interfaces
- Configuring Layer 2 Protocol Tunneling
- Configuring Network Address Translation (NAT)
- Configuring IP TCP MSS
- Configuring Hardware Profile Settings
- Querying Interface Information
- Clearing Statistics
- Configuring IP SLAs
- Configuring Label Switching
- Configuring Segment Routing
- Configuring MPLS LDP
- Configuring Label Advertisement
- Configuring Label Allocation
- Configuring MPLS
- Disabling MPLS Forwarding for IP
- Configuring LDP Session Backoff
- Configuring LDP Discovery
- Configuring Explicit Null Label Advertisement
- Configuring LDP Graceful Restart
- Configuring LDP Holdtime
- Configuring a Neighbor
- Configuring an LDP Password
- Configuring LDP Logging
- Configuring LDP Labels
- Configuring an LDP Session
- Configuring MPLS LDP on an Interface
- Configuring Netstack
- Configuring Layer 2 Switching
- Configuring Flex Links
- Configuring Hairpin Forwarding
- Configuring Storm Control
- Configuring a Private VLAN (PVLAN)
- Configuring Multicast Routing
- Configuring PIM/PIM6
- Configuring MSDP
- Configuring IGMP
- Configuring MLD Snooping
- Configuring MRIB
- Configuring RPF Routes for Multicast
- Configuring Fabric Extender
- Configuring QoS
- Configuring Policing
- Configuring QoS Class Maps
- Configuring QoS Policy Maps
- Configuring a User-Defined Network QoS Policy
- Configuring the Hardware Buffer Utilization Thresholds
- Configuring Hardware QoS
- Configuring Hardware Profile Settings on the Cisco Nexus 3500 Platform
- Configuring Cisco Nexus 9000 (Cisco-ASIC based) Platform QoS
- Configuring Priority Flow Control
- Changing the Bandwidth Allocated to Unicast and Multicast Traffic
- Clearing Statistics
- Configuring TCAM
- Enabling Queue-Based ECN Marking
- Configuring Trust Boundaries
- Configuring Security
- Configuring FIPS Mode
- Configuring EAP Profile
- Configuring Keychain Management
- Configuring AAA
- Configuring RADIUS
- Configuring TACACS+
- Configuring LDAP
- Configuring SSH
- Configuring a Trustpool Policy
- Configuring a Trustpoint Certificate Authority
- Configuring a Trustpoint Certificate Authority
- Configuring Certificate Authority Related Information
- Crypto ca import for mytrustpoint pkcs12
- Configuring Telnet
- Configuring the Shell Type for Login
- Configuring User Accounts and RBAC
- Configuring the VSH Roles and Rules
- Configuring ACLs
- Configuring Port Security
- Configuring DHCP
- Configuring Password Encryption
- Configuring VPN Ids
- Configuring Unicast RPF (URPF)
- Configuring System Security Compliance
- Configuring Control Plane Policing
- Configuring Rate Limits
- Configuring MACsec
- Known Behaviour for Logging Level Configs
- Configuring System Management
- Configuring Sup Boot Variables
- Configuring System Cores
- Configuring System Trace Level
- Configuring the Fast Reload Network Stabilization Timer
- Configuring Frequency Synchronization
- Configuring NTP
- Configuring PTP
- Verifying PTP Counters
- Configuring Cisco Discovery Protocol
- Configuring Call Home
- Configuring Checkpoints and Rollback
- Configuring System Logging
- Configuring the Scheduler
- Configuring SNMP
- Configuring RMON
- Configuring Online Diagnostics
- Configuring EVMED
- Configuring Embedded Event Manager
- Configuring Memory Thresholds
- Configuring SPAN
- Configuring ERSPAN
- Configuring LLDP
- Enabling and Disabling LLDP
- Configuring LLDP in Global Mode
- Configuring LLDP on the if-eth-base/if-ethernet-all Command Mode
- Configuring LLDP on the if-gig-ether Command Mode
- Configuring LLDP on the if-gig-ether-all Command Mode
- Configuring LLDP on the if-mgmt-ether Command Mode
- Configuring the DCBXP Version
- Configuring System Interface Shutdown
- Configuring NetFlow
- Configuring Drop Report Tool
- Configuring sFlow
- Attaching a TAP Aggregation Policy to an Interface
- Configuring MPLS Stripping
- Configuring the Maintenance-Mode Profile
- Configuring Maintenance Mode
- Configuring CFS
- Configuring User-Defined Fields
- Configuring a Fan-Direction Mismatch
- System-Level High Availability
- Configuring NX-OS Container Tracker
- Configuring VXLAN
- VXLAN New and Changed
- Micro-segmentation for VXLAN Fabrics Using Group Policy Option (GPO)
- Configuring VXLAN BGP EVPN
- Configuring HMM
- Configure VXLAN FHS
- VXLAN Configuration Command Examples
- Configuring NVE Interfaces
- Configuring BGP EVPN Filtering
- Configuring VXLAN OAM (NGOAM)
- Executing Ping NVE, Traceroute NVE, and Path Trace NVE
- Configuring System NVE
- Associating NVE Interfaces with VNIs
- Configuring ngMVPN
- Configuring Selective Q-in-VNI
- Ephemeral (MOTL) MOs for NVE
- Configuring Unicast Routing
- Configuring the System Routing Mode
- Configuring ARP
- Configuring ALPM
- Configuring Logging for Software Forwarding of IP Packets
- Configuring DNS
- Configuring OSPF, OSPFv2, and OSPFv3
- Configuring OSPF
- Configuring OSPFv2
- Configuring OSPFv3
- Configuring an IPv6 Unicast Address Family Under an OSPFv3 Instance
- Configuring OSPFv3 Broadcast Network Type
- Configuring OSPFv3 on an Ethernet Interface
- Configuring OSPFv3 on a Loopback Interface
- Configuring OSPFv3 on a MGMT Interface
- Configuring OSPFv3 on a P2P Ethernet Interface
- Configuring OSPFv3 on a Tunnel Interface
- Configuring a Virtual Link Under an OSPFv3 Instance
- Configuring a VRF Under an OSPFv3 Instance
- Querying OSPFv3
- Configuring IS-IS
- Configuring IS-IS in Global Configuration Command Mode
- Configuring IS-IS in Interface Configuration Mode
- Configuring IS-IS in Router Configuration Mode
- Configuring IS-IS in Router VRF Configuration Mode
- Configuring IS-IS in Router IPv4 Address Family Configuration Mode
- Configuring IS-IS in Router IPv6 Address Family Configuration Mode
- IS-IS Operational Commands
- Configuring EIGRP
- Enabling EIGRP
- Disabling EIGRP
- Configuring isolate Under EIGRP
- Configuring flush-routes under EIGRP
- Configuring vrf
- Configuring EIGRP address-family
- Configuring EIGRP router-id
- Configuring EIGRP distance
- Configuring EIGRP maximum paths
- Configuring EIGRP default information originate
- Configuring EIGRP administrative state
- Configuring IPV4 EIGRP route redistribution
- Configuring IPv6 EIGRP route redistribution
- Configuring EIGRP table map filter
- Configuring EIGRP redistribute maximum prefix
- Configuring EIGRP graceful restart
- Configuring EIGRP log adjacency changes
- Configuring EIGRP log adjacency warnings
- Configuring EIGRP metric version
- Configuring EIGRP metric maximum hops
- Configuring EIGRP nsf await redistribute proto convergence
- Configuring EIGRP autonomous system number
- Configuring EIGRP nsf route-hold timer
- Configuring EIGRP nsf converge timer
- Configuring EIGRP nsf signal timer
- Configuring EIGRP timers active-time
- Configuring EIGRP supress fib pending
- Configuring EIGRP passive interface
- Configuring EIGRP metric weights
- Configuring EIGRP default metric
- Configuring EIGRP stub
- Configuring EIGRP authentication key chain
- Configuring EIGRP authentication mode
- Configuring BFD for EIGRP
- Configuring EIGRP in Interface Configuration Mode
- Configuring BGP
- Configuring a BGP Router
- VXLAN EVPN Traffic Engineering - Multi-Site Egress Load-Balancing
- VXLAN EVPN Traffic Engineering – RPM support
- Configuring BGP on a VRF
- Configuring BFD Multihop under a Neighbor
- Configuring an IPv4 Multicast Address Family
- Configuring an IPv4 MVPN Address Family
- Configuring an IPv4 Unicast Address Family
- Configuring an IPv6 MVPN Address Family
- Configuring an IPv6 Unicast Address Family
- Configuring a Link-State Address Family
- Configuring a VPNv4 Unicast Address Family
- Configuring a VPNv6 Unicast Address Family
- Configuring a Peer Policy Template
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Policy Template
- Configuring an IPv4 Unicast Subaddress Family for a Peer Policy Template
- Configuring an IPv6 Unicast Subaddress Family for a Peer Policy Template
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Policy Template
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Policy Template
- Configuring a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Policy Template with Peer Template Inheritance
- Configuring a Peer Template
- Configuring an IPv4 Labeled Subaddress Family for a Peer Template
- Configuring an IPv4 Unicast Subaddress Family for a Peer Template
- Configuring an IPv6 Unicast Subaddress Family for a Peer Template
- Configuring a VPNv4 Subaddress Family for a Peer Template
- Configuring a VPNV6 Subaddress Family for a Peer Template
- Configuring Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for Peer Template Inheritance
- Configuring a Peer Template with Peer Template Inheritance
- Configuring an IPv4 Labeled Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring an IPv4 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring an IPv6 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a VPNv4 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a VPNv6 Unicast Subaddress Family for a Peer Template with Peer Template Inheritance
- Configuring a BGP Neighbor (IP Address)
- Configuring an IPv4 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Labeled Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Multicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv4 MVPN Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an IPv6 MVPN Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring an L2VPN EVPN Address Family under a BGP Neighbor (IP Address)
- Configuring a VPNv4 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring a VPNv6 Unicast Subaddress Family Under a BGP Neighbor (IP Address)
- Configuring BGP Session Templates Under a BGP Neighbor (IP Address)
- Configuring a BGP Neighbor (Ethernet Interface)
- Configuring an IPv4 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring an IPv6 MVPN Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring an L2VPN EVPN Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a VPNv4 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a VPNv6 Unicast Subaddress Family Under a BGP Neighbor (Ethernet Interface)
- Configuring a BMP Server
- Configuring Mixed ECMP
- About Querying Ephemeral Data
- Configuring RIP
- Configuring DSCP
- Configuring VRFs
- Configuring Route Policy Manager
- First-Hop Redundancy Protocols
- Configuring Hardware Forwarding
- Configuring Hardware Ejector
- Configuring Hardware Profile Settings
- Configuring the Site of Origin
- Configuring AS-4 Dot Notation
- Configuring Static Routing
- Configuring Load Sharing in the Unicast FIB
- Configuring OpenFlow
- Configuring RTP Flow Monitoring
- Configuring Kernel Stack
- Configuring Apphosting
- Controlling the Guest Shell
- Enabling the Guest Shell and Querying the Result
- Disabling the Guest Shell and Querying the Result
- Destroying the Guest Shell and Querying the Result
- Rebooting the Guest Shell and Querying the Result
- Increasing the Guest Shell Rootfs Size and Querying the Result
- Changing the CPU Memory Size that the Guest Shell Uses and Querying the Result
- Changing the Memory Size the Guest Shell Uses and Querying the Result
- Syncing the Guest Shell Rootfs to the Standby Supervisor and Querying the Result
- Exporting the Guest Shell Rootfs and Querying the Result
- Upgrading the Guest Shell Rootfs and Querying the Result
- Querying Guest Shell Information
- Change Virtual Service Global Configuration
- Managing System Hardware
- Configuring the Baseboard Management Controller
- Configuring Virtual Machine Tracker
- Configuring Virtual Device Contexts
- Configuring iCAM
- Configuring SRv6
- Configuring Smart Software Licensing
- Querying Configurations (Show Commands)
- Querying Advertised Routes
- Querying DHCP Relay Interfaces
- Querying Diagnostic Result Test IDs
- Querying the Environment Settings
- Querying Feature Status
- Querying Inventory Information
- Querying IS-IS Configurations
- Querying IP IGMP Groups
- Querying IP OSPF Neighbor Details
- Querying IP OSPF Neighbor VRF Information
- Querying L2VPN EVPN
- Querying LLDP
- Querying MAC Address Table Info
- Querying Module Information
- Querying NAT ITD
- Querying NTP Peer Status
- Querying an OSPFv2 Instance
- Querying Patterns
- Querying PIM Information
- Querying the Processes Log
- Querying Spanning Tree Information
- Querying a Summary of IP Interface Status and Configuration Information
- Querying TCAM Resource Utilization
- Querying MCAST NAT TCAM Resource Monitoring
- Querying NBM TCAM Resource Monitoring
- Querying the Version
- Querying VLAN ID Counters
- Querying VRF Information
- Querying VRRP Information
- Querying Forwarding Route Information
- Querying IP Route Details
- Querying the Current MOTD Banner Message
- Querying OSPF Neighbors
- Querying Analytic Information
- Querying Interface and VLAN Counters and Statistics
- Querying ITD Runtime Information
- Querying ePBR Runtime Information
- Using the Managed Object Browser
- Monitoring the Environment
Querying a Pattern to Match (AAA|TACACS|RADIUS)
DME
YANG
CopyGET http://<IP_Address>/api/mo/sys/userext.json?rsp-subtree=full&rsp-prop-include=config-only
{
"totalCount": "1",
"imdata": [
{
"aaaUserEp": {
"attributes": {
"descr": "",
"dn": "sys/userext",
"name": "rootep",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"pwdMaxLength": "127",
"pwdMinLength": "8",
"pwdSecureMode": "yes",
"pwdStrengthCheck": "yes",
"svcPwdRecovery": "yes"
},
"children": [
{
"aaaUser": {
"attributes": {
"accountStatus": "active",
"allowExpired": "no",
"clearPwdHistory": "no",
"descr": "",
"email": "",
"expiration": "never",
"expires": "no",
"firstName": "",
"lastName": "",
"name": "admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"phone": "",
"pwdLifeTime": "no-password-expire",
"rn": "user-admin",
"unixUserId": "0"
},
"children": [
{
"aaaUserDomain": {
"attributes": {
"descr": "",
"name": "all",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "userdomain-all"
},
"children": [
{
"aaaUserRole": {
"attributes": {
"descr": "",
"name": "network-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"privType": "noDataPriv",
"rn": "role-network-admin"
}}}]}}]}},{
"aaaRadiusEp": {
"attributes": {
"deadtime": "0",
"descr": "",
"key": "",
"keyEnc": "0",
"loggingLevel": "Error",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"retries": "1",
"rn": "radiusext",
"srcIf": "unspecified",
"timeout": "5"
},
"children": [
{
"aaaRadiusProviderGroup": {
"attributes": {
"deadtime": "0",
"descr": "",
"name": "radius",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "radiusprovidergroup-radius",
"srcIf": "unspecified",
"vrf": "default"
}}}]}},{
"pkiEp": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "pkiext"
},
"children": [
{
"pkiDebugPluginChallenge": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "dbgplgch"
}}},{
"pkiWebTokenData": {
"attributes": {
"descr": "",
"maximumValidityPeriod": "24",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "webtokendata",
"sessionRecordFlags": "login,logout,refresh",
"uiIdleTimeoutSeconds": "1200",
"webtokenTimeoutSeconds": "600"
}}},{
"pkiCsyncSharedKey": {
"attributes": {
"descr": "",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "csyncsharedkey"
}}}]}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "dev-ops",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-dev-ops",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-11",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-11",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-12",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-12",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "network-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-network-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-6",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-6",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "nxdb-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-nxdb-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-1",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-1",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-7",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-7",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "vdc-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-vdc-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-9",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-9",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-4",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-4",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-14",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-14",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "network-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-network-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "vdc-operator",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "operator",
"resetToFactory": "no",
"rn": "role-vdc-operator",
"rolePrivType": "readPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-5",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-5",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-15",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-15",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-8",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-8",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-3",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-3",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "nxdb-admin",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "admin",
"resetToFactory": "no",
"rn": "role-nxdb-admin",
"rolePrivType": "writePriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-13",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-13",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-0",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-0",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-10",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-10",
"rolePrivType": "noDataPriv"
}}},{
"aaaRole": {
"attributes": {
"allowedVLAN": "",
"allowedVRF": "",
"denyIntf": "no",
"denyVLAN": "no",
"denyVRF": "no",
"descr": "",
"name": "priv-2",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"priv": "",
"resetToFactory": "no",
"rn": "role-priv-2",
"rolePrivType": "noDataPriv"
}}},{
"aaaDomain": {
"attributes": {
"descr": "",
"name": "all",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "domain-all"
}}},{
"aaaPwdProfile": {
"attributes": {
"changeCount": "2",
"changeDuringInterval": "enable",
"changeInterval": "48",
"descr": "",
"expirationWarnTime": "15",
"historyCount": "5",
"name": "",
"noChangeInterval": "24",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "pwdprofile"
}}},{
"aaaPreLoginBanner": {
"attributes": {
"descr": "",
"guiMessage": "",
"message": "Welcome",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"rn": "preloginbanner"
}}},{
"aaaAuthRealm": {
"attributes": {
"defRolePolicy": "assign-default-role",
"descr": "",
"loggingLevel": "Error",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"radDirectedReq": "no",
"rn": "authrealm",
"tacDirectedReq": "no"
},
"children": [
{
"aaaDefaultAcc": {
"attributes": {
"accMethodNone": "no",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "defaultacc"
}}},{
"aaaDefaultAuth": {
"attributes": {
"authProtocol": "pap",
"descr": "",
"errEn": "no",
"fallback": "yes",
"local": "yes",
"name": "",
"none": "no",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "defaultauth"
}}},{
"aaaPkiSSHCertificate": {
"attributes": {
"descr": "",
"local": "no",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "pkisshcert"
}}},{
"aaaConsoleAuth": {
"attributes": {
"authProtocol": "pap",
"descr": "",
"errEn": "no",
"fallback": "yes",
"local": "no",
"name": "",
"none": "no",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "radius",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "consoleauth"
}}},{
"aaaPkiSSHPublicKey": {
"attributes": {
"descr": "",
"local": "no",
"name": "",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"realm": "local",
"rn": "pkisshpubkey"
}}},{
"aaaDefaultAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "config",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "defaultauthor-config"
}}},{
"aaaDefaultAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "exec",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "defaultauthor-exec"
}}},{
"aaaConsoleAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "config",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "consoleauthor-config"
}}},{
"aaaConsoleAuthor": {
"attributes": {
"authorMethodNone": "no",
"cmdType": "exec",
"descr": "",
"localRbac": "yes",
"ownerKey": "",
"ownerTag": "",
"persistentOnReload": "true",
"providerGroup": "",
"providerGroup2": "",
"providerGroup3": "",
"providerGroup4": "",
"providerGroup5": "",
"providerGroup6": "",
"providerGroup7": "",
"providerGroup8": "",
"rn": "consoleauthor-exec"
}}}]}}]}}]}
CopyGET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/userext-items
Response
<userext-items>
<authrealm-items>
<aaagroup-items>
<AaaServerGroup-list>
<name>radius</name>
<protocol>radius</protocol>
</AaaServerGroup-list>
</aaagroup-items>
<consoleauth-items>
<authProtocol>pap</authProtocol>
<errEn>false</errEn>
<fallback>yes</fallback>
<local>no</local>
<none>no</none>
<providerGroup>radius</providerGroup>
<realm>local</realm>
</consoleauth-items>
<consoleauthor-items>
<ConsoleAuthor-list>
<cmdType>config</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</ConsoleAuthor-list>
<ConsoleAuthor-list>
<cmdType>exec</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</ConsoleAuthor-list>
</consoleauthor-items>
<defRolePolicy>assign-default-role</defRolePolicy>
<defaultacc-items>
<accMethodNone>false</accMethodNone>
<localRbac>true</localRbac>
<name>Accounting</name>
<realm>local</realm>
</defaultacc-items>
<defaultauth-items>
<authProtocol>pap</authProtocol>
<errEn>false</errEn>
<fallback>yes</fallback>
<local>yes</local>
<none>no</none>
<realm>local</realm>
</defaultauth-items>
<defaultauthor-items>
<DefaultAuthor-list>
<cmdType>config</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</DefaultAuthor-list>
<DefaultAuthor-list>
<cmdType>exec</cmdType>
<authorMethodNone>false</authorMethodNone>
<localRbac>true</localRbac>
<name>Author</name>
<realm>tacacs</realm>
</DefaultAuthor-list>
</defaultauthor-items>
<loggingLevel>Error</loggingLevel>
<pkisshcert-items>
<local>false</local>
<realm>local</realm>
</pkisshcert-items>
<pkisshpubkey-items>
<local>false</local>
<realm>local</realm>
</pkisshpubkey-items>
<radDirectedReq>no</radDirectedReq>
<tacDirectedReq>no</tacDirectedReq>
</authrealm-items>
<domain-items>
<Domain-list>
<name>all</name>
</Domain-list>
</domain-items>
<pkiext-items>
<csyncsharedkey-items>
<key/>
</csyncsharedkey-items>
<webtokendata-items>
<hashSecret/>
<initializationVector/>
<key/>
<maximumValidityPeriod>24</maximumValidityPeriod>
<sessionRecordFlags>login,logout,refresh</sessionRecordFlags>
<siteFingerprint/>
<uiIdleTimeoutSeconds>1200</uiIdleTimeoutSeconds>
<webtokenTimeoutSeconds>600</webtokenTimeoutSeconds>
</webtokendata-items>
</pkiext-items>
<preloginbanner-items>
<delimiter/>
<message>Testing Banner 123</message>
</preloginbanner-items>
<pwdMaxLength>127</pwdMaxLength>
<pwdMinLength>8</pwdMinLength>
<pwdSecureMode>yes</pwdSecureMode>
<pwdStrengthCheck>yes</pwdStrengthCheck>
<pwdprofile-items>
<changeCount>2</changeCount>
<changeDuringInterval>enable</changeDuringInterval>
<changeInterval>48</changeInterval>
<expirationWarnTime>15</expirationWarnTime>
<historyCount>5</historyCount>
<noChangeInterval>24</noChangeInterval>
</pwdprofile-items>
<radiusext-items>
<deadtime>0</deadtime>
<keyEnc>0</keyEnc>
<loggingLevel>Error</loggingLevel>
<radiusprovidergroup-items>
<RadiusProviderGroup-list>
<name>radius</name>
<deadtime>0</deadtime>
<snmpIndex>0</snmpIndex>
</RadiusProviderGroup-list>
</radiusprovidergroup-items>
<retries>1</retries>
<timeout>5</timeout>
</radiusext-items>
<role-items>
<Role-list>
<name>dev-ops</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-11</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-12</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>network-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-6</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>nxdb-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-1</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-7</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>vdc-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-9</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-14</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-4</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>vdc-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>network-operator</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-15</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-5</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-8</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-3</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>nxdb-admin</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-13</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-0</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-10</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
<Role-list>
<name>priv-2</name>
<denyIntf>no</denyIntf>
<denyVLAN>no</denyVLAN>
<denyVRF>no</denyVRF>
<resetToFactory>no</resetToFactory>
<roleIsBuiltin>no</roleIsBuiltin>
<rolePrivType>noDataPriv</rolePrivType>
</Role-list>
</role-items>
<rtfabricResUserEp-items>
<RtFabricResUserEp-list>
<tDn>UNRES:uni/fabric/secRelnHolder</tDn>
<tCl>fabricSecRelnHolder</tCl>
</RtFabricResUserEp-list>
</rtfabricResUserEp-items>
<svcPwdRecovery>yes</svcPwdRecovery>
<user-items>
<User-list>
<name>admin</name>
<accountStatus>active</accountStatus>
<allowExpired>no</allowExpired>
<clearPwdHistory>no</clearPwdHistory>
<encPwd/>
<expiration>never</expiration>
<expires>no</expires>
<isSnmpNotify>no</isSnmpNotify>
<oldPwdEncryptType/>
<pwd/>
<pwdEncryptType/>
<pwdLen/>
<pwdLifeTime>no-password-expire</pwdLifeTime>
<pwdSet>true</pwdSet>
<userdomain-items>
<UserDomain-list>
<name>all</name>
<role-items>
<UserRole-list>
<name>network-admin</name>
<privType>noDataPriv</privType>
</UserRole-list>
</role-items>
</UserDomain-list>
</userdomain-items>
</User-list>
</user-items>
</userext-items>