其他分享
首页 > 其他分享> > IS-IS实验练习

IS-IS实验练习

作者:互联网

文章目录


声明:本实验参考拓扑来自【王文杰在线文档库】

实验拓扑【下载】

IS-IS练习实验

如下拓扑:

IS-IS练习

实验需求

  1. 按照图示配置IP地址
  2. 按照图示分区域配置IS-IS,完成全网互通,网段192.168.x.1/24暂不宣告
  3. R1、R2、R3 共享网络中,要求R3成为DIS,但只允许在R1与R2上配置
  4. R4与R6和R5与 R6 之间不允许有DIS路由器选举
  5. 按图示修改各链路 cost,只针对level-2进level-1路由修改开销
  6. R6引入192.168.x.1/24网段路由,并标记为100
  7. 要求区域 49.0001 能够学习到192.168.x.1/24 明细路由,并能看到标记100,并选择最优路由
  8. 要求R4与R5只形成level-1的邻居关系
  9. 在骨干网上配置接口认证

基础配置

-----------------------------------------
# AR1基础配置
 sysname AR1
#
interface GigabitEthernet0/0/0
 ip address 123.1.1.1 255.255.255.0 
-----------------------------------------
# AR2基础配置
 sysname AR2
#
interface GigabitEthernet0/0/0
 ip address 123.1.1.2 255.255.255.0
-----------------------------------------
# AR3基础配置
 sysname AR3
#
interface Serial1/0/0
 link-protocol ppp
 ip address 34.1.1.3 255.255.255.0 
#
interface Serial1/0/1
 link-protocol ppp
 ip address 35.1.1.3 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 123.1.1.3 255.255.255.0
-----------------------------------------
# AR4基础配置
 sysname AR4
#
interface Serial1/0/0
 link-protocol ppp
 ip address 34.1.1.4 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 46.1.1.4 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 45.1.1.4 255.255.255.0
-----------------------------------------
# AR5基础配置
 sysname AR5
#
interface Serial1/0/0
 link-protocol ppp
 ip address 35.1.1.5 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 56.1.1.5 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 45.1.1.5 255.255.255.0 
-----------------------------------------
# AR6基础配置
interface GigabitEthernet0/0/0
 ip address 46.1.1.6 255.255.255.0 
#
interface GigabitEthernet0/0/1
 ip address 56.1.1.6 255.255.255.0 
#
interface LoopBack0
 ip address 192.168.0.1 255.255.255.0 
#
interface LoopBack1
 ip address 192.168.1.1 255.255.255.0 
#
interface LoopBack2
 ip address 192.168.2.1 255.255.255.0 
#
interface LoopBack3
 ip address 192.168.3.1 255.255.255.0 

ISIS配置

# AR1配置
[AR1]isis 1
[AR1-isis-1]is-level level-1
[AR1-isis-1]net 49.0001.0000.0000.0001.00
[AR1-isis-1]int g0/0/0
[AR1-GigabitEthernet0/0/0]isis enable 1
# AR2配置
[AR2]isis 1
[AR2-isis-1]is-level level-1
[AR2-isis-1]net 49.0001.0000.0000.0002.00
[AR2-isis-1]int g0/0/0
[AR2-GigabitEthernet0/0/0]isis enable 1
# AR3配置
[AR3]isis 1
[AR3-isis-1]is-level level-1  
[AR3-isis-1]net 49.0001.0000.0000.0003.00
[AR3-isis-1]int g0/0/0
[AR3-GigabitEthernet0/0/0]isis enable 1
[AR3-GigabitEthernet0/0/0]int s1/0/0
[AR3-Serial1/0/0]isis enable 1
[AR3-Serial1/0/0]int s1/0/1
[AR3-Serial1/0/1]isis enable 1
# AR4配置
[AR4]isis 1
[AR4-isis-1]is-level level-1-2  //默认即为Level-1-2
[AR4-isis-1]net 49.0001.0000.0000.0004.00
[AR4-isis-1]int s1/0/0
[AR4-Serial1/0/0]isis enable 1
[AR4-Serial1/0/0]int g0/0/1
[AR4-GigabitEthernet0/0/1]isis enable 1
[AR4-GigabitEthernet0/0/1]int g0/0/0
[AR4-GigabitEthernet0/0/0]isis enable 1
# AR5配置
[AR5]isis 1
[AR5-isis-1]is-level level-1-2  
[AR5-isis-1]net 49.0001.0000.0000.0005.00
[AR5-isis-1]int s1/0/1
[AR5-Serial1/0/1]isis enable 1
[AR5-Serial1/0/1]int g0/0/0
[AR5-GigabitEthernet0/0/0]isis enable 1
[AR5-GigabitEthernet0/0/0]int g0/0/1
[AR5-GigabitEthernet0/0/1]isis enable 1
# AR6配置
[AR6]isis 1
[AR6-isis-1]is-level level-2
[AR6-isis-1]net 49.0002.0000.0000.0006.00
[AR6-isis-1]int g0/0/0
[AR6-GigabitEthernet0/0/0]isis enable 1 
[AR6-GigabitEthernet0/0/0]int g0/0/1
[AR6-GigabitEthernet0/0/1]isis enable 1

