码迷,mamicode.com
首页 > 其他好文 > 详细

is-is基础实验

时间:2020-05-02 11:30:23      阅读:88      评论:0      收藏:0      [点我收藏+]

标签:cap   http   cond   ida   replicat   download   配置   switch   date   

实验拓扑:

技术图片

 

 

 

is-is配置:

router isis
net 49.0000.0000.0002.00
R2:
is-type level-1-2
int e0/0
ip router isis
int lo0
ip router isis

R3:
router isis
net 49.0000.0000.0003.00
is-type level-1-2
int e0/0
ip router isis
int lo0
ip router isis

R4:
router isis
net 49.0000.0000.0004.00
is-type level-1-2
int e0/0
ip router isis
int lo0
ip router isis

 

R2#show clns int e0/0  
Ethernet0/0 is up, line protocol is up
  Checksums enabled, MTU 1497, Encapsulation SAP
  ERPDUs enabled, min. interval 10 msec.
  CLNS fast switching disabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 35 seconds
  Routing Protocol: IS-IS
    Circuit Type: level-1-2
    Interface number 0x0, local circuit ID 0x1
    Level-1 Metric: 10, Priority: 64, Circuit ID: R4.01
    DR ID: R4.01
    Level-1 IPv6 Metric: 10
    Number of active level-1 adjacencies: 2
    Level-2 Metric: 10, Priority: 64, Circuit ID: R4.01
    DR ID: R4.01
    Level-2 IPv6 Metric: 10
    Number of active level-2 adjacencies: 2
    Next IS-IS LAN Level-1 Hello in 5 seconds
    Next IS-IS LAN Level-2 Hello in 2 seconds

 

通过上述输出可以看出DIS为R4,R2接口isis的优先级默认为64,我们可以将R3,R4接口优先级改小,让R2成为DIS。命令:

int e0/0

isis priority 0

R2#show clns int e0/0
Ethernet0/0 is up, line protocol is up
  Checksums enabled, MTU 1497, Encapsulation SAP
  ERPDUs enabled, min. interval 10 msec.
  CLNS fast switching disabled
  CLNS SSE switching disabled
  DEC compatibility mode OFF for this interface
  Next ESH/ISH in 33 seconds
  Routing Protocol: IS-IS
    Circuit Type: level-1-2
    Interface number 0x0, local circuit ID 0x1
    Level-1 Metric: 10, Priority: 64, Circuit ID: R2.01
    DR ID: R2.01
    Level-1 IPv6 Metric: 10
    Number of active level-1 adjacencies: 2
    Level-2 Metric: 10, Priority: 64, Circuit ID: R2.01
    DR ID: R2.01
    Level-2 IPv6 Metric: 10
    Number of active level-2 adjacencies: 2
    Next IS-IS LAN Level-1 Hello in 2 seconds
    Next IS-IS LAN Level-2 Hello in 1 seconds

邻居、路由信息输出:

R2#show clns neighbors 
System Id      Interface   SNPA                State  Holdtime  Type Protocol
R3             Et0/0       aabb.cc00.3000      Up     29        L1L2 IS-IS
R4             Et0/0       aabb.cc00.4000      Up     26        L1L2 IS-IS
R2#show isis neighbors 

System Id      Type Interface   IP Address      State Holdtime Circuit Id
R3             L1   Et0/0       192.168.10.3    UP    22       R2.01              
R3             L2   Et0/0       192.168.10.3    UP    24       R2.01              
R4             L1   Et0/0       192.168.10.4    UP    26       R2.01              
R4             L2   Et0/0       192.168.10.4    UP    29       R2.01  
R2#show ip route isis 
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      3.0.0.0/32 is subnetted, 1 subnets
i L1     3.3.3.3 [115/20] via 192.168.10.3, 00:40:54, Ethernet0/0
      4.0.0.0/32 is subnetted, 1 subnets
i L1     4.4.4.4 [115/20] via 192.168.10.4, 00:40:18, Ethernet0/0

 

is-is基础实验

标签:cap   http   cond   ida   replicat   download   配置   switch   date   

原文地址:https://www.cnblogs.com/miaocongcong/p/12817356.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!