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 Feature Status
- Querying IP IGMP Groups
- Querying the Current MOTD Banner Message
- Querying an OSPFv2 Instance
- Querying OSPF Neighbors
- Querying VRF Information
- Querying IP OSPF Neighbor Details
- Querying a Pattern to Match (AAA|TACACS|RADIUS)
- Querying a Pattern to Match ("name-server|domain-lookup|host")
- Querying a Pattern to Match (RMON)
- Querying a Pattern to Match (VRF)
- Querying PIM Interface Information
- Querying PIM Neighbor Related Information
- Querying PIM Neighbor Interface Information
- Querying VRF Information
- Querying VRRP Information
- Querying Interface and VLAN Counters and Statistics
- Using the Managed Object Browser
- Monitoring the Environment
Querying Feature Status
DME
YANG
CopyGET http://<IP_Address>/api/mo/sys/fm.json?rsp-subtree=full&rsp-prop-include=config-only
Response
{
"totalCount": "1",
"imdata": [
{
"fmEntity": {
"attributes": {
"dn": "sys/fm",
"persistentOnReload": "true"
},
"children": [
{
"fmPim": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "pim"
}}},{
"fmDhcp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "dhcp"
}}},{
"fmNtpd": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ntpd"
}}},{
"fmTelemetry": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "telemetry"
}}},{
"fmBashShell": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bashshell"
}}},{
"fmOspf": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ospf"
}}},{
"fmLacp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "lacp"
}}},{
"fmNxapi": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "nxapi"
}}},{
"fmTelnet": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "telnet"
}}},{
"fmTacacsplus": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "tacacsplus"
}}},{
"fmUdld": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "udld"
}}},{
"fmVrrp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "vrrp"
}}},{
"fmMplsSgmntRtg": {
"attributes": {
"adminSt": "disabled",
"persistentOnReload": "true",
"rn": "mplssgmntrtg"
}}},{
"fmNgmvpn": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "ngmvpn"
}}},{
"fmBfd": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bfd"
}}},{
"fmBgp": {
"attributes": {
"adminSt": "enabled",
"persistentOnReload": "true",
"rn": "bgp"
}}}]}}]}
CopyGET http://<IP_Address>/restconf/data/Cisco-NX-OS-device:System/fm-items
Response
<fm-items>
<bashshell-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</bashshell-items>
<bgp-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</bgp-items>
<dhcp-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</dhcp-items>
<evpn-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</evpn-items>
<hmm-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</hmm-items>
<mplssgmntrtg-items>
<adminSt>disabled</adminSt>
<conflictingFeature/>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</mplssgmntrtg-items>
<ngmvpn-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</ngmvpn-items>
<ntpd-items>
<adminSt>disabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>disabled</operSt>
</ntpd-items>
<nvo-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</nvo-items>
<nxapi-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</nxapi-items>
<ospf-items>
<adminSt>enabled</adminSt>
<maxInstance>16</maxInstance>
<operSt>enabled</operSt>
</ospf-items>
<pim-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</pim-items>
<tacacsplus-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</tacacsplus-items>
<telemetry-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</telemetry-items>
<telnet-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</telnet-items>
<udld-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</udld-items>
<vnsegment-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vnsegment-items>
<vpc-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vpc-items>
<vrrpv3-items>
<adminSt>enabled</adminSt>
<maxInstance>1</maxInstance>
<operSt>enabled</operSt>
</vrrpv3-items>
</fm-items>