博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CCNP-18 IS-IS试验1(BSCI)
阅读量:7122 次
发布时间:2019-06-28

本文共 6620 字,大约阅读时间需要 22 分钟。

CCNP-18 IS-IS试验1

试验拓扑:

试验要求: R1 R2
为区域 49.0001
中的 IS
R3
为区域 49.0002
中的 IS
,并且把 R1
只配之成为 Level-1
路由器, R3
Level-2
路由器, R1
R2
之间的链路配置成为 L1
链路, R2
R3
之间的链路配置成为 L2
链路。
试验目的:掌握
ISIS
基本的配置方法。

实验配置:
R1
R1(config)#clns routing
R1(config)#router isis
R1(config-router)#net 49.0001.1111.1111.1111.00
R1(config-router)#is-type level-1
R1(config-router)#exit
R1(config)#int f0/0
R1(config-if)#clns router isis
R1(config-if)#isis circuit-type level-1
R1(config-if)#no shu
R1(config-if)#exit
R2
R2(config)#clns routing
R2(config)#router isis
R2(config-router)#net 49.0001.2222.2222.2222.00
R2(config-router)#exit
R2(config)#int f0/0
R2(config-if)#clns router isis
R2(config-if)#isis circuit-type level-1
R2(config-if)#no shu
R2(config-if)#exit
R2(config)#int s1/0
R2(config-if)#clns router isis
R2(config-if)#clock rate 64000
R2(config-if)#no shu
R2(config-if)#isis circuit-type level-2-only
R2(config-if)#end
 
R3
R3(config)#clns routing
R3(config)#router isis
R3(config-router)#net 49.0002.3333.3333.3333.00
R3(config-router)#is-type level-2-only
R3(config-router)#exit
R3(config)#int s1/0
R3(config-if)#clns router isis
R3(config-if)#isis circuit-type level-2-only
R3(config-if)#no shu
R3(config-if)#exit
以上为 ISIS
的基本配置, ISIS
路由器默认为 level-1-2
,可以通过路由器配置模式下命令
is-type
来进行修改,接口的 ISIS
类型默认也为 level-1-2
,同样可以通过接口配置模式下命令
isis circuit-type
进行修改。下面我们在每台路由器上 show clns neighbors
查看 clns
邻居关系:
R1#show clns neighbors
 
System Id      Interface   SNPA                State  Holdtime  Type Protocol
R2             Fa0/0       
ca00.07b8.0000      Up     18        L1   IS-IS
 
R2#show clns neighbors
 
System Id      Interface   SNPA                State  Holdtime  Type Protocol
R1             Fa0/0       
ca00.06a4.0000      Up     26        L1   IS-IS
R3             Se1/0       
*HDLC*              Up     21        L2   IS-IS
 
R3#show clns neighbors
 
System Id      Interface   SNPA                State  Holdtime  Type Protocol
R2             Se1/0       
*HDLC*              Up     25        L2   IS-IS
OK
,都成功建立了邻居关系,需要注意的是 SNPA
的区别,在 LAN
环境下为 LAN
接口的 MAC
地址, WAN
环境下为 DLCI
或者 HDLC
Show clns interface
命令查看接口的 CLNS
运行情况:
R1#show clns interface
FastEthernet0/0 is up, line protocol is up
  Checksums enabled, MTU 1497, Encapsulation SAP
  ERPDUs enabled, min. interval 10 msec.
  RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
  Congestion Experienced bit set at 4 packets
  CLNS fast switching enabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 23 seconds
  
Routing Protocol: IS-IS
    Circuit Type: level-1
    Interface number 0x0, local circuit ID 0x1
    Level-1 Metric: 10, Priority: 64, Circuit ID: R2.01
    Level-1 IPv6 Metric: 10
    Number of active level-1 adjacencies: 1
    Next IS-IS LAN Level-1 Hello in 3 seconds
 
R2#show clns interface
FastEthernet0/0 is up, line protocol is up
  Checksums enabled, MTU 1497, Encapsulation SAP
  ERPDUs enabled, min. interval 10 msec.
  RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
  Congestion Experienced bit set at 4 packets
  CLNS fast switching enabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 5 seconds
  
Routing Protocol: IS-IS
    Circuit Type: level-1
    Interface number 0x0, local circuit ID 0x1
    Level-1 Metric: 10, Priority: 64, Circuit ID: R2.01
    Level-1 IPv6 Metric: 10
    Number of active level-1 adjacencies: 1
    Next IS-IS LAN Level-1 Hello in 3 seconds
Serial1/0 is up, line protocol is up
  Checksums enabled, MTU 1500, Encapsulation HDLC
  ERPDUs enabled, min. interval 10 msec.
  RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
  Congestion Experienced bit set at 4 packets
  CLNS fast switching enabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 6 seconds
 
 Routing Protocol: IS-IS
    Circuit Type: level-2
    Interface number 0x1, local circuit ID 0x100
    Neighbor System-ID: R3
    Level-2 Metric: 10, Priority: 64, Circuit ID: R2.00
    Level-2 IPv6 Metric: 10
    Number of active level-2 adjacencies: 1
    Next IS-IS Hello in 6 seconds
    if state UP
 
