Configuring a Port-Channel Subinterface
Configuring a Description
Configuring a Description
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"descr": "SampleString_123",
"id": "po1.2"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po1.2</id>
<descr>SampleString_123</descr>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1.2
description SampleString_123
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-{[id]} |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 (string:Basic) | Description | MAX SIZE: 254 |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a Description
Deleting a Description
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"descr": "",
"id": "po1.2"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po1.2</id>
<descr></descr>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1.2
no description SampleString_123
Note: The property information for this example was added in Release 9.3(3).
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-{[id]} |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 (string:Basic) | Description | MAX SIZE: 254 |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Description
Configuring a Description
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"interfaceEntity": {
"children": [
{
"pcAggrIf": {
"attributes": {
"descr": "SampleString_123",
"id": "po3"
}
}
},
{
"pcAggrIf": {
"attributes": {
"descr": "SampleString_123",
"id": "po2"
}
}
},
{
"pcAggrIf": {
"attributes": {
"descr": "SampleString_123",
"id": "po1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<intf-items>
<aggr-items>
<AggrIf-list>
<id>po3</id>
<descr>SampleString_123</descr>
</AggrIf-list>
<AggrIf-list>
<id>po2</id>
<descr>SampleString_123</descr>
</AggrIf-list>
<AggrIf-list>
<id>po1</id>
<descr>SampleString_123</descr>
</AggrIf-list>
</aggr-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1-3
description SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
interfaceEntity | sys/intf |
pcAggrIf | sys/intf/aggr-[po3] |
pcAggrIf | sys/intf/aggr-[po2] |
pcAggrIf | sys/intf/aggr-[po1] |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a Description
Deleting a Description
POST http://<mgmt0_IP>/api/mo/sys.json
{
"topSystem": {
"children": [
{
"interfaceEntity": {
"children": [
{
"pcAggrIf": {
"attributes": {
"descr": "",
"id": "po3"
}
}
},
{
"pcAggrIf": {
"attributes": {
"descr": "",
"id": "po2"
}
}
},
{
"pcAggrIf": {
"attributes": {
"descr": "",
"id": "po1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<intf-items>
<aggr-items>
<AggrIf-list>
<id>po3</id>
<descr></descr>
</AggrIf-list>
<AggrIf-list>
<id>po2</id>
<descr></descr>
</AggrIf-list>
<AggrIf-list>
<id>po1</id>
<descr></descr>
</AggrIf-list>
</aggr-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1-3
no description SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
topSystem | sys |
interfaceEntity | sys/intf |
pcAggrIf | sys/intf/aggr-[po3] |
pcAggrIf | sys/intf/aggr-[po2] |
pcAggrIf | sys/intf/aggr-[po1] |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
pcAggrIf Properties
The following table contains information about the pcAggrIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring a Description
Configuring a Description
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"descr": "SampleString_123",
"id": "po1.2"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po1.2</id>
<descr>SampleString_123</descr>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1.2
description SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po1.2] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting a Description
Deleting a Description
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"descr": "",
"id": "po1.2"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po1.2</id>
<descr></descr>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(1).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 1.2
no description SampleString_123
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po1.2] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
descr | naming:Descr1024 string:Basic | Additional descriptive information about the object. | RANGE: Min: "0" Max: "254" |
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring UPDOWN and CHANGE Messages
Configuring UPDOWN and CHANGE Messages
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"linkLog": "enable"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<linkLog>enable</linkLog>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
logging event port link-status
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
linkLog | l1:LinkLog (scalar:Enum8) | Interface Link Logging Enable | SELECTION: 1 - default 2 - enable 3 - disable DEFAULT: default |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting UPDOWN and CHANGE Messages
Deleting UPDOWN and CHANGE Messages
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"linkLog": "disable"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<linkLog>disable</linkLog>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
no logging event port link-status
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
linkLog | l1:LinkLog (scalar:Enum8) | Interface Link Logging Enable | SELECTION: 1 - default 2 - enable 3 - disable DEFAULT: default |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring UPDOWN and CHANGE Messages (Using the Default Value)
Configuring UPDOWN and CHANGE Messages (Using the Default Value)
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"linkLog": "default"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<linkLog>default</linkLog>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
logging event port link-status default
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
linkLog | l1:LinkLog (scalar:Enum8) | Interface Link Logging Enable | SELECTION: 1 - default 2 - enable 3 - disable DEFAULT: default |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting UPDOWN and CHANGE Messages (Using the Default Value)
Deleting UPDOWN and CHANGE Messages (Using the Default Value)
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"linkLog": "disable"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<linkLog>disable</linkLog>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
no logging event port link-status default
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
linkLog | l1:LinkLog (scalar:Enum8) | Interface Link Logging Enable | SELECTION: 1 - default 2 - enable 3 - disable DEFAULT: default |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Configuring SNMP LINKUP and LINKDOWN Traps
Configuring SNMP LINKUP and LINKDOWN Traps
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"snmpTrap": "enable"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<snmpTrap>enable</snmpTrap>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
snmp trap link-status
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
snmpTrap | scalar:Enum8 | Administrative Port Snmp Trap State | DEFAULT: disable |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
Deleting SNMP LINKUP and LINKDOWN Traps
Deleting SNMP LINKUP and LINKDOWN Traps
POST http://<mgmt0_IP>/api/mo/sys/intf.json
{
"interfaceEntity": {
"children": [
{
"l3EncRtdIf": {
"attributes": {
"id": "po123.345",
"snmpTrap": "disable"
}}}]}}
{
imdata:[]
}
<System>
<intf-items>
<encrtd-items>
<EncRtdIf-list>
<id>po123.345</id>
<snmpTrap>disable</snmpTrap>
</EncRtdIf-list>
</encrtd-items>
</intf-items>
</System>
Note: This example was added in Release 9.3(3).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
interface port-channel 123.345
no snmp trap link-status
Verifying a DME Configuration
The following table contains the distinguished name (DN) for each managed object (MO) in the DME payload. Issue a GET request using the DN to verify the configuration was posted or to get information about the configured properties of a particular object.
MO | DN |
---|---|
interfaceEntity | sys/intf |
l3EncRtdIf | sys/intf/encrtd-[po123.345] |
l3EncRtdIf Properties
The following table contains information about the l3EncRtdIf properties in the DME payload. For more information about the properties and MOs, see the NX-API DME Model Reference linked in the Related Documentation section below.
Property Name | Data Type | Description | Values |
---|---|---|---|
id | nw:IfId (base:IfIndex) | An identifier . | Must match first field in the output of `show intf brief`. Example: Eth1/1 or Vlan100 |
snmpTrap | scalar:Enum8 | Administrative Port Snmp Trap State | DEFAULT: disable |
Related Documentation
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/site/nx-os/docs/nexus-model-reference/
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide: