R1:
isis "启动路由协议
net 49.0001.0100.0000.1001.00
is-level level-1
int loop 0
isis enable
int g 0/0/0
isis enable
int g 0/0/1
isis enable
R2
ip ip-prefix 1 permit 192.168.10.0 24
isis
net 49.0001.0100.0000.2002.00
import-route isis level-2 into level-1 filter-policy ip-prefix 1
int g 0/0/0
isis enable
int g 0/0/1
isis enable
int loop 0
isis enable
R3
ip ip-prefix 1 permit 192.168.20.0 24
isis
net 49.0001.0100.0000.3003.00
import-route isis level-2 into level-1 filter-policy ip-prefix 1
int g 0/0/0
isis enable
int g 0/0/1
isis enable
int loop 0
isis enable
R4
isis
net 49.0002.0100.0000.4004.00
is-level level-2
int g 0/0/0
isis enable
int g 0/0/1
isis enable
int g 0/0/2
isis enable
int loop 0
isis enable
R5
isis
net 49.0002.0100.0000.5005.00
is-level level-2
int g 0/0/0
isis enable
int g 0/0/1
isis enable
int g 0/0/2
isis enable
int loop 0
isis enable
相关命令
[Huawei]undo info-center enable "关闭信息中心(工作中慎用!)
dis ip routing "查看实际路由表
dis ip routing protocol isis "查看路由表中实际采纳了哪些ISIS的路由。此例中R1上看不到12和13两段。
dis isis route "查看ISIS路由表,此例中R1可看到12和13两段。
debugging isis adj "观察邻居关系事件
debugging isis event "观察重要事件
debugging isis update "观察更新