show lisp commands

show lisp ddt queue

show lisp ddt queue
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp ddt queue ”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "default", 
      "queue-count": 0, 
      "queue-hwm": 0
    }
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <ddt>
     <queue>
      <__readonly__>
       <TABLE_vrf>
        <ROW_vrf>
         <vrf-name>default</vrf-name>
         <queue-count>0</queue-count>
         <queue-hwm>0</queue-hwm>
        </ROW_vrf>
       </TABLE_vrf>
      </__readonly__>
     </queue>
    </ddt>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp ddt queue**

LISP-DDT Map-Request Queue in VRF "default", 0 entries in queue, hwm: 0

show lisp ddt referral cache

show lisp ddt referral cache
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp ddt referral cache”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "default", 
      "ddt-referral-count": 1, 
      "TABLE_entry": {
        "ROW_entry": {
          "uptime": "00:09:11", 
          "root-entry": "true", 
          "TABLE_referrals": {
            "ROW_referrals": {
              "ddt-node-addr": "10.1.1.1", 
              "requests-sent-count": 0, 
              "no-responses-count": 0, 
              "dont-use": "false"
            }
          }
        }
      }
    }
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <ddt>
     <referral-cache>
      <__readonly__>
       <TABLE_vrf>
        <ROW_vrf>
         <vrf-name>default</vrf-name>
         <ddt-referral-count>1</ddt-referral-count>
         <TABLE_entry>
          <ROW_entry>
           <uptime>00:09:13</uptime>
           <root-entry>true</root-entry>
           <TABLE_referrals>
            <ROW_referrals>
             <ddt-node-addr>10.1.1.1</ddt-node-addr>
             <requests-sent-count>0</requests-sent-count>
             <no-responses-count>0</no-responses-count>
             <dont-use>false</dont-use>
            </ROW_referrals>
           </TABLE_referrals>
          </ROW_entry>
         </TABLE_entry>
        </ROW_vrf>
       </TABLE_vrf>
      </__readonly__>
     </referral-cache>
    </ddt>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp ddt referral cache **

LISP-DDT Referral Cache in VRF "default", 1 entries

[*] *, uptime: 00:09:06, roots: -> 10.1.1.1, requests-sent: 0, no-responses: 0

show lisp ddt

show lisp ddt
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp ddt”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "default", 
      "ddt-ip-mr-configured": "false", 
      "ddt-ipv6-mr-configured": "false", 
      "ddt-ip-ms-configured": "false", 
      "ddt-ipv6-ms-configured": "false", 
      "ddt-root-addr": "10.1.1.1", 
      "ddt-number-delegated": 1, 
      "TABLE_ddtdelegate": {
        "ROW_ddtdelegate": {
          "eid-addr": "10:10:10::", 
          "eid-mask-len": 48, 
          "iid": 0, 
          "ddt-node-addr": "10.1.1.1", 
          "priority": 0, 
          "weight": 0, 
          "ms-peer": "true", 
          "ms-child": "false", 
          "local": "false"
        }
      }, 
      "ddt-auth-prefix-count": 1, 
      "TABLE_ddtauthpfx": {
        "ROW_ddtauthpfx": {
          "auth-eid-addr": "20.1.0.0", 
          "auth-eid-mask-len": 16, 
          "auth-iid": 0
        }
      }
    }
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <ddt>
     <__readonly__>
      <TABLE_vrf>
       <ROW_vrf>
        <vrf-name>default</vrf-name>
        <ddt-ip-mr-configured>false</ddt-ip-mr-configured>
        <ddt-ipv6-mr-configured>false</ddt-ipv6-mr-configured>
        <ddt-ip-ms-configured>false</ddt-ip-ms-configured>
        <ddt-ipv6-ms-configured>false</ddt-ipv6-ms-configured>
        <ddt-root-addr>10.1.1.1</ddt-root-addr>
        <ddt-number-delegated>1</ddt-number-delegated>
        <TABLE_ddtdelegate>
         <ROW_ddtdelegate>
          <eid-addr>10:10:10::</eid-addr>
          <eid-mask-len>48</eid-mask-len>
          <iid>0</iid>
          <ddt-node-addr>10.1.1.1</ddt-node-addr>
          <priority>0</priority>
          <weight>0</weight>
          <ms-peer>true</ms-peer>
          <ms-child>false</ms-child>
          <local>false</local>
         </ROW_ddtdelegate>
        </TABLE_ddtdelegate>
        <ddt-auth-prefix-count>1</ddt-auth-prefix-count>
        <TABLE_ddtauthpfx>
         <ROW_ddtauthpfx>
          <auth-eid-addr>20.1.0.0</auth-eid-addr>
          <auth-eid-mask-len>16</auth-eid-mask-len>
          <auth-iid>0</auth-iid>
         </ROW_ddtauthpfx>
        </TABLE_ddtauthpfx>
       </ROW_vrf>
      </TABLE_vrf>
     </__readonly__>
    </ddt>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp ddt **

