實驗二:配置和調試集成 isis

實驗目的:oop

1. 配置集成 isisspa

2. 每一個路由器都能 ping 到其餘路由器debug

配置過程:orm

在路由器 A 上配置router

首先仍是配置 isis 集成,net 地址,這裏不重複了,而後在接口模式啓用 isisblog

Router_A#configure terminal接口

Router_A(config)#interface ethernet 0ip

Router_A(config-if)#ip router isisci

Router_A(config-if)#interface loopback 0路由

Router_A(config-if)#ip router isis

Router_A(config-if)#interface loopback 1

Router_A(config-if)#ip router isis

Router_A(config-if)#interface serial 1

Router_A(config-if)#ip router isis

一樣的在 BC 也這樣配置

B 上檢查鄰居

Router_B#show clns neighbors

System Id Interface SNPA State Holdtime Type Protocol

Router_A Et0 00e0.b064.46f6 Init 9 L1L2 IS-IS

Router_C Se0 *HDLC* Up 282 IS ES-IS

路由器 B AC 都沒有造成鄰接

A 上檢查一下

Router_A#show clns neighbors

System Id Interface SNPA State Holdtime Type Protocol

Router_B Et0 00e0.b064.46ec Up 274 IS ES-IS

Router_D Se1 *HDLC* Up 266 IS ES-IS

一樣也沒有造成鄰接

咱們打開 debug 看看

Router_A#debug isis adj-packets

Router_A#show logging

Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)

Console logging: disabled

Monitor logging: level debugging, 0 messages logged

Buffer logging: level debugging, 647 messages logged

Trap logging: level informational, 56 message lines logged

Log Buffer (4096 bytes):

…………………..

03:28:01: IS-IS-Adj: Rec L1 IIH from 00e0.b064.46ec (Ethernet0), cir

type L1L2, c

ir id 1111.1111.1111.03, length 1497

03:28:01: IS-IS-Adj: No usable IP interface addresses in LAN IIH from

Ethernet0

03:28:02: IS-IS-Adj: Sending L1 LAN IIH on Ethernet0, length 1497

03:28:02: IS-IS-Adj: Sending L2 LAN IIH on Ethernet0, length 1497

03:28:03: IS-IS-Adj: Rec L2 IIH from 00e0.b064.46ec (Ethernet0), cir

type L1L2, c

ir id 1111.1111.1111.03, length 1497

03:28:04: IS-IS-Adj: No usable IP interface addresses in LAN IIH from

Ethernet0

03:28:04: IS-IS-Adj: Rec serial IIH from *HDLC* (Serial1), cir type

L1L2, cir id

00, length 1499

03:28:04: IS-IS-Adj: No usable IP interface addresses in serial IIH

from Serial1

。。。。。。。

Router_A#undebug all

All possible debugging has been turned off

Router_A#

這兩行表示 B D 的接口沒有配置集成的 isis

Router_B#configure terminal

Router_B(config)#interface ethernet 0

Router_B(config-if)#ip router isis

在看看鄰居狀態

Router_B#show clns neighbors

System Id Interface SNPA State Holdtime Type Protocol

Router_A Et0 00e0.b064.46f6 Up 9 L1L2 IS-IS

Router_C Se0 *HDLC* Up 256 IS ES-IS

A 的鄰接已經創建了

C 上將接口啓用 isis

Router_C(config)#interface loopback 0

Router_C(config-if)#ip router isis

Router_C(config-if)#interface loopback 1

Router_C(config-if)#ip router isis

Router_C(config-if)#interface serial 0

Router_C(config-if)#ip router isis

D 上也作一樣配置

Router_D(config)#interface loopback 0

Router_D(config-if)#ip router isis

Router_D(config-if)#interface loopback 1

Router_D(config-if)#ip router isis

Router_D(config-subif)#interface serial 1

Router_D(config-if)#ip router isis

最後咱們能夠檢查一下路由表

Router_A#show ip route

。。。。。。。

i L1 192.168.12.0/24 [115/20] via 10.3.3.2, Ethernet0

i L2 192.168.31.0/24 [115/20] via 10.2.2.2, Serial1

172.16.0.0/30 is subnetted, 1 subnets

i L1 172.16.1.0 [115/20] via 10.3.3.2, Ethernet0

i L1 192.168.11.0/24 [115/20] via 10.3.3.2, Ethernet0

i L2 192.168.21.0/24 [115/30] via 10.3.3.2, Ethernet0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks

C 10.2.2.0/30 is directly connected, Serial1

C 10.3.3.0/24 is directly connected, Ethernet0

i L2 192.168.22.0/24 [115/30] via 10.3.3.2, Ethernet0

C 192.168.1.0/24 is directly connected, Loopback0

C 192.168.2.0/24 is directly connected, Loopback1

i L2 192.168.32.0/24 [115/20] via 10.2.2.2, Serial1

而後能夠互相 ping 一下

Router_A#ping 192.168.11.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 192.168.11.1, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/ma

相關文章
相關標籤/搜索