Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CCNPv7 ROUTE_Labs_-_Instructor / CCNPv7_ROUTE_Lab8-2_Routing_Protocol_Authentication_Instructor.doc
Скачиваний:
1154
Добавлен:
11.06.2015
Размер:
240.13 Кб
Скачать

192.168.1.1

10.1.1.1

10.1.1.2

10.2.2.1

10.2.2.2

192.168.3.1

} { ping $address }

R1(tcl)#foreach address {

+>(tcl)#192.168.1.1

+>(tcl)#10.1.1.1

+>(tcl)#10.1.1.2

+>(tcl)#10.2.2.1

+>(tcl)#10.2.2.2

+>(tcl)#192.168.3.1

+>(tcl)#} { ping $address }

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 12/14/16 ms

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

Type escape sequence to abort.

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

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/28 ms

R1(tcl)#

Are the pings now successful?

Yes. If not, troubleshoot.

Device Configurations (Instructor version)

Router R1

hostname R1

!

key chain NAMED-R1-Chain

key 1

key-string secret-1

key chain SHA-CHAIN

key 1

key-string secret-1

cryptographic-algorithm hmac-sha-256

!

interface Loopback0

description R1 LAN

ip address 192.168.1.1 255.255.255.0

!

interface Serial0/0/0

description R1 --> R2

ip address 10.1.1.1 255.255.255.252

ip ospf authentication key-chain SHA-CHAIN

clock rate 128000

!

router ospf 1

network 10.1.1.0 0.0.0.3 area 0

network 192.168.1.0 0.0.0.255 area 0

!

end

Router R2

hostname R2

!

key chain NAMED-R2-Chain

key 1

key-string secret-1

!

key chain SHA-CHAIN

key 1

key-string secret-1

cryptographic-algorithm hmac-sha-256

!

interface Serial0/0/0

description R2 --> R1

ip address 10.1.1.2 255.255.255.252

ip ospf authentication key-chain SHA-CHAIN

!

interface Serial0/0/1

description R2 --> R3

ip address 10.2.2.1 255.255.255.252

ip ospf authentication key-chain SHA-CHAIN

clock rate 128000

!

router ospf 1

network 10.1.1.0 0.0.0.3 area 0

network 10.2.2.0 0.0.0.3 area 0

!

end

Router R3

hostname R3

!

key chain NAMED-R3-Chain

key 1

key-string secret-1

!

key chain SHA-CHAIN

key 1

key-string secret-1

cryptographic-algorithm hmac-sha-256

!

interface Loopback0

description R3 LAN

ip address 192.168.3.1 255.255.255.0

!

interface Serial0/0/1

description R3 --> R2

ip address 10.2.2.2 255.255.255.252

ip ospf authentication key-chain SHA-CHAIN

!

router ospf 1

network 10.2.2.0 0.0.0.3 area 0

network 192.168.3.0 0.0.0.255 area 0

!

end

© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 14of14