LISP-DDT Configuration in VRF "default"
  Configured DDT roots: 10.1.1.1  
  Configured DDT delegated nodes/map-servers: 
    [0] 10:10:10::/48 -> 10.1.1.1, p/w: 0/0, map-server-peer
  Configured authoritative EID-prefixes: 
    [0] 20.1.0.0/16


show lisp dynamic eid

show lisp dynamic eid
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp dynamic eid ”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "subscriber-5001", 
      "TABLE_dyneid": {
        "ROW_dyneid": {
          "dyn-eid-name": "mob_subscriber-5001", 
          "iid": 5001, 
          "eid-addr": "6.6.6.0", 
          "eid-mask-len": 24, 
          "loc-status-bits": 1, 
          "TABLE_loc": {
            "ROW_loc": {
              "loc-addr": "10.10.10.3", 
              "loc-priority": 1, 
              "loc-weight": 100, 
              "loc-uptime": "00:56:44", 
              "loc-state": "up", 
              "local": "true", 
              "map-notify-created": "false"
            }
          }, 
          "redistribute": "false", 
          "more-specific": "true", 
          "register-routes": "true", 
          "use-global-ms": "true", 
          "esm-if-config-count": 0, 
          "count-discovered-roaming-eid": 1, 
          "last-dyn-eid-src-addr": "6.6.6.100", 
          "time-since-last-discovery": "00:56:44"
        }
      }
    }
  }
}
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <dynamic-eid>
     <vrf>
      <__XML__PARAM__vrf-known-name>
       <__XML__value>subscriber-5001</__XML__value>
       <__readonly__>
        <TABLE_vrf>
         <ROW_vrf>
          <vrf-name>subscriber-5001</vrf-name>
          <TABLE_dyneid>
           <ROW_dyneid>
            <dyn-eid-name>mob_subscriber-5001</dyn-eid-name>
            <iid>5001</iid>
            <eid-addr>6.6.6.0</eid-addr>
            <eid-mask-len>24</eid-mask-len>
            <loc-status-bits>1</loc-status-bits>
            <TABLE_loc>
             <ROW_loc>
              <loc-addr>10.10.10.3</loc-addr>
              <loc-priority>1</loc-priority>
              <loc-weight>100</loc-weight>
              <loc-uptime>00:56:47</loc-uptime>
              <loc-state>up</loc-state>
              <local>true</local>
              <map-notify-created>false</map-notify-created>
             </ROW_loc>
            </TABLE_loc>
            <redistribute>false</redistribute>
            <more-specific>true</more-specific>
            <register-routes>true</register-routes>
            <use-global-ms>true</use-global-ms>
            <esm-if-config-count>0</esm-if-config-count>
            <count-discovered-roaming-eid>1</count-discovered-roaming-eid>
            <last-dyn-eid-src-addr>6.6.6.100</last-dyn-eid-src-addr>
            <time-since-last-discovery>00:56:47</time-since-last-discovery>
           </ROW_dyneid>
          </TABLE_dyneid>
         </ROW_vrf>
        </TABLE_vrf>
       </__readonly__>
      </__XML__PARAM__vrf-known-name>
     </vrf>
    </dynamic-eid>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp dynamic eid**

