Configuring LLDP in Global Mode
Configuring the Holdtime (in Sec) to be Sent in Packets
Configuring the Holdtime (in Sec) to be Sent in Packets
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"holdTime": "120"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<holdTime>120</holdTime>
</inst-items>
</lldp-items>
</System>
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.
lldp holdtime 120
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
holdTime | lldp:HoldTime (scalar:Uint16) | The hold time (in seconds) that a receiving device should hold the information sent by your device before discarding it. | RANGE: [1 , 255] DEFAULT: 120 |
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 the Holdtime (in Sec) to be Sent in Packets
Deleting the Holdtime (in Sec) to be Sent in Packets
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"holdTime": "120"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<holdTime>120</holdTime>
</inst-items>
</lldp-items>
</System>
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.
no lldp holdtime 120
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
holdTime | lldp:HoldTime (scalar:Uint16) | The hold time (in seconds) that a receiving device should hold the information sent by your device before discarding it. | RANGE: [1 , 255] DEFAULT: 120 |
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 Delay (in Sec) for LLDP Initialisation on any Interface
Configuring a Delay (in Sec) for LLDP Initialisation on any Interface
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"initDelayTime": "2"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<initDelayTime>5</initDelayTime>
</inst-items>
</lldp-items>
</System>
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.
lldp reinit 2
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
initDelayTime | lldp:InitDelayTime (scalar:Uint16) | The delay time (in seconds) for LLDP to initialize on any interface. | RANGE: [1 , 10] DEFAULT: 2 |
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 Delay (in Sec) for LLDP Initialisation on any Interface
Deleting a Delay (in Sec) for LLDP Initialisation on any Interface
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"initDelayTime": "2"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<initDelayTime>2</initDelayTime>
</inst-items>
</lldp-items>
</System>
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.
no lldp reinit 2
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
initDelayTime | lldp:InitDelayTime (scalar:Uint16) | The delay time (in seconds) for LLDP to initialize on any interface. | RANGE: [1 , 10] DEFAULT: 2 |
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 the Rate at Which LLDP Packets are Sent (in Sec)
Configuring the Rate at Which LLDP Packets are Sent (in Sec)
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"txFreq": "30"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<txFreq>30</txFreq>
</inst-items>
</lldp-items>
</System>
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.
lldp timer 30
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
txFreq | lldp:TxFreq (scalar:Uint16) | The transmission frequency of LLDP updates (in seconds). | RANGE: [1 , 254] DEFAULT: 30 |
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 the Rate at Which LLDP Packets are Sent (in Sec)
Deleting the Rate at Which LLDP Packets are Sent (in Sec)
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"txFreq": "30"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<txFreq>30</txFreq>
</inst-items>
</lldp-items>
</System>
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.
no lldp timer 30
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
txFreq | lldp:TxFreq (scalar:Uint16) | The transmission frequency of LLDP updates (in seconds). | RANGE: [1 , 254] DEFAULT: 30 |
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 Port ID Subtype for LLDP TLV and SNMP MIBs
Configuring a Port ID Subtype for LLDP TLV and SNMP MIBs
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"portIdSubType": "short"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<portIdSubType>short</portIdSubType>
</inst-items>
</lldp-items>
</System>
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.
lldp portid-subtype 0
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
portIdSubType | lldp:PortIdSubType (scalar:Enum8) | PortId SubType | SELECTION: 0 - long 1 - short DEFAULT: long |
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 Port ID Subtype for LLDP TLV and SNMP MIBs
Deleting a Port ID Subtype for LLDP TLV and SNMP MIBs
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"portIdSubType": "long"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<portIdSubType>long</portIdSubType>
</inst-items>
</lldp-items>
</System>
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.
no lldp portid-subtype 0
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
portIdSubType | lldp:PortIdSubType (scalar:Enum8) | PortId SubType | SELECTION: 0 - long 1 - short DEFAULT: long |
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 Management Address TLV
Configuring a Management Address TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select management-address
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Management Address TLV
Deleting a Management Address TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select management-address
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Port Description TLV
Configuring a Port Description TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select port-description
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Port Description TLV
Deleting a Port Description TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select port-description
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Port VLAN ID TLV
Configuring a Port VLAN ID TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select port-vlan
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Port VLAN ID TLV
Deleting a Port VLAN ID TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select port-vlan
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 an IEEE 8023 DTE Power via MDI TLV
Configuring an IEEE 8023 DTE Power via MDI TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select power-management
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 an IEEE 8023 DTE Power via MDI TLV
Deleting an IEEE 8023 DTE Power via MDI TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select power-management
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Capabilities TLV
Configuring a System Capabilities TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select system-capabilities
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Capabilities TLV
Deleting a System Capabilities TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select system-capabilities
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Description TLV
Configuring a System Description TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select system-description
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Description TLV
Deleting a System Description TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select system-description
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Name TLV
Configuring a System Name TLV
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select system-name
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 System Name TLV
Deleting a System Name TLV
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select system-name
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 DCBXP TLVs
Configuring DCBXP TLVs
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select dcbxp
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 DCBXP TLVs
Deleting DCBXP TLVs
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select dcbxp
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Management Address TLV v4
Configuring a Management Address TLV v4
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select management-address v4
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Management Address TLV v4
Deleting a Management Address TLV v4
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select management-address v4
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Management Address TLV v6
Configuring a Management Address TLV v6
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,mgmt-addr-v6,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
lldp tlv-select management-address v6
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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 Management Address TLV v6
Deleting a Management Address TLV v6
POST http://<mgmt0_IP>/api/mo/<DN>
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"optTlvSel": "dcbxp,mgmt-addr-v4,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<optTlvSel>dcbxp,mgmt-addr-v4,port-desc,port-vlan,power-mgmt,sys-cap,sys-desc,sys-name</optTlvSel>
</inst-items>
</lldp-items>
</System>
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.
no lldp tlv-select management-address v6
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
optTlvSel | lldp:OptTlvSel (scalar:Bitmask16) | The selectors for optional TLVs according to the LLDP protocol (802.1AB) specifications. | SELECTION: 0 - unknown 1 - port-desc 2 - sys-name 4 - sys-desc 8 - sys-cap 16 - mgmt-addr-v4 32 - port-vlan 64 - mgmt-addr-v6 128 - dcbxp 256 - power-mgmt 512 - four-wire-pwr-mgmt DEFAULT: port-desc,sys-name,sys-desc,sys-cap,mgmt-addr-v4,mgmt-addr-v6,port-vlan,dcbxp,power-mgmt,four-wire-pwr-mgmt |
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:
Enabling LLDP on Port Channels
Enabling LLDP on Port Channels
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"pcEnable": "enabled"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<pcEnable>enabled</pcEnable>
</inst-items>
</lldp-items>
</System>
Note: This example was added in Release 9.3(5).
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.
lldp port-channel
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
pcEnable | lldp:AdminSt (scalar:Enum8) | LLDP enabled on PortChannel | SELECTION: 1 - enabled 2 - disabled DEFAULT: disabled |
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:
Disabling LLDP on Port Channels
Disabling LLDP on Port Channels
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"pcEnable": "disabled"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<pcEnable>disabled</pcEnable>
</inst-items>
</lldp-items>
</System>
Note: This example was added in Release 9.3(5).
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.
no lldp port-channel
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
pcEnable | lldp:AdminSt (scalar:Enum8) | LLDP enabled on PortChannel | SELECTION: 1 - enabled 2 - disabled DEFAULT: disabled |
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 Multiple LLDP Neighbors Per Interface
Configuring Multiple LLDP Neighbors Per Interface
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"multiPeerEnable": "enabled"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<multiPeerEnable>enabled</multiPeerEnable>
</inst-items>
</lldp-items>
</System>
Note: This example was added in Release 9.3(5).
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.
lldp multi-neighbor
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
multiPeerEnable | lldp:AdminSt (scalar:Enum8) | LLDP multi-neighbor configuration | SELECTION: 1 - enabled 2 - disabled DEFAULT: disabled |
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 Multiple LLDP Neighbors Per Interface
Deleting Multiple LLDP Neighbors Per Interface
POST http://<mgmt0_IP>/api/mo/sys/lldp.json
{
"lldpEntity": {
"children": [
{
"lldpInst": {
"attributes": {
"multiPeerEnable": "disabled"
}}}]}}
{
imdata:[]
}
<System>
<lldp-items>
<inst-items>
<multiPeerEnable>disabled</multiPeerEnable>
</inst-items>
</lldp-items>
</System>
Note: This example was added in Release 9.3(5).
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.
no lldp multi-neighbor
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 |
---|---|
lldpEntity | sys/lldp |
lldpInst | sys/lldp/inst |
lldpInst Properties
The following table contains information about the lldpInst 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 |
---|---|---|---|
multiPeerEnable | lldp:AdminSt (scalar:Enum8) | LLDP multi-neighbor configuration | SELECTION: 1 - enabled 2 - disabled DEFAULT: disabled |
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: