ISIS路由协议实验配置命令

2023-05-16

拓扑介绍

 

上述拓扑分为两个逻辑区域 CR属于49.0001区域,BR1 BR2 AR2 属于49.0002区域,CR是L2路由器 ,AR是L1路由器, BR1和BR2是L12路由器。AR上配置三个Loopback地址模拟外部路由。

配置IP地址

CR

 interface Ethernet0/0/0
 ip address 12.1.1.1 255.255.255.252
interface Ethernet0/0/1
 ipaddress13.1.1.1  255.255.255.255                                                                                                             interface LoopBack0           //逻辑接口永不DOWN
 ip address 1.1.1.1 255.255.255.255

AR

interface Ethernet0/0/0
 ip address 21.1.1.1 255.255.255.252
interface Ethernet0/0/1
 ip address 31.1.1.1 255.255.255.252                                                                                               interface LoopBack0
 ip address 4.4.4.4 255.255.255.255        

                                                                                                                                                              interface LoopBack1                //模拟外部路由
 ip address 100.1.1.1 255.255.255.0
interface LoopBack2
 ip address 100.1.2.1 255.255.255.0
interface LoopBack3
 ip address 100.1.3.1 255.255.255.0

BR1

interface Ethernet0/0/0
 ip address 12.1.1.2 255.255.255.252
interface Ethernet0/0/1
 ip address 21.1.1.2 255.255.255.252
interface GigabitEthernet0/0/0
 ip address 23.1.1.1 255.255.255.252

interface LoopBack0
 ip address 2.2.2.2 255.255.255.255


BR2

interface Ethernet0/0/0
 ip address 31.1.1.2 255.255.255.252
interface Ethernet0/0/1
 ip address 23.1.1.2 255.255.255.252
#
interface GigabitEthernet0/0/0
 ip address 13.1.1.2 255.255.255.252
interface LoopBack0
 ip address 3.3.3.3 255.255.255.255

查询指令:display  ip interface brief 

 

全局配置ISIS功能

CR

isis 1        //ISIS进程号每个进程互相隔离
 is-level level-2        //配置成L2路由器
 network-entity 49.0001.0000.0000.1111.00                                                                                                 // 配置system-ID  49.0001是区域号+0000.0000.1111是路由器名字+00

AR

isis 1
 is-level level-1
 network-entity 49.0002.0000.0000.4444.00

BR1

isis 1
 is-level level-1-2        //配置成L12路由器
 network-entity 49.0002.0000.0000.2222.00

BR2

isis 1
 is-level level-1-2
 network-entity 49.0002.0000.0000.3333.00

全局开启ISIS功能

interface Ethernet0/0/1
 isis enable 1        // 接口开启ISIS  所有路由器接口都要开启

interface LoopBack0
 isis enable 1        //逻辑接口开启ISIS

查询指令 display  isis peer         display  ip routing-table

 BR1上查看出现4个邻居关系 ,因为BR1属于L12路由器 会有两个邻居关系。

AR上查看缺少1.1.1.1路由,,处于非骨干区域total stub区域缺少外部网络路由,由0.0.0.0代替缺省路由 。

路由引入

  isis1                                                                                                                                                          import-route direct level-1          //将外部loopback123引入到AR路由
查询指令:display  ip routing-table 

 

路由聚合

isis 1
 summary 100.1.0.0 255.255.0.0 level-1         //将三条外部路由聚合成一条

查询指令:display  ip routing-table 

 

链路开销

interface Ethernet0/0/0
 isis cost 1  level-1        //开销越小越优,默认链路开销10,根据路由器接口配置L1还是L2

没有负载均衡只显示最优路由,如果有负载路由会形成等价路由,两条最优,都会显示。

查询指令:display  ip routing-table 

 

认证

interface Ethernet0/0/1
isis authentication-mode simple password level-2  //两端接口认证必须一致 根据实际选择链路类型

查询指令:display  isis  peer           //如果配置错误邻居关系会断 

 

 

ISIS邻居关系故障排查

1 接口状态是否为UP             //  display  isis  interface

2 system ID 错开 唯一性 配置是否正确          //display current-configuration configuration isis

3 level类型是否匹配         // display current-configuration interface   

4 两端是否在同一区域          // display current-configuration  configuration isis

5 两端接口是否处于同一网段(不是同一网段可以强行建立 因为处于2层不依赖IP 配置ignore IP忽     略IP检查)         // display current-conf interface

6 接口认证 认证方式和密码一致 区域认证 接口认证    // display current-configuration interface

7  抓包 端口镜像引导报文 检查报文是否正常收发         //debugging isis adjacency

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

ISIS路由协议实验配置命令 的相关文章

  • C语言的变长参数 va_arg

    void simple va fun int i va list arg ptr char s 61 NULL va start arg ptr i s 61 va arg arg ptr char va end arg ptr print
  • 通俗讲解 同步、异步、阻塞、非阻塞 编程

    真正意义上的 异步IO 是说内核直接将数据拷贝至用户态的内存单元 xff0c 再通知程序直接去读取数据 select poll epoll 都是同步IO的多路复用模式 1 同步和异步 同步和异步关注的是消息通信机制 所谓同步 xff0c 就
  • Nginx 提示 504 Gateway Time-out(The gateway did not receive a timely response from the...)解决办法

    本文介绍nginx出现504 Gateway Time out问题的原因 xff0c 分析问题并提供解决方法 1 问题分析 nginx访问出现504 Gateway Time out xff0c 一般是由于程序执行时间过长导致响应超时 xf
  • MySQL8 设置远程访问授权

    开启 MySQL 的远程登陆帐号有三大步 xff1a 1 确定服务器上的防火墙没有阻止 3306 端口 MySQL 默认的端口是 3306 xff0c 需要确定防火墙没有阻止 3306 端口 xff0c 否则远程是无法通过 3306 端口连
  • 三次握手,四次挥手,为什么是三次握手四次挥手

    三次握手 两次握手 xff08 情况1 xff09 两次握手 xff08 情况2 xff09 OK xff0c 下面正经地来回答下这个问题 xff0c 要搞清楚这个问题 xff0c 首先得了解TCP究竟是如何保证可靠传输的 PS xff1a
  • VirtualBox 磁盘扩容(亲测有效)

    参考 xff1a VirtualBox和VMware虚拟机centos dev mapper centos root 磁盘扩容 亲测有效 蜡笔小新儿的博客 CSDN博客 virtualbox虚拟机磁盘扩容 虚拟机磁盘扩容一 VirtualB
  • 完美解决 Could not find a version that satisfies the requirement 安装包名字 (from versions: )

    大家在刚开始使用python 时会遇到缺少python 库的问题 xff0c 提示 No module named 安装包名字 问题 在解决安装包问题中在网上找了很多的方法 xff0c 方法很多各种各样 xff0c 对一部分人有用 xff0
  • Go语言实现对称加密算法AES、DES、3DES和非对称加密算法RSA

    1 对称加密算法 1 1 特点 加密和解密使用的是同一个密钥 数据私密性双向保证 也就是加密和解密都不能泄露密码 1 2 优缺点 优点 加密效率高 适合大些的数据加密 缺点 安全性相对非对称低 1 3 go语言实现对称加密算法 1 3 1
  • Ubuntu 上安装 MozJpeg 详解

    参考 xff1a How to Install MozJpeg on Ubuntu 18 04 3 CodeFAQ 2023 04 26 花了很多时间 xff0c 绕了很多弯路才成功安装 mozjpeg 图片压缩命令 xff1b 特记录一下
  • ElasticSearch + Grafana 实现日志监控告警

    配置步骤 点击左边栏 x1f514 进入告警管理中心 xff1a Alert rules xff1a 告警规则管理 Contact points xff1a 告警联系人管理 Notification policies xff1a 告警通知策
  • sprintf函数

    sprintf指的是字符串格式化命令 头文件 xff1a include lt stdio h gt 功能 xff1a 把格式化的数据读入某个字符串中 xff08 最终结果是字符串类型 xff09 格式 xff1a char str 100
  • android 127.0.0.1/localhost connection refused 问题的

    下载 php java javascript 相关 api 手册的下载 调试中通过android simulator模拟器链接localhost或者127 0 0 1 xff0c 因为我在电脑上面建立了apache xff0c 我的代码大概
  • 配置MacVim,高亮+自动缩进+行号+折叠+优化

    将一下代码copy到 用户目录下 新建文件为 vimrc 保存即可生效 xff1b 如果想所有用户生效 请修改 etc vimrc 建议先cp一份 span style background color ffcc99 34 61 61 61
  • gitlab-ci.yml 项目实战

    gitlab ci yml 文件内容 image localhost 5000 wondershare ws builder latest Cache modules in between jobs cache key npm cache
  • iOS Block作为property属性实现页面之间传值

    我们可以把Block当做Objective C的匿名函数 Block允许开发者在两个对象之间将任意的语句当做数据进行传递 xff0c 往往这要比引用定义在别处的函数直观 另外 xff0c block的实现具有封闭性 closure xff0
  • iframe的跨域通信(代码示例)

    在前端开发中 xff0c 我们经常会使用iframe来嵌套其他网页或者同域的页面 但是 xff0c 如果iframe中嵌套的页面和当前页面不属于同源 xff0c 那么就无法直接进行通信 为了解决这个问题 xff0c 我们可以使用以下几种方式

随机推荐