LISP Dynamic EID Information for VRF "subscriber-5001" Dynamic-EID name: mob_subscriber-5001 Database-mapping [5001] EID-prefix: 6.6.6.0/24, LSBs: 0x00000001 Locator: 10.10.10.3, priority: 1, weight: 100 Uptime: 00:56:43, state: up, local Registering more-specific dynamic-EIDs Registering routes: enabled Allowed-list filter: none applied Map-Server(s): none configured, use global Map-Server Site-based multicast Map-Notify group: none configured Number of roaming dynamic-EIDs discovered: 1 Last dynamic-EID discovered: 6.6.6.100, 00:56:43 ago

show lisp elp

show lisp elp
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp elp”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "vrf-name": "provider-6001", 
  "TABLE_elp": {
    "ROW_elp": {
      "elp-name": "customer2", 
      "elp-count": 2, 
      "TABLE_elplines": {
        "ROW_elplines": [
          {
            "seqno": 1, 
            "locator-addr": "10.10.0.1", 
            "etr": "false", 
            "eid": "true", 
            "rtr": "false", 
            "strict": "false", 
            "probe": "true"
          }, 
          {
            "seqno": 2, 
            "locator-addr": "20.20.0.1", 
            "etr": "false", 
            "eid": "true", 
            "rtr": "false", 
            "strict": "false", 
            "probe": "true"
          }
        ]
      }
    }
  }
}
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <elp>
     <vrf>
      <__XML__PARAM__vrf-known-name>
       <__XML__value>provider-6001</__XML__value>
       <__readonly__>
        <vrf-name>provider-6001</vrf-name>
        <TABLE_elp>
         <ROW_elp>
          <elp-name>customer2</elp-name>
          <elp-count>2</elp-count>
          <TABLE_elplines>
           <ROW_elplines>
            <seqno>1</seqno>
            <locator-addr>10.10.0.1</locator-addr>
            <etr>false</etr>
            <eid>true</eid>
            <rtr>false</rtr>
            <strict>false</strict>
            <probe>true</probe>
           </ROW_elplines>
           <ROW_elplines>
            <seqno>2</seqno>
            <locator-addr>20.20.0.1</locator-addr>
            <etr>false</etr>
            <eid>true</eid>
            <rtr>false</rtr>
            <strict>false</strict>
            <probe>true</probe>
           </ROW_elplines>
          </TABLE_elplines>
         </ROW_elp>
        </TABLE_elp>
       </__readonly__>
      </__XML__PARAM__vrf-known-name>
     </vrf>
    </elp>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp elp **

LISP Configured Explicit Locator Paths (ELPs) in VRF "provider-6001"
ELP Name: customer2
  1 eid 10.10.0.1, probe
  2 eid 20.20.0.1, probe

show lisp iid-subscription

