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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html

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

For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html

See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html

For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html