当前位置:首页>微思动态 > >详情
全国热线电话 400-881-4699

在线留言

【技术分享】IS-IS基本配置

发布作者:微思网络   发布时间:2022-09-05   浏览量:0

图片


IS-IS概述



实验拓扑


图片





实验需求


客户网络所有路由器路由协议要求启用IS-IS,使全网路由可达。全部IS-IS进程号统一为100,其中RTA在Area49.0001区域为DIS,RTD与RTE之间要求采用P2P网络类型,RTE引入直连链路192.168.X.X,要求RTA访问Area49.0002走最优路径。





操作步骤


R1配置:
isis 100                                  
 is-level level-1
 network-entity 49.0001.0000.0000.0001.00
#
interface GigabitEthernet0/0/0
 ip address 10.1.123.1 255.255.255.0 
 isis enable 100
 isis dis-priority 120 level-1

R2配置:
isis 100                                  
 network-entity 49.0001.0000.0000.0002.00
 import-route isis level-2 into level-1
#
interface GigabitEthernet0/0/0
 ip address 10.1.123.2 255.255.255.0 
 isis enable 100
#
interface GigabitEthernet0/0/1
 ip address 24.1.1.2 255.255.255.0 
 isis enable 100

R3配置:
isis 100
 network-entity 49.0001.0000.0000.0003.00
 import-route isis level-2 into level-1
#
interface Serial1/0/0
 link-protocol ppp
 ip address 34.1.1.3 255.255.255.0 
 isis enable 100
#
interface GigabitEthernet0/0/0
 ip address 10.1.123.3 255.255.255.0 
 isis enable 100

R4配置:
isis 100
 is-level level-2
 network-entity 49.0002.0000.0000.0004.00
#
interface Serial1/0/0
 link-protocol ppp
 ip address 34.1.1.4 255.255.255.0 
#
interface GigabitEthernet0/0/0
 ip address 45.1.1.4 255.255.255.0 
 isis enable 100
 isis circuit-type p2p
#
interface GigabitEthernet0/0/1
 ip address 24.1.1.4 255.255.255.0 
 isis enable 100

R5配置:
isis 100                                  
 is-level level-2
 network-entity 49.0002.0000.0000.0005.00
 import-route direct 
interface GigabitEthernet0/0/0
 ip address 45.1.1.5 255.255.255.0 
 isis enable 100
 isis circuit-type p2p
#
interface LoopBack0
 ip address 192.168.1.254 255.255.255.0 
#
interface LoopBack1
 ip address 192.168.2.254 255.255.255.0 
#                                         
interface LoopBack2
 ip address 192.168.3.254 255.255.255.0





验证


在R1上查看isis路由
[RTA]display isis route

                        Route information for ISIS(100)
                        -------------------------------

                       ISIS(100) Level-1 Forwarding Table
                       ----------------------------------

IPV4 Destination     IntCost    ExtCost ExitInterface   NextHop         Flags
-------------------------------------------------------------------------------
0.0.0.0/0            10         NULL    GE0/0/0         10.1.123.2      A/-/-/-
                                        GE0/0/0         10.1.123.3     
192.168.2.0/24       10         20      GE0/0/0         10.1.123.2      A/-/-/U
192.168.1.0/24       10         20      GE0/0/0         10.1.123.2      A/-/-/U
10.1.123.0/24        10         NULL    GE0/0/0         Direct          D/-/L/-
192.168.3.0/24       10         20      GE0/0/0         10.1.123.2      A/-/-/U
24.1.1.0/24          20         NULL    GE0/0/0         10.1.123.2      A/-/-/-
34.1.1.0/24          20         NULL    GE0/0/0         10.1.123.3      A/-/-/-
45.1.1.0/24          30         NULL    GE0/0/0         10.1.123.2      A/-/-/U
     Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
                               U-Up/Down Bit Set





测试网络联通性


[RTA]ping 192.168.1.254 
  PING 192.168.1.254: 56  data bytes, press CTRL_C to break
    Reply from 192.168.1.254: bytes=56 Sequence=1 ttl=253 time=80 ms
    Reply from 192.168.1.254: bytes=56 Sequence=2 ttl=253 time=80 ms
    Reply from 192.168.1.254: bytes=56 Sequence=3 ttl=253 time=80 ms
    Reply from 192.168.1.254: bytes=56 Sequence=4 ttl=253 time=70 ms
    Reply from 192.168.1.254: bytes=56 Sequence=5 ttl=253 time=30 ms

  --- 192.168.1.254 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 30/68/80 ms

[RTA]ping 192.168.2.254
  PING 192.168.2.254: 56  data bytes, press CTRL_C to break
    Reply from 192.168.2.254: bytes=56 Sequence=1 ttl=253 time=70 ms
    Reply from 192.168.2.254: bytes=56 Sequence=2 ttl=253 time=50 ms
    Reply from 192.168.2.254: bytes=56 Sequence=3 ttl=253 time=50 ms
    Reply from 192.168.2.254: bytes=56 Sequence=4 ttl=253 time=50 ms
    Reply from 192.168.2.254: bytes=56 Sequence=5 ttl=253 time=60 ms

  --- 192.168.2.254 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 50/56/70 ms

[RTA]ping 192.168.3.254
  PING 192.168.3.254: 56  data bytes, press CTRL_C to break
    Reply from 192.168.3.254: bytes=56 Sequence=1 ttl=253 time=60 ms
    Reply from 192.168.3.254: bytes=56 Sequence=2 ttl=253 time=60 ms
    Reply from 192.168.3.254: bytes=56 Sequence=3 ttl=253 time=70 ms
    Reply from 192.168.3.254: bytes=56 Sequence=4 ttl=253 time=60 ms
    Reply from 192.168.3.254: bytes=56 Sequence=5 ttl=253 time=50 ms

  --- 192.168.3.254 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 50/60/70 ms




返回顶部