R3#show clns interface
FastEthernet0/0 is administratively down, line protocol is down
  CLNS protocol processing disabled
Serial1/0 is up, line protocol is up
  Checksums enabled, MTU 1500, Encapsulation HDLC
  ERPDUs enabled, min. interval 10 msec.
  RDPDUs enabled, min. interval 100 msec., Addr Mask enabled
  Congestion Experienced bit set at 4 packets
  CLNS fast switching enabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 13 seconds
  Routing Protocol: IS-IS
    Circuit Type: level-2
    Interface number 0x0, local circuit ID 0x100
    Neighbor System-ID: R2
    Level-2 Metric: 10, Priority: 64, Circuit ID: R3.00
    Level-2 IPv6 Metric: 10
    Number of active level-2 adjacencies: 1
    Next IS-IS Hello in 4 seconds
if state UP
我们从上面的输出可以知道接口的 CLNS
ISIS
的信息,比如链路类型,邻居 system-id
,度量值等等。
再用 show isis database
查看每台路由器的 LSDB
R1#show isis database
 
IS-IS Level-1 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
R1.00-00            * 0x00000004   0x9046        1163              0/0/0
R2.00-00              0x00000003   0x39CE        1161              0/0/0
R2.01-00              0x00000001   0x2630        1162              0/0/0
 
R2#show isis database
 
IS-IS Level-1 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
R1.00-00              0x00000004   0x9046        1150              0/0/0
R2.00-00            * 0x00000004   0x3FBF        1192              1/0/0
R2.01-00            * 0x00000001   0x2630        1153              0/0/0
IS-IS Level-2 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
R2.00-00            * 0x00000002   0x9767        1187              0/0/0
R3.00-00              0x00000002   0xDC20        1186              0/0/0
 
R3#show isis database
 
IS-IS Level-2 Link State Database:
LSPID                 LSP Seq Num  LSP Checksum  LSP Holdtime      ATT/P/OL
R2.00-00              0x00000002   0x9767        1185              0/0/0
R3.00-00            * 0x00000002   0xDC20        1186              0/0/0
注意用红颜色标记的部分,表示 R2
为伪节点。
最后我们查看 clns
路由表:
R1#show clns route
Codes: C - connected, S - static, d - DecnetIV
       I - ISO-IGRP,  i - IS-IS,  e - ES-IS
       B - BGP,       b - eBGP-neighbor
 
C  49.0001.1111.1111.1111.00 [1/0], Local IS-IS NET
C  49.0001 [2/0], Local IS-IS Area
 
R2#show clns route
Codes: C - connected, S - static, d - DecnetIV
       I - ISO-IGRP,  i - IS-IS,  e - ES-IS
       B - BGP,       b - eBGP-neighbor
 
C  49.0001.2222.2222.2222.00 [1/0], Local IS-IS NET
C  49.0001 [2/0], Local IS-IS Area
 
i  49.0002 [110/10]
      via R3, Serial1/0
 
R3#show clns route
Codes: C - connected, S - static, d - DecnetIV
       I - ISO-IGRP,  i - IS-IS,  e - ES-IS
       B - BGP,       b - eBGP-neighbor
 
C  49.0002.3333.3333.3333.00 [1/0], Local IS-IS NET
C  49.0002 [2/0], Local IS-IS Area
 
i  49.0001 [110/10]
      via R2, Serial1/0
show clns route
是用来查看 L2
的路由信息,因为 R1
L1
的路由器,所以在 R1
上看不到有关 L2
的信息, 
但是在 R2 R3
上能看到一条 L2
的路由信息。下面在 R1
上进行 ping
验证:
R1#ping clns 49.0002.3333.3333.3333.00
 
Type escape sequence to abort.
Sending 5, 100-byte CLNS Echos with timeout 2 seconds
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 192/241/344 ms
通了,可以到
R3


实验总结:掌握基本的
ISIS
配置和一些验证
ISIS
配置正确的命令。
本文转自loveme2351CTO博客,原文链接:
http://blog.51cto.com/loveme23/47877
 ,如需转载请自行联系原作者
你可能感兴趣的文章
tomcat 原理与使用资料
查看>>
报此错错解决办法:java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()Z
查看>>
c#.net利用RNGCryptoServiceProvider产生任意范围强随机数的办法
查看>>
旅游网站进行邮件订阅的七大步骤讲解
查看>>
shell基础
查看>>
linux 文件类型 时间戳 ls bash特性四 文件查看命令 cp move echo
查看>>
如何在XenDesktop中映射USB设备
查看>>
Java并发编程 基础知识学习总结
查看>>
我又发现一个直接就能安装中文小红帽的方法
查看>>
ACM弱校ACMer A HDU1045Fire Net有感
查看>>
cxgrid实现分组统计和添加Footer
查看>>
刘敏华:2013年网络营销行业展望
查看>>
理解MySQL——架构与概念
查看>>
vsftpd虚拟用户
查看>>
ionic 幻灯指令 ion-slide-box
查看>>
发一个经典的Flask-SQLAlchemy使用场景
查看>>
iOS逆向之自动化重签名
查看>>
java 读取pdf、word、Excel文件
查看>>
递归处理vue菜单数据
查看>>
html5 图片热点area,map的用法
查看>>