Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show isis database

    Syntax

    show isis database <brief | detail | extensive><instance instance-name><level (1 | 2)><logical-system (all | logical-system-name)>

    Syntax (EX Series Switch and QFX Series)

    show isis database <brief | detail | extensive><level (1 | 2)><instance instance-name>

    Release Information

    Command introduced before Junos OS Release 7.4.

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Command introduced in Junos OS Release 12.1 for the QFX Series.

    Description

    Display the entries in the Intermediate System-to-Intermediate System (IS-IS) link-state database, which contains data about PDU packets.

    Options

    none

    Display standard information about IS-IS link-state database entries for all routing instances.

    brief | detail | extensive

    (Optional) Display the specified level of output.

    instance instance-name

    (Optional) Display entries for the specified routing instance.

    level (1 | 2)

    (Optional) Display entries for the specified IS-IS level.

    logical-system (all | logical-system-name)

    (Optional) Perform this operation on all logical systems or on a particular logical system.

    Required Privilege Level

    view

    List of Sample Output

    show isis database
    show isis database brief
    show isis database detail
    show isis database extensive

    Output Fields

    Table 1 describes the output fields for the show isis database command. Output fields are listed in the approximate order in which they appear. Fields that contain internal IS-IS information useful only in troubleshooting obscure problems are not described in the table. For more details about these fields, contact your customer support representative.

    Table 1: show isis database Output Fields

    Field Name

    Field Description

    Level of Output

    Interface name

    Name of the interface on which the LSP has been received; always IS-IS for this command.

    All levels

    level

    Level of intermediate system:

    • 1—Intermediate system routes within an area; when the destination is outside an area, it routes toward a Level 2 system.
    • 2—Intermediate system routes between areas and toward other ASs.

    All levels

    LSP ID

    Link-state PDU identifier.

    All levels

    Sequence

    Sequence number of the link-state PDU.

    All levels

    Checksum

    Checksum value of the link-state PDU.

    All levels

    Lifetime (secs)

    Remaining lifetime of the link-state PDU, in seconds.

    All levels

    Attributes

    Attributes of the specified database: L1, L2, Overload, or Attached (L1 only).

    none brief

    # LSPs

    Total number of LSPs in the specified link-state database.

    none brief

    IP prefix

    Prefix advertised by this link-state PDU.

    detail extensive

    IS neighbor

    IS-IS neighbor of the advertising system.

    detail extensive

    ES neighbor

    (J Series routers only) An ES-IS neighbor of the advertising system.

    detail extensive

    IP prefix

    IPv4 prefix advertised by this link-state PDU.

    detail extensive

    V6 prefix

    IPv6 prefix advertised by this link-state PDU.

    detail extensive

    Metric

    Metric of the prefix or neighbor.

    detail extensive

    Header

    • LSP ID—Link state PDU identifier of the header.
    • Length—Header length.
    • Allocated Length—Amount of length available for the header.
    • Router ID—Address of the local routing device.
    • Remaining Lifetime—Remaining lifetime of the link-state PDU, in seconds.

    extensive

    Packet

    • LSP ID—The identifier for the link-state packet.
    • Length—Packet length.
    • Lifetime—Remaining lifetime, in seconds.
    • Checksum—The checksum of the LSP.
    • Sequence—The sequence number of the LSP. Every time the LSP is updated, this number increments.
    • Attributes—Packet attributes.
    • NLPID—Network layer protocol identifier.
    • Fixed length—Specifies the set length for the packet.

    extensive

    TLVs

    • Area Address—Area addresses that the routing device can reach.
    • Speaks—Supported routing protocols.
    • IP router id—ID of the routing device (usually the IP address).
    • IP address—IPv4 address.
    • Hostname—Assigned name of the routing device.
    • IP prefix—IP prefix of the routing device.
    • Metric—IS-IS metric that measures the cost of the adjacency between the originating routing device and the advertised routing device.
    • IP extended prefix—Extended IP prefix of the routing device.
    • IS neighbor—Directly attached neighbor’s name and metric.
    • IS extended neighbor—Directly attached neighbor’s name, metric, and IP address.

    extensive

    Sample Output

    show isis database

    user@host> show isis database
    IS-IS level 1 link-state database:
    LSP ID                      Sequence Checksum Lifetime Attributes
    kobuk.00-00                      0x3   0x3167     1057 L1 L2
    camaro.00-00                     0x5   0x770e     1091 L1 L2
    ranier.00-00                     0x4   0xaa95     1091 L1 L2
    glacier.00-00                    0x4   0x206f     1089 L1 L2
    glacier.02-00                    0x1   0xd141     1089 L1 L2
    badlands.00-00                   0x3   0x87a2     1093 L1 L2
      6 LSPs
    
    IS-IS level 2 link-state database:
    LSP ID                      Sequence Checksum Lifetime Attributes
    kobuk.00-00                      0x6   0x8d6b     1096 L1 L2
    camaro.00-00                     0x9   0x877b     1101 L1 L2
    ranier.00-00                     0x8   0x855d     1103 L1 L2
    glacier.00-00                    0x7   0xf892     1098 L1 L2
    glacier.02-00                    0x1   0xd141     1089 L1 L2
    badlands.00-00                   0x6    0x562     1105 L1 L2
      6 LSPs

    show isis database brief

    The output for the show isis database brief command is identical to that for the show isis database command. For sample output, see show isis database.

    show isis database detail

    user@host> show isis database logical-system CE3 sisira.00-00 detail
    IS-IS level 1 link-state database:
    
    sisira.00-00 Sequence: 0x11, Checksum: 0x10fc, Lifetime: 975 secs
       IS neighbor: hemantha-CE3.02               Metric:       10
       ES neighbor: 0015.0015.0015                Metric:       10 Down
       ES neighbor: 0025.0025.0025                Metric:       10 Down
       ES neighbor: 0030.0030.0030                Metric:       10 Down
       ES neighbor: 0040.0040.0040                Metric:       10 Down
       ES neighbor: sisira                        Metric:        0
       IP prefix: 1.0.0.0/24                      Metric:       10 External Down
       IP prefix: 3.0.0.0/24                      Metric:       10 External Down
       IP prefix: 4.0.0.0/24                      Metric:       10 External Down
       IP prefix: 5.0.0.0/24                      Metric:       10 Internal Up
       IP prefix: 15.15.15.15/32                  Metric:       10 External Down
       IP prefix: 25.25.25.25/32                  Metric:       10 External Down
       IP prefix: 30.30.30.30/32                  Metric:       10 External Down
       IP prefix: 40.40.40.40/32                  Metric:       10 External Down
       IP prefix: 60.60.60.60/32                  Metric:        0 Internal Up
    
    IS-IS level 2 link-state database:
    
    sisira.00-00 Sequence: 0x13, Checksum: 0x69ac, Lifetime: 993 secs
       IS neighbor: hemantha-CE3.02               Metric:       10
       IP prefix: 1.0.0.0/24                      Metric:       10 External Down
       IP prefix: 3.0.0.0/24                      Metric:       10 External Down
       IP prefix: 4.0.0.0/24                      Metric:       10 External Down
       IP prefix: 5.0.0.0/24                      Metric:       10 Internal Up
       IP prefix: 15.15.15.15/32                  Metric:       10 External Down
       IP prefix: 25.25.25.25/32                  Metric:       10 External Down
       IP prefix: 30.30.30.30/32                  Metric:       10 External Down
       IP prefix: 40.40.40.40/32                  Metric:       10 External Down
       IP prefix: 50.50.50.50/32                  Metric:       10 Internal Up
       IP prefix: 60.60.60.60/32                  Metric:        0 Internal Up
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0015.0015.0015/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0025.0025.0025/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0030.0030.0030/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0040.0040.0040/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0060.0060.0060/152
                                                  Metric:        0 Internal Up

    show isis database extensive

    user@host> show isis database logical-system CE3 sisira.00-00 extensive
    IS-IS level 1 link-state database:
    
    sisira.00-00 Sequence: 0x11, Checksum: 0x10fc, Lifetime: 970 secs
       IS neighbor: hemantha-CE3.02               Metric:       10
         Two-way fragment: hemantha-CE3.02-00, Two-way first fragment: hemantha-CE3.02-00
       ES neighbor: 0015.0015.0015                Metric:       10 Down
       ES neighbor: 0025.0025.0025                Metric:       10 Down
       ES neighbor: 0030.0030.0030                Metric:       10 Down
       ES neighbor: 0040.0040.0040                Metric:       10 Down
       ES neighbor: sisira                        Metric:        0
       IP prefix: 1.0.0.0/24                      Metric:       10 External Down
       IP prefix: 3.0.0.0/24                      Metric:       10 External Down
       IP prefix: 4.0.0.0/24                      Metric:       10 External Down
       IP prefix: 5.0.0.0/24                      Metric:       10 Internal Up
       IP prefix: 15.15.15.15/32                  Metric:       10 External Down
       IP prefix: 25.25.25.25/32                  Metric:       10 External Down
       IP prefix: 30.30.30.30/32                  Metric:       10 External Down
       IP prefix: 40.40.40.40/32                  Metric:       10 External Down
       IP prefix: 60.60.60.60/32                  Metric:        0 Internal Up
    
      Header: LSP ID: sisira.00-00, Length: 336 bytes
        Allocated length: 336 bytes, Router ID: 0.0.0.0
        Remaining lifetime: 970 secs, Level: 1, Interface: 333
        Estimated free bytes: 144, Actual free bytes: 0
        Aging timer expires in: 970 secs
        Protocols: IP, IPv6, CLNS
    
      Packet: LSP ID: sisira.00-00, Length: 336 bytes, Lifetime : 1198 secs
        Checksum: 0x10fc, Sequence: 0x11, Attributes: 0xb L1 L2 Attached
        NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytes
        Packet type: 18, Packet version: 1, Max area: 0
    
      TLVs:
        Area address: 60.0006.80ff.f800.0000.0108.0001 (13)
        Speaks: IP
        Speaks: IPV6
        Speaks: CLNP
        Hostname: sisira
        ES neighbor TLV: Internal, Metric: default 0, Up
          ES: sisira
        IS neighbor: hemantha-CE3.02, Internal, Metric: default 10
        IS extended neighbor: hemantha-CE3.02, Metric: default 10
        ES neighbor TLV: External, Metric: default 10, Down
          ES: 0040.0040.0040
        ES neighbor TLV: External, Metric: default 10, Down
          ES: 0025.0025.0025
        ES neighbor TLV: External, Metric: default 10, Down
          ES: 0015.0015.0015
        ES neighbor TLV: External, Metric: default 10, Down
          ES: 0030.0030.0030
        IP external prefix: 3.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 40.40.40.40/32, Internal, Metric: default 10, Down
        IP external prefix: 4.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 25.25.25.25/32, Internal, Metric: default 10, Down
        IP external prefix: 15.15.15.15/32, Internal, Metric: default 10, Down
        IP external prefix: 1.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 30.30.30.30/32, Internal, Metric: default 10, Down
        IP extended prefix: 3.0.0.0/24 metric 10 down
        IP extended prefix: 40.40.40.40/32 metric 10 down
        IP extended prefix: 4.0.0.0/24 metric 10 down
        IP extended prefix: 25.25.25.25/32 metric 10 down
        IP extended prefix: 15.15.15.15/32 metric 10 down
        IP extended prefix: 1.0.0.0/24 metric 10 down
        IP extended prefix: 30.30.30.30/32 metric 10 down
        IP prefix: 60.60.60.60/32, Internal, Metric: default 0, Up
        IP prefix: 5.0.0.0/24, Internal, Metric: default 10, Up
        IP extended prefix: 60.60.60.60/32 metric 0 up
        IP extended prefix: 5.0.0.0/24 metric 10 up
      No queued transmissions
    
    IS-IS level 2 link-state database:
    
    sisira.00-00 Sequence: 0x13, Checksum: 0x69ac, Lifetime: 988 secs
       IS neighbor: hemantha-CE3.02               Metric:       10
         Two-way fragment: hemantha-CE3.02-00, Two-way first fragment: hemantha-CE3.02-00
       IP prefix: 1.0.0.0/24                      Metric:       10 External Down
       IP prefix: 3.0.0.0/24                      Metric:       10 External Down
       IP prefix: 4.0.0.0/24                      Metric:       10 External Down
       IP prefix: 5.0.0.0/24                      Metric:       10 Internal Up
       IP prefix: 15.15.15.15/32                  Metric:       10 External Down
       IP prefix: 25.25.25.25/32                  Metric:       10 External Down
       IP prefix: 30.30.30.30/32                  Metric:       10 External Down
       IP prefix: 40.40.40.40/32                  Metric:       10 External Down
       IP prefix: 50.50.50.50/32                  Metric:       10 Internal Up
       IP prefix: 60.60.60.60/32                  Metric:        0 Internal Up
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0015.0015.0015/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0025.0025.0025/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0030.0030.0030/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0040.0040.0040/152
                                                  Metric:       10 External Down
       ISO prefix: 60.0006.80ff.f800.0000.0108.0001.0060.0060.0060/152
                                                  Metric:        0 Internal Up
    
      Header: LSP ID: sisira.00-00, Length: 427 bytes
        Allocated length: 427 bytes, Router ID: 0.0.0.0
        Remaining lifetime: 988 secs, Level: 2, Interface: 333
        Estimated free bytes: 130, Actual free bytes: 0
        Aging timer expires in: 988 secs
        Protocols: IP, IPv6, CLNS
    
      Packet: LSP ID: sisira.00-00, Length: 427 bytes, Lifetime : 1198 secs
        Checksum: 0x69ac, Sequence: 0x13, Attributes: 0x3 L1 L2
        NLPID: 0x83, Fixed length: 27 bytes, Version: 1, Sysid length: 0 bytes
        Packet type: 20, Packet version: 1, Max area: 0
    
      TLVs:
        Area address: 60.0006.80ff.f800.0000.0108.0001 (13)
        Speaks: IP
        Speaks: IPV6
        Speaks: CLNP
        Hostname: sisira
        IS neighbor: hemantha-CE3.02, Internal, Metric: default 10
        IS extended neighbor: hemantha-CE3.02, Metric: default 10
        IP external prefix: 3.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 40.40.40.40/32, Internal, Metric: default 10, Down
        IP external prefix: 4.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 25.25.25.25/32, Internal, Metric: default 10, Down
        IP external prefix: 15.15.15.15/32, Internal, Metric: default 10, Down
        IP external prefix: 1.0.0.0/24, Internal, Metric: default 10, Down
        IP external prefix: 30.30.30.30/32, Internal, Metric: default 10, Down
        IP extended prefix: 3.0.0.0/24 metric 10 down
        IP extended prefix: 40.40.40.40/32 metric 10 down
        IP extended prefix: 4.0.0.0/24 metric 10 down
        IP extended prefix: 25.25.25.25/32 metric 10 down
        IP extended prefix: 15.15.15.15/32 metric 10 down
        IP extended prefix: 1.0.0.0/24 metric 10 down
        IP extended prefix: 30.30.30.30/32 metric 10 down
        ISO prefix-neighbor TLV: Internal, Metric: default 0, Up
          Prefix : 60.0006.80ff.f800.0000.0108.0001.0060.0060.0060/152
        ISO prefix-neighbor TLV: External, Metric: default 10, Down
          Prefix : 60.0006.80ff.f800.0000.0108.0001.0040.0040.0040/152
        ISO prefix-neighbor TLV: External, Metric: default 10, Down
          Prefix : 60.0006.80ff.f800.0000.0108.0001.0025.0025.0025/152
        ISO prefix-neighbor TLV: External, Metric: default 10, Down
          Prefix : 60.0006.80ff.f800.0000.0108.0001.0015.0015.0015/152
        ISO prefix-neighbor TLV: External, Metric: default 10, Down
          Prefix : 60.0006.80ff.f800.0000.0108.0001.0030.0030.0030/152
        IP prefix: 60.60.60.60/32, Internal, Metric: default 0, Up
        IP prefix: 5.0.0.0/24, Internal, Metric: default 10, Up
        IP prefix: 50.50.50.50/32, Internal, Metric: default 10, Up
        IP extended prefix: 60.60.60.60/32 metric 0 up
        IP extended prefix: 5.0.0.0/24 metric 10 up
        IP extended prefix: 50.50.50.50/32 metric 10 up
      No queued transmissions
    

    Published: 2013-11-18