show lisp iid-subscription
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp iid-subscription”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "vrf-name": "vrf-underlay", 
  "TABLE_session": {
    "ROW_session": [
      {
        "session": "10.10.10.10", 
        "creation-time": "00:43:56", 
        "state": "Up", 
        "up-down-timer": "00:21:18", 
        "bytes-in": 31, 
        "bytes-out": 0, 
        "users": 3
      }, 
      {
        "session": "10.10.10.11", 
        "creation-time": "00:43:56", 
        "state": "Up", 
        "up-down-timer": "00:21:33", 
        "bytes-in": 31, 
        "bytes-out": 0, 
        "users": 3
      }
    ]
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <iid-subscription>
     <__readonly__>
      <vrf-name>vrf-underlay</vrf-name>
      <TABLE_session>
       <ROW_session>
        <session>10.10.10.10</session>
        <creation-time>00:43:59</creation-time>
        <state>Up</state>
        <up-down-timer>00:21:21</up-down-timer>
        <bytes-in>31</bytes-in>
        <bytes-out>0</bytes-out>
        <users>3</users>
       </ROW_session>
       <ROW_session>
        <session>10.10.10.11</session>
        <creation-time>00:43:59</creation-time>
        <state>Up</state>
        <up-down-timer>00:21:36</up-down-timer>
        <bytes-in>31</bytes-in>
        <bytes-out>0</bytes-out>
        <users>3</users>
       </ROW_session>
      </TABLE_session>
     </__readonly__>
    </iid-subscription>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp iid-subscription**

Reliable Sessions for vrf vrf-underlay, total: 2
Peer                           CreationTime  State      Up/Down    In/Out  Users 
10.10.10.10                    00:43:56      Up         00:21:17    31/0   3     
    AF	 Subscribed iids

Peer CreationTime State Up/Down In/Out Users 10.10.10.11 00:43:55 Up 00:21:33 31/0 3
AF Subscribed iids

show lisp l2rib convergence

show lisp l2rib convergence
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp l2rib convergence ”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_l3": {
    "ROW_l3": [
      {
        "l3_context_id": 1, 
        "l3_vni": 0, 
        "l3_lcib_vni": 0, 
        "l3_nve_iod": 0, 
        "l3_lcib_nve": 0, 
        "l3_stale": "F", 
        "l3_lcib_stale": "F"
      }, 
      {
        "l3_context_id": 3, 
        "l3_vni": 6001, 
        "l3_lcib_vni": 6001, 
        "l3_nve_iod": 305, 
        "l3_lcib_nve": 305, 
        "l3_stale": "F", 
        "l3_lcib_stale": "F"
      }, 
      {
        "l3_context_id": 4, 
        "l3_vni": 5001, 
        "l3_lcib_vni": 5001, 
        "l3_nve_iod": 305, 
        "l3_lcib_nve": 305, 
        "l3_stale": "F", 
        "l3_lcib_stale": "F"
      }, 
      {
        "l3_context_id": 5, 
        "l3_vni": 5002, 
        "l3_lcib_vni": 5002, 
        "l3_nve_iod": 305, 
        "l3_lcib_nve": 305, 
        "l3_stale": "F", 
        "l3_lcib_stale": "F"
      }, 
      {
        "l3_context_id": 6, 
        "l3_vni": 0, 
        "l3_lcib_vni": 0, 
        "l3_nve_iod": 0, 
        "l3_lcib_nve": 0, 
        "l3_stale": "F", 
        "l3_lcib_stale": "F"
      }
    ]
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <l2rib>
     <convergence>
      <__readonly__>
       <TABLE_l3>
        <ROW_l3>
         <l3_context_id>1</l3_context_id>
         <l3_vni>0</l3_vni>
         <l3_lcib_vni>0</l3_lcib_vni>
         <l3_nve_iod>0</l3_nve_iod>
         <l3_lcib_nve>0</l3_lcib_nve>
         <l3_stale>F</l3_stale>
         <l3_lcib_stale>F</l3_lcib_stale>
        </ROW_l3>
        <ROW_l3>
         <l3_context_id>3</l3_context_id>
         <l3_vni>6001</l3_vni>
         <l3_lcib_vni>6001</l3_lcib_vni>
         <l3_nve_iod>305</l3_nve_iod>
         <l3_lcib_nve>305</l3_lcib_nve>
         <l3_stale>F</l3_stale>
         <l3_lcib_stale>F</l3_lcib_stale>
        </ROW_l3>
        <ROW_l3>
         <l3_context_id>4</l3_context_id>
         <l3_vni>5001</l3_vni>
         <l3_lcib_vni>5001</l3_lcib_vni>
         <l3_nve_iod>305</l3_nve_iod>
         <l3_lcib_nve>305</l3_lcib_nve>
         <l3_stale>F</l3_stale>
         <l3_lcib_stale>F</l3_lcib_stale>
        </ROW_l3>
        <ROW_l3>
         <l3_context_id>5</l3_context_id>
         <l3_vni>5002</l3_vni>
         <l3_lcib_vni>5002</l3_lcib_vni>
         <l3_nve_iod>305</l3_nve_iod>
         <l3_lcib_nve>305</l3_lcib_nve>
         <l3_stale>F</l3_stale>
         <l3_lcib_stale>F</l3_lcib_stale>
        </ROW_l3>
        <ROW_l3>
         <l3_context_id>6</l3_context_id>
         <l3_vni>0</l3_vni>
         <l3_lcib_vni>0</l3_lcib_vni>
         <l3_nve_iod>0</l3_nve_iod>
         <l3_lcib_nve>0</l3_lcib_nve>
         <l3_stale>F</l3_stale>
         <l3_lcib_stale>F</l3_lcib_stale>
        </ROW_l3>
       </TABLE_l3>
      </__readonly__>
     </convergence>
    </l2rib>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp l2rib convergence**

L3 VNI Convergence DB Info
Context ID: 1
    VNI:        0
    LCIB-VNI:   0
    NVE_IOD:    0
    LCIB-NVE:   0
    STALE:      F
    LCIB-STALE: F
Context ID: 3
    VNI:        6001
    LCIB-VNI:   6001
    NVE_IOD:    305
    LCIB-NVE:   305
    STALE:      F
    LCIB-STALE: F
Context ID: 4
    VNI:        5001
    LCIB-VNI:   5001
    NVE_IOD:    305
    LCIB-NVE:   305
    STALE:      F
    LCIB-STALE: F
Context ID: 5
    VNI:        5002
    LCIB-VNI:   5002
    NVE_IOD:    305
    LCIB-NVE:   305
    STALE:      F
    LCIB-STALE: F
Context ID: 6
    VNI:        0
    LCIB-VNI:   0
    NVE_IOD:    0
    LCIB-NVE:   0
    STALE:      F
    LCIB-STALE: F

L2 VNI Convergence DB Info

show lisp proxy itr

show lisp proxy itr
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp proxy itr”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "provider-6001", 
      "pitr-addr": "10.10.10.2"
    }
  }
}
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.0.SK.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <proxy-itr>
     <vrf>
      <__XML__PARAM__vrf-known-name>
       <__XML__value>provider-6001</__XML__value>
       <__readonly__>
        <TABLE_vrf>
         <ROW_vrf>
          <vrf-name>provider-6001</vrf-name>
          <pitr-addr>10.10.10.2</pitr-addr>
         </ROW_vrf>
        </TABLE_vrf>
       </__readonly__>
      </__XML__PARAM__vrf-known-name>
     </vrf>
    </proxy-itr>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp proxy itr**

