本文主要针对HCIE考试对各种技术做一轮复习。
建议读者已经具备其他厂商IE认证,或者具备良好网络基础知识。
本文仅整理重点难点和容易踩坑
的知识,对于基础知识一概不整理。
一、ISIS基本知识
1、ISIS报文与OSPF报文对比
2、ISIS 报文截图
3、ISIS与OSPF术语对照
3、与OSPF的区别和对比
4、Level 1和Level 2
- 连续的一片L2路由器构成骨干区域。
- L2骨干区域具备所有的明细路由
- L1明细路由可以传递到L2区域。
- L2区域的明细路由不传递到L1区域,L1区域内节点自行生成缺省路由指向L2
- L1、L2路由器,分别只首发L1 L2 ISIS报文。L1 2路由器可以同时首发L1 L2报文
- L1路由器不能跨区域建立邻居关系
L1 L2报文分别传递,如下图:
二、NET地址
ISIS可以通过NET地址定位路由器位置
其中,SystemID和N-SEL长度固定,AreaID变长1-13字节。程序读取从右侧读取,最左侧位置变长。
三、ISIS基本配置举例
isis 100
is-level level-1-2
network-entity 49.0001.0000.0000.0001.00
#
interface GigabitEthernet0/0/0
isis enable 100
isis circuit-level level-2
#
四、ISIS邻居建立过程
特别注意,关于三次握手:
- HUAWEI设备P2P链路默认3-way向下兼容模式
- P2P链路可选配isis ppp-negotiation 2-way 或者3-way only
- 广播型网络里,三次握手查看TLV6中携带的MAC地址
- PPP网络里,三次握手查看TLV240中携带的systemID
五、ISIS认证
1、接口下认证
对Hello报文认证
interface GigabitEthernet0/0/0
isis enable 100
isis circuit-type p2p
isis circuit-level level-1
isis authentication-mode simple cipher %$%$W7kF;s,8%/:PC\G9"~+PVHmK%$%$
2、区域下认证
对L1的其他报文认证
3、路由域认证
对L2的其他报文认证
isis 100
is-level level-1
network-entity 49.0001.0000.0000.0001.00
domain-authentication-mode md5 cipher %$%$jyT9YFbaZS,OzH!@R,!GVJLd%$%$
六、总结ISIS影响邻居建立的因素
1、接口MTU对ISIS邻居建立的影响
- Hello包阶段阶段,会填充Hello报文至接口最大MTU
- 链路两端MTU不一致,无法建立邻居
- 接口MTU最小值为ISIS LSP报文长度+3,LSP默认长度1497
- 通过lsp-length命令修改默认LSP报文长度
2、掩码对ISIS邻居建立的影响
宽度量和窄度量
[R1-isis-100]cost-style ?
compatible Set cost style to compatible
narrow Set cost style to narrow
narrow-compatible Set cost style to narrow-compatible
wide Set cost style to wide
wide-compatible Set cost style to wide-compatible