Displaying 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]

  3. Display IS-IS adjacencies:

    show isis adjacencies

  4. Clear IS-IS LSDB:

    clear isis lsdb

Example

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

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

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

----------------------------------------------------------------------------------------------------
 3 out of 3 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.

level {l1|l2|l12}]

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

local

Displays IS-IS local LSDB information.

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 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.

Job Aid

The following sections describe the fields in the outputs for the IS-IS LSDB and adjacencies show commands.

show isis lsdb

The following table describes the fields in the output for the show isis lsdb command.

Parameter

Description

LSP ID

Indicates the LSP ID assigned to external IS-IS routing devices.

LEVEL

Indicates the level of the external router: l1, l2, or l12.

LIFETIME

Indicates the maximum age of the LSP. If the max-lsp-gen-interval is set to 900 (default) then the lifetime value begins to count down from 1200 seconds and updates after 300 seconds if connectivity remains. If the timer counts down to zero, the counter adds on an additional 60 seconds, then the LSP for that router is lost. This happens because of the zero age lifetime, which is detailed in the RFC standards.

SEQNUM

Indicates the LSP sequence number. This number changes each time the LSP is updated.

CHKSUM

Indicates the LSP checksum. This is an error checking mechanism used to verify the validity of the IP packet.

HOST-NAME

Indicates the hostname listed in the LSP. If the host name is not configured, then the system name is displayed.

show isis adjacencies

The following table describes the fields in the output for the show isis adjacencies command.

Parameter

Description

INTERFACE

Indicates the interface port, MLT, or logical interface on which IS-IS exists.

L

Indicates the level of the adjacent router.

STATE

Indicates the state of IS-IS on the interface (enabled [UP] or disabled [DOWN]). The state is non-configurable.

UPTIME

Indicates the length of time the adjacency has been up in ddd hh:mm:ss format.

PRI

Indicates the priority of the neighboring Intermediate System for becoming the Designated Intermediate System (DIS).

HOLDTIME

Indicates the calculated hold time for the Hello (hello multiplier x hello interval); if the route is determined to be a designated router, then the product is divided by 3.

SYSID

Indicates the adjacent system ID of the router.

HOST-NAME

Indicates the hostname listed in the LSP. If the host name is not configured, then the system name is displayed.

STATUS

Indicates if the adjacency is active.