配置R3为DIS

# AR1配置
[AR1]int g0/0/0 
[AR1-GigabitEthernet0/0/0]isis dis-priority 0
# AR2配置
[AR2]int g0/0/0
[AR2-GigabitEthernet0/0/0]isis dis-priority 0
# AR3查看
[AR3]dis isis int g0/0/0  //查看接口是否为DIS
# AR4配置
[AR4]int g0/0/0
[AR4-GigabitEthernet0/0/0]isis circuit-type p2p
# AR5配置
[AR5]int g0/0/0
[AR5-GigabitEthernet0/0/0]isis circuit-type p2p 
# AR6配置
[AR6]int g0/0/0
[AR6-GigabitEthernet0/0/0]isis circuit-type p2p 
[AR6-GigabitEthernet0/0/0]int g0/0/1
[AR6-GigabitEthernet0/0/1]isis circuit-type p2p
# AR6查看
[AR6]dis isis int  //查看是否存在DIS

修改开销

# AR4配置
[AR4]int s1/0/0
[AR4-Serial1/0/0]isis cost 5
# AR5配置
[AR5]int s1/0/0
[AR5-Serial1/0/0]isis cost 10 
# AR6配置
[AR6]int g0/0/0
[AR6-GigabitEthernet0/0/0]isis cost 50
[AR6-GigabitEthernet0/0/0]int g0/0/1
[AR6-GigabitEthernet0/0/1]isis cost 40

引入路由

# AR6配置
[AR6]isis 1
[AR6-isis-1]import-route direct tag 100  //ISIS引入直连路由,并标记为100
[AR6-isis-1]cost-style wide  //修改路由计算模式
# AR1配置
[AR1]isis 1
[AR1-isis-1]cost-style wide  //修改路由计算模式
# AR2配置
[AR2]isis 1
[AR2-isis-1]cost-style wide 
# AR3配置
[AR3]isis 1
[AR3-isis-1]cost-style wide
# AR4配置
[AR4]isis 1
[AR4-isis-1]cost-style wide
[AR4-isis-1]import-route isis level-2 into level-1 tag 100
# AR5配置
[AR5]isis 1
[AR5-isis-1]cost-style wide
[AR5-isis-1]import-route isis level-2 into level-1 tag 100

修改邻接关系

# AR4配置
[AR4]int g0/0/1
[AR4-GigabitEthernet0/0/1]isis circuit-level level-1

# AR5配置
[AR5]int g0/0/1
[AR5-GigabitEthernet0/0/1]isis circuit-level level-1 

骨干网络配置认证

# AR4配置
[AR4]int g0/0/0
[AR4-GigabitEthernet0/0/0]isis authentication-mode simple plain bad-5
# AR5配置
[AR5]int g0/0/0
[AR5-GigabitEthernet0/0/0]isis authentication-mode simple plain bad-5
# AR6配置
[AR6]int g0/0/0
[AR6-GigabitEthernet0/0/0]isis authentication-mode simple plain bad-5
[AR6-GigabitEthernet0/0/0]int g0/0/1
[AR6-GigabitEthernet0/0/1]isis authentication-mode simple plain bad-5
  • 重启接口或重启IS-IS进程,IS-IS关系仍可以建立
  • 在AR1上可以查到AR6上的明细路由
以上内容均属原创,如有不详或错误,敬请指出。
本文作者: 坏坏 本文链接: https://blog.csdn.net/qq_45668124/article/details/106403824 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明出处!

标签:isis,AR5,AR6,int,练习,GigabitEthernet0,实验,AR4
来源: https://blog.51cto.com/u_15267836/2903386