用途说明
LSP,用于交换链路状态信息。在 ISIS 中,设备直接发送 LSP 来传送数据,像 OSPF 的 LSU 报文;
LSP 分为两种:
1)Level-1 LSP,由 Level-1 路由器传送;
2)Level-2 LSP,由 Level-2 路由器传送;
3)Level-1-2 路由器则可传送以上两种 LSP;
报文结构
ISIS.Header.PDU Specific Header

PDU Length:长度;
Remaining Lifetime : LSP 的生存时间,以秒为单位;默认 1200s (ISO10589);
LSP ID:由三部分组成,System ID、PseudoNode ID (One Byte)、LSP Fragment Number (One Byte);
1)如果 LSP 数量过多,则会产生分片;如果路由引入,也会产生分片 LSP 报文;
Sequence Number:LSP 的序列号。在路由器启动时所发送的第一个 LSP 报文中的序列号为 1,以后当需要生成新的 LSP 时,新 LSP 的序列号在前一个 LSP 序列号的基础上加 1。更高的序列号意味着更新的 LSP;
Checksum:LSP 的校验和;
ATT(Attachment):由 Level-1-2 路由器产生,用来指明始发路由器是否与其它区域相连。虽然此标志位也存在于 Level-1 LSP 和 Level-2 LSP 中,但实际上此字段只和 Level-1-2 Router 始发的 L1 LSP 有关。L1 Router 将根据 LSP 的 ATT 是否置位来决定是否使用默认路由;
OL(LSDB Overload,1bit):过载标志位。设置了过载标志位的 LSP 虽然还会在网络中扩散,但是在计算通过超载路由器的路由时不会被采用。即对路由器设置过载位后,其它路由器在进行 SPF 计算时不会考虑这台路由器。当路由器内存不足时,系统自动在发送的 LSP 报文中设置过载标志位;
IS Type(2bit):生成 LSP 的路由器的类型。两类 LSP 有相同的报文格式,该字段用来指明是 Level-1 还是 Level-2 路由器(01 表示 Level-1;11 表示 Level-2);
报文示例
Frame 15: 150 bytes on wire (1200 bits), 150 bytes captured (1200 bits) on interface -, id 0
IEEE 802.3 Ethernet
Logical-Link Control
ISO 10589 ISIS InTRA Domain Routeing Information Exchange Protocol
Intradomain Routing Protocol Discriminator: ISIS (0x83)
Length Indicator: 27
Version/Protocol ID Extension: 1
ID Length: 6
000. .... = Reserved: 0x0
...1 0100 = PDU Type: L2 LSP (20)
Version: 1
Reserved: 0
Maximum Area Addresses: 3
ISO 10589 ISIS Link State Protocol Data Unit
PDU length: 133
Remaining lifetime: 1198
LSP-ID: 0000.0000.3333.00-00
Sequence number: 0x00000040
Checksum: 0x450c [correct]
[Checksum Status: Good]
Type block(0x03): Partition Repair:0, Attached bits:0, Overload bit:0, IS type:3
0... .... = Partition Repair: Not supported
.000 0... = Attachment: 0
.... .0.. = Overload bit: Not set
.... ..11 = Type of Intermediate System: Level 2 (3)
Protocols supported (t=129, l=1)
Type: 129
Length: 1
NLPID(s): IP (0xcc)
Area address(es) (t=1, l=4)
Type: 1
Length: 4
Area address (3): 49.0001
IS Reachability (t=2, l=23)
Type: 2
Length: 23
Reserved: 0x00
IS Neighbor: 0000.0000.3333.02
IS Neighbor: 0000.0000.1111.01
IP Interface address(es) (t=132, l=8)
Type: 132
Length: 8
IPv4 interface address: 10.1.3.3
IPv4 interface address: 10.1.5.3
IP Internal reachability (t=128, l=60)
Type: 128
Length: 60
IPv4 prefix: 10.1.3.0/24
IPv4 prefix: 10.1.4.0/23
IPv4 prefix: 10.1.1.0/24
IPv4 prefix: 10.1.2.0/24
IPv4 prefix: 10.1.4.0/24