拓扑图:
配置文件:
R1
#
isis 1
network-entity 49.0001.1111.1111.1111.00
#
interface GigabitEthernet0/0/0
ip address 172.16.1.1 255.255.255.0
isis enable 1
#
interface GigabitEthernet0/0/1
ip address 14.1.1.1 255.255.255.0
isis enable 1
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
isis enable 1
R2
#
isis 1
network-entity 49.0001.2222.2222.2222.00
#
interface GigabitEthernet0/0/0
ip address 172.16.1.2 255.255.255.0
isis enable 1
#
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
isis enable 1
R3
#
isis 1
network-entity 49.0001.3333.3333.3333.00
#
interface GigabitEthernet0/0/0
ip address 172.16.1.3 255.255.255.0
isis enable 1
#
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
isis enable 1
R4
#
isis 1
network-entity 47.0002.4444.4444.4444.00
#
interface GigabitEthernet0/0/0
ip address 14.1.1.4 255.255.255.0
isis enable 1
#
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
isis enable 1
注意点:先打ISIS,配置ISIS,再进入每个接口配置IP地址,最后打isis enable
其余命令:
dis isis peer 查看ISIS的邻居
dis isis lsdb 查看ISIS的数据库
dis isis int 查看路由器上哪些接口宣告进入ISIS进程
dis isis route 查看ISIS路由表
dis IP routing-table protocol isis