Discovered Proxy-ITRs (PITRs) in VRF "provider-6001" 10.10.10.2

show lisp session

show lisp session
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp session”,
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "vrf-name": "vrf-underlay", 
  "TABLE_session": {
    "ROW_session": [
      {
        "session": "10.10.10.10", 
        "creation-time": "00:31:37", 
        "state": "Up", 
        "up-down-timer": "00:08:59", 
        "bytes-in": 31, 
        "bytes-out": 0, 
        "users": 3
      }, 
      {
        "session": "10.10.10.11", 
        "creation-time": "00:31:36", 
        "state": "Up", 
        "up-down-timer": "00:09:14", 
        "bytes-in": 31, 
        "bytes-out": 0, 
        "users": 3
      }
    ]
  }
}

<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <session>
     <__readonly__>
      <vrf-name>vrf-underlay</vrf-name>
      <TABLE_session>
       <ROW_session>
        <session>10.10.10.10</session>
        <creation-time>00:31:39</creation-time>
        <state>Up</state>
        <up-down-timer>00:09:01</up-down-timer>
        <bytes-in>31</bytes-in>
        <bytes-out>0</bytes-out>
        <users>3</users>
       </ROW_session>
       <ROW_session>
        <session>10.10.10.11</session>
        <creation-time>00:31:39</creation-time>
        <state>Up</state>
        <up-down-timer>00:09:17</up-down-timer>
        <bytes-in>31</bytes-in>
        <bytes-out>0</bytes-out>
        <users>3</users>
       </ROW_session>
      </TABLE_session>
     </__readonly__>
    </session>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show lisp session**

