Display IS-IS LSDB and Adjacencies

Use the following procedure to display the IS-IS LSDB and adjacencies.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display the IS-IS LSDB:

    show isis lsdb [level {l1|l2|l12}] [sysid <xxxx.xxxx.xxxx>] [lspid <xxxx.xxxx.xxxx.xx-xx>] [tlv <1–236>] [detail] [home|remote]

  3. Display IS-IS adjacencies:

    show isis adjacencies [home|remote]

  4. Clear IS-IS LSDB:

    clear isis lsdb

Example

Switch:1# show isis lsdb
================================================================================
                                   ISIS LSDB
================================================================================
LSP ID                  LEVEL  LIFETIME  SEQNUM  CHKSUM   HOST-NAME      AREA  
--------------------------------------------------------------------------------
0014.c7e1.33df.00-00     1      545       0xb1    0xed28   NewYork       HOME   
0016.ca23.73df.00-00     1      1119      0x9f    0x9c9d   Switch-Lab2   HOME
0018.b0bb.b3df.00-00     1      708       0xb9    0xcb1a   Switch-Lab1   HOME 

--------------------------------------------------------------------------------
Level-1 HOME AREA: 3 out of 3 Total Num of LSP Entries
Level-1 REMOTE AREA: 0 out of 3 Total Num of LSP Entries
Level-2 HOME AREA: 0 out of 0 Total Num of LSP Entries
Level-2 REMOTE AREA: 0 out of 3 Total Num of LSP Entries

Switch:1# show isis adjacencies
====================================================================================================
                                ISIS Adjacencies
====================================================================================================
INTERFACE L STATE  UPTIME   PRI  HOLDTIME   SYSID          HOST-NAME     STATUS   AREA  AREA-NAME
----------------------------------------------------------------------------------------------------
Port1/11  1  UP    05:02:18 127   22      beb0.0000.7204   Switch-Lab1   ACTIVE   HOME  area-9.00.02 
Port1/12  1  UP    05:00:18 127   25      beb0.0000.7204   Switch-Lab2   BACKUP   HOME  area-9.00.02
Port1/16  1  UP    05:00:25 127   24      beb0.0000.7204   Switch-Lab3   BACKUP   HOME  area-9.00.02

----------------------------------------------------------------------------------------------------
 Home:   3 out of 3 interfaces have formed an adjacency
 Remote: 0 out of 0 interfaces have formed an adjacency

----------------------------------------------------------------------------------------------------
Switch:1> show isis lsdb detail

================================================================================
                               ISIS LSDB (DETAIL)
================================================================================
--------------------------------------------------------------------------------

Level-1 LspID: 0001.bcb0.0003.00-001     SeqNum: 0x00000522      Lifetime:  1144
        Chksum: 0x32f7  PDU Length: 312
        Host_name: C0
        Attributes:     IS-Type 1
TLV:1   Area Addresses: 1
                c1.3000.0000.00

TLV:22  Extended IS reachability:
        Adjacencies: 7
        TE Neighbors: 7
                0000.beb1.0007.01 (Switch0)         Metric:10
                        SPBM Sub TLV:
                                port id: 640 num_port 1
                                Metric: 10
                0000.beb1.00b1.01 (Switch1)        Metric:10

                        SPBM Sub TLV:

                                port id: 643 num_port 1

                                Metric: 10

                0000.bcb1.0004.01 (C1)  Metric:10

                        SPBM Sub TLV:

                                port id: 6144 num_port 1

                                Metric: 10

                0000.beb1.00ca.01 (Switch2)        Metric:10

                        SPBM Sub TLV:

                                port id: 6156 num_port 1

                                Metric: 10

                0000.beb1.00a5.01 (VSS0)        Metric:10

                        SPBM Sub TLV:

                                port id: 651 num_port 1

                                Metric: 10

                0000.beb1.00b2.01 (VSS1)        Metric:10

                        SPBM Sub TLV:

                                port id: 645 num_port 1

                                Metric: 10

                0000.beb1.0008.01 (Switch1)         Metric:10

                        SPBM Sub TLV:

                                port id: 652 num_port 1

                                Metric: 10

TLV:129 Protocol Supported: SPBM

TLV:137 Host_name: C0#

TLV:144 SUB-TLV 1       SPBM INSTANCE:
                Instance: 0
                bridge_pri: 0
                OUI: 00-33-33
                num of trees: 2
                vid tuple : u-bit 1 m-bit 1 ect-alg 0x80c201 base vid 1000
                vid tuple : u-bit 1 m-bit 1 ect-alg 0x80c202 base vid 1001
TLV:144 SUB-TLV 3       ISID:
                Instance: 0
                Metric: 0
                B-MAC: 00-00-bc-b1-00-03
                BVID:1000
                Number of ISID's:8
                        3001(Both),3002(Rx),3003(Both),3004(Rx),4001(Both),4002(
Rx),4003(Both),4004(Rx)


                Instance: 0
                Metric: 0
                B-MAC: 00-00-bc-b1-00-03

--More-- (q = quit)

Variable Definitions

The following table defines parameters for the show isis lsdb command.

Variable

Value

detail

Displays detailed information.

home

Displays the IS-IS LSDB information that the system configures in the home area.

level {l1|l2|l12}]

Displays the LSDB for the specified level: l1, l2, or l12.

local

Displays IS-IS local LSDB information.

remote

Displays the IS-IS LSDB information that the system configures in the remote area.

sysid <xxxx.xxxx.xxxx>

Displays the LSDB for the specified system ID.

lspid <xxxx.xxxx.xxxx.xx-xx>

Displays the LSDB for the specified LSP ID.

tlv <1–236>

Displays the LSDB by TLV type.

The following table defines parameters for the show isis adjacencies command.

Variable

Value

home

Displays the IS-IS adjacencies that the system configures in the home area.

remote

Displays the IS-IS adjacencies that the system configures in the remote area.

The following table defines parameters for the clear isis command.

Variable

Value

lsdb

Clears the IS-IS Link State Database (LSDB). The command clears learned LSPs only. The command does not clear local generated LSPs. As soon as the platform clears the LSDB the LSP synchronization process starts immediately and the LSDB synchronizes with its neighbors.