当前位置:网站首页>2022-06-28 网工进阶(十三)IS-IS-路由过滤、路由汇总、认证、影响ISIS邻居关系建立的因素、其他命令和特性
2022-06-28 网工进阶(十三)IS-IS-路由过滤、路由汇总、认证、影响ISIS邻居关系建立的因素、其他命令和特性
2022-07-03 19:21:00 【鹅一只】
路由过滤
IS-IS协议和OSPF一样可以进行路由过滤,分别为对入方向和出方向进行过滤。
相关命令
入方向
[R1-isis-1]filter-policy 2000 import
出方向
[R1-isis-1]filter-policy 2000 export
路由汇总
IS-IS协议和OSPF一样可以进行路由汇总。
相关命令
汇总
[R1-isis-1]summary 1.1.1.0 255.255.255.248 level-1
后面加上等级表示要发布到的区域
认证
IS-IS认证是基于网络安全性的要求而实现的一种认证手段,通过在IS-IS报文中增加认证字段对报文进行认证。当本地路由器接收到远端路由器发送过来的IS-IS报文,如果发现认证密码不匹配,则将收到的报文进行丢弃,达到自我保护的目的。
相关命令
接口认证:在接口视图下配置,对Level-1和Level-2的Hello报文进行认证。
[R1-GigabitEthernet0/0/0]isis authentication-mode simple cipher 123
区域认证:在IS-IS进程视图下配置,对Level-1的CSNP、PSNP和LSP报文进行认证。
[R1-isis-1]area-authentication-mode md5 cipher 123
路由域认证:在IS-IS进程视图下配置,对Level-2的CSNP、PSNP和LSP报文进行认证。
[R1-isis-1]domain-authentication-mode md5 plain 123
影响ISIS邻居关系建立的因素
level等级
如果本端接口Level级别为Level-1,则对端接口Level级别必须为Level-1或Level-1-2。
如果本端接口Level级别为Level-2,则对端接口Level级别必须为Level-2或Level-1-2。
如果本端接口Level级别为Level-1-2,则对端接口Level级别可以为Level-1、Level-2或Level-1-2。
因此Level-1与Level-2不能建立邻居关系。
区域地址
如果链路两端建立Level-1邻居,需要保证链路两端设备在同一个区域内。
一个IS-IS进程最多可以配置3个区域地址,两端只要有一个区域地址相同,即可建立Level-1邻居。
建立IS-IS Level-2邻居时,不需要判断区域地址是否匹配。
认证方式
如果接口的两端认证方式不匹配,无法建立邻居。
区域认证和路由域认证方式不匹配,可以建立邻居,但是无法产生路由。
开销类型
详见
System ID
如果链路两端使用同样的 system id,就无法建立邻居关系。
如果在同一区域非直连的情况下有相同的system id,会导致路由震荡。
网络类型
如果链路的两端是不同的网络类型(点到点的网络和广播网),就无法建立邻居关系。
IP网段
在点到点的网络中,如果链路两端的IP网段不一致,在忽略IP检查的前提下,可以建立邻居关系,反之不行。
在广播网中则不行。
相关命令
忽略IP检查
[R1-GigabitEthernet0/0/0]isis peer-ip-ignore
点到点的网络中建立邻居的方式
如果在链路的两端使用了不同的建立邻居的方式,且加了only参数 比如2-way和3-way only,就无法建立邻居。
MTU
如果链路的两端MTU不一致,就无法建立邻居。
相关命令
修改MTU
[R1-GigabitEthernet0/0/0]mtu ?
<46-1600> MTU value
关闭padding
[R1-GigabitEthernet0/0/0]isis small-hello
修改发送的LSP大小
[R1-isis-1]lsp-length originate ?
INTEGER<512-16384> Max LSP size in bytes
其他命令和特性
修改hello发送时间
[R1-GigabitEthernet0/0/0]isis timer hello 20 level-1
修改csnp发送时间
[R1-GigabitEthernet0/0/0]isis timer csnp 20 level-1
静默端口(特性和ospf的一样,不发送接收报文,但是所在网段的路由可以被发布)
[R1-GigabitEthernet0/0/0]isis silent
配置spf时间,当LSDB发生变化,会进行计算。三个数值分别为最大时间,单位秒,缺省值5;初始时间,单位毫秒,缺省值50;递增时间,单位毫秒,缺省值200。
[R1-isis-1]timer spf 15 10 100
配置LSP的刷新周期,缺省值900秒。
[R1-isis-1]timer lsp-refresh 600
配置LSP的最大有效时间,缺省值1200秒。
[R1-isis-1]timer lsp-max-age 800
配置LSP的重传时间,缺省值5秒。
[R1-isis-1]timer lsp-generation 10
LSP快速扩散,使当路由器收到新的LSP时,向将其发布在进行SPF计算。
[R1-isis-1]flash-flood
下发默认路由
[R1-isis-1]default-route-advertise always
边栏推荐
- 03 -- QT OpenGL EBO draw triangle
- Yolov3 network model building
- Pecan — Overview
- Sentinel source code analysis part I sentinel overview
- I study database at station B (4): DQL
- Foundation of ActiveMQ
- Zhang Fei hardware 90 day learning notes - personal record of day 3, please see my personal profile / homepage for the complete
- 【疾病识别】基于matlab GUI机器视觉肺癌检测系统【含Matlab源码 1922期】
- PyTorch中在反向传播前为什么要手动将梯度清零?
- Think of new ways
猜你喜欢
[water quality prediction] water quality prediction based on MATLAB Fuzzy Neural Network [including Matlab source code 1923]
Free sharing | linefriends hand account inner page | horizontal grid | not for sale
If the warehouse management communication is not in place, what problems will occur?
01 - QT OpenGL display OpenGL window
PyTorch中在反向传播前为什么要手动将梯度清零?
EGO Planner代码解析bspline_optimizer部分(2)
Why should the gradient be manually cleared before back propagation in pytorch?
[free sharing] kotalog diary2022 plan electronic manual ledger
Driveseg: dynamic driving scene segmentation data set
Ctrip will implement a 3+2 work system in March, with 3 days on duty and 2 days at home every week
随机推荐
[academic related] how to find the innovation of top papers? Chinese universities won the CVPR Best Student Thesis Award for the first time
High concurrency Architecture - read write separation
2022.2.14 Li Kou - daily question - single element in an ordered array
Chapter 1: seek common? Decimal and S (D, n)
Analysis of dart JSON encoder and decoder
第二章:4位卡普雷卡数,搜索偶数位卡普雷卡数,搜索n位2段和平方数,m位不含0的巧妙平方数,指定数字组成没有重复数字的7位平方数,求指定区间内的勾股数组,求指定区间内的倒立勾股数组
FBI警告:有人利用AI换脸冒充他人身份进行远程面试
Zhang Fei hardware 90 day learning notes - personal records on day 4, please see my personal profile / homepage for the complete
Simulation scheduling problem of SystemVerilog (1)
The earliest record
Flutter network and data storage framework construction-b1
Basic principle of LSM tree
I didn't cancel
交叉编译Opencv带Contrib
Why should we do feature normalization / standardization?
[optics] vortex generation based on MATLAB [including Matlab source code 1927]
BUUCTF
第一章:拓广同码小数和s(d, n)
PyTorch中在反向传播前为什么要手动将梯度清零?
UE source code analysis: uccharactermovementcomponent - rootmotion