Reliable Sessions for vrf vrf-underlay, total: 2
Peer                           CreationTime  State      Up/Down    In/Out  Users 
10.10.10.10                    00:31:36      Up         00:08:58    31/0   3     
10.10.10.11                    00:31:36      Up         00:09:13    31/0   3     

show ipv6 lisp translate-cache

show ipv6 lisp translate-cache
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <ipv6>
    <lisp>
     <translate-cache>
      <__readonly__>
       <vrf-name>default</vrf-name>
       <entry-count>1</entry-count>
       <TABLE_tcache>
        <ROW_tcache>
         <inside-addr>192::1</inside-addr>
         <outside-addr>1::1</outside-addr>
         <into-site-count>0</into-site-count>
         <outof-site-count>0</outof-site-count>
         <last-ingress>never</last-ingress>
         <last-egress>never</last-egress>
        </ROW_tcache>
       </TABLE_tcache>
      </__readonly__>
     </translate-cache>
    </lisp>
   </ipv6>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

For command descriptions, see the Cisco Nexus 7000 Series Switches Command References.

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).  

CLI Output

switch# **show ipv6 lisp translate-cache **

LISP EID Translation Cache for VRF "default" - 1 entries Inside: 192::1 outside: 1::1, ingress/egress count: 0/0 Last ingress packet: never, last egress packet: never

show lisp dynamic eid summary

show lisp dynamic eid summary
 
import requests
import json
 
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
 
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show lisp dynamic eid summary",
  "output_format": "json"
}
 
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
  "TABLE_vrf": {
    "ROW_vrf": {
      "vrf-name": "subscriber-5001", 
      "TABLE_summary": {
        "ROW_summary": {
          "dyn-eid-name": "mob_subscriber", 
          "eid-addr": "6.6.6.100", 
          "learned-map-notify": "false", 
          "learned-igp": "true", 
          "learned-eid-notify": "false", 
          "if-name": "loopback3", 
          "uptime": "00:56:48", 
          "last-packet-in": "00:56:48", 
          "ping-pending": 0, 
          "smr": "false"
        }
      }
    }
  }
}
<?xml version="1.0" encoding="ISO-8859-1"?>
<nf:rpc-reply xmlns="http://www.cisco.com/nxos:8.3.1.:lisp" xmlns:nf="urn:ietf:params:xml:ns:netconf:base:1.0">
 <nf:data>
  <show>
   <lisp>
    <dynamic-eid>
     <summary>
      <vrf>
       <__XML__PARAM__vrf-known-name>
        <__XML__value>subscriber-5001</__XML__value>
        <__readonly__>
         <TABLE_vrf>
          <ROW_vrf>
           <vrf-name>subscriber-5001</vrf-name>
           <TABLE_summary>
            <ROW_summary>
             <dyn-eid-name>mob_subscriber</dyn-eid-name>
             <eid-addr>6.6.6.100</eid-addr>
             <learned-map-notify>false</learned-map-notify>
             <learned-igp>true</learned-igp>
             <learned-eid-notify>false</learned-eid-notify>
             <if-name>loopback3</if-name>
             <uptime>00:56:51</uptime>
             <last-packet-in>00:56:51</last-packet-in>
             <ping-pending>0</ping-pending>
             <smr>false</smr>
            </ROW_summary>
           </TABLE_summary>
          </ROW_vrf>
         </TABLE_vrf>
        </__readonly__>
       </__XML__PARAM__vrf-known-name>
      </vrf>
     </summary>
    </dynamic-eid>
   </lisp>
  </show>
 </nf:data>
</nf:rpc-reply>
]]>]]>

Note: This sample output is generated for Cisco Nexus 7000 Series NX-OS Release 8.3(1).