实验6 IS-IS基本配置
实验任务一:单区域配置
-
建立物理连接
-
is单区域配置
[RTA-isis-1]network-entity 10.0000.0000.0001.00//配置网络实体名
[RTA-isis-1]is-level level-1//配置路由器类型
[RTA-GigabitEthernet0/0]isis enable//使能接口
[RTA-GigabitEthernet0/1]isis enable
[RTA-GigabitEthernet0/1]isis circuit-level level-1//配置链路类型
[RTB-isis-1]network-entity 10.0000.0000.0002.00
[RTB-isis-1]is-level level-1
[RTB-GigabitEthernet0/1]isis enable
[RTB-GigabitEthernet0/1]isis circuit-level level-1//配置链路类型
[RTB-GigabitEthernet0/0]isis enable
3.ISIS摘要信息以及路由表查看
[RTA]display isis
IS-IS(1) Protocol Information
Network entity : 10.0000.0000.0001.00//网络实体名
IS level : level-1//路由器类型
Cost style : Narrow//开销类型
Fast reroute : Disabled
Preference : 15//协议优先级
LSP length receive : 1497
LSP length originate
level-1 : 1497
Maximum imported routes : 100000
Timers
LSP-max-age : 1200
LSP-refresh : 900
SPF mode : Normal
SPF intervals : 5 50 200
[RTA]display isis route
Route information for IS-IS(1)
------------------------------
Level-1 IPv4 Forwarding Table
-----------------------------
IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags
192.168.2.0/24 20 NULL GE0/1 192.168.1.2 R/-/-
192.168.1.0/30 10 NULL GE0/1 Direct D/L/-
192.168.0.0/24 10 NULL GE0/0 Direct D/L/-
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down bit set
[RTB]display isis route
Route information for IS-IS(1)
------------------------------
Level-1 IPv4 Forwarding Table
-----------------------------
IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags
192.168.2.0/24 10 NULL GE0/0 Direct D/L/-
192.168.1.0/30 10 NULL GE0/1 Direct D/L/-
192.168.0.0/24 20 NULL GE0/1 192.168.1.1 R/-/-
Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down bit set
[RTA]display isis lsdb
Database information for IS-IS(1)
---------------------------------
Level-1 Link State Database
---------------------------
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
0000.0000.0001.00-00* 0x00000006 0xad69 730 84 0/0/0
0000.0000.0002.00-00 0x00000006 0x4cc4 749 84 0/0/0
0000.0000.0002.01-00 0x00000001 0xadde 749 55 0/0/0
*-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload
[RTA]display isis lsdb verbose
Database information for IS-IS(1)
---------------------------------
Level-1 Link State Database
---------------------------
LSPID Seq Num Checksum Holdtime Length ATT/P/OL
0000.0000.0001.00-00* 0x00000007 0xab6a 1191 84 0/0/0
Source 0000.0000.0001.00
NLPID IPv4
Area address 10
IPv4 address 192.168.0.254
IPv4 address 192.168.1.1
NBR ID
0000.0000.0002.01 Cost: 10
IP-Internal
192.168.0.0 255.255.255.0 Cost: 10
IP-Internal
192.168.1.0 255.255.255.252 Cost: 10
0000.0000.0002.00-00 0x00000006 0x4cc4 526 84 0/0/0
Source 0000.0000.0002.00
NLPID IPv4
Area address 10
IPv4 address 192.168.1.2
IPv4 address 192.168.2.254
NBR ID
0000.0000.0002.01 Cost: 10
IP-Internal
192.168.1.0 255.255.255.252 Cost: 10
IP-Internal
192.168.2.0 255.255.255.0 Cost: 10
0000.0000.0002.01-00 0x00000001 0xadde 526 55 0/0/0
Source 0000.0000.0002.01
NLPID IPv4
NBR ID
0000.0000.0001.00 Cost: 0
NBR ID
0000.0000.0002.00 Cost: 0
*-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload
LSP ID表示链路状态报文id,形式为system id.xx.yy.
Xx为0表示是真实设备产生的,不为0表示是DIS产生的
Yy表示LSP分片号,00分片预留给拓扑、邻居等重要信息。
路由信息从01分片开始填充。