Comandos Ospf

Páginas: 8 (1843 palabras) Publicado: 23 de mayo de 2012
ROUTER 1
Press RETURN to get started.

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#pass cisco
Router(config-line)#login
Router(config-line)#line vty 0 4
Router(config-line)#pass cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable secret ciscoRouter(config)#service password-encryption
Router(config)#int s0/0/0
Router(config-if)#ip add 172.16.4.1 255.255.252.0
Router(config-if)#clock rate 64000
Router(config-if)#description salida internet sub 1
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#hostname R2
R1(config)#exit
R1#
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 20R1(config-router)#network 172.16.4.1 0.0.3.255 area 0
R1(config-router)#
00:51:46: %OSPF-5-ADJCHG: Process 20, Nbr 172.16.4.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R1(config-router)#exit
R1(config)#exit
R1#ping 172.16.224.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.224.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-tripmin/avg/max = 9/14/16 ms

R1#trace 172.16.224.1
Type escape sequence to abort.
Tracing the route to 172.16.224.1

1 172.16.4.2 1 msec 4 msec 1 msec
2 172.16.48.2 5 msec 9 msec 10 msec
3 172.16.60.1 8 msec 11 msec 12 msec
4 172.16.64.1 7 msec 17 msec 15 msec
R1#show ip route
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
i - IS-IS, 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

Gateway of last resort is 172.16.4.2 to network 0.0.0.0

172.16.0.0/16 is variably subnetted, 5 subnets, 2 masks
C 172.16.4.0/22 is directly connected, Serial0/0/0
O 172.16.48.0/22 [110/128] via 172.16.4.2, 00:56:14, Serial0/0/0
O 172.16.60.0/22 [110/192] via 172.16.4.2, 00:54:54, Serial0/0/0
O 172.16.64.0/22 [110/256] via172.16.4.2, 00:52:04, Serial0/0/0
O 172.16.224.1/32 [110/257] via 172.16.4.2, 00:49:42, Serial0/0/0
O*E2 0.0.0.0/0 [110/1] via 172.16.4.2, 00:48:50, Serial0/0/0
R1#

ROUTER 2
Press RETURN to get started.

Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line console 0
Router(config-line)#pass cisco
Router(config-line)#loginRouter(config-line)#line vty 0 4
Router(config-line)#pass cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable secret cisco
Router(config)#service password-encryption
Router(config)#int s0/0/0
Router(config-if)#ip add 172.16.4.2 255.255.252.0
Router(config-if)#description salida internet sub 1
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#int s0/0/1Router(config-if)#ip add 172.16.48.1 255.255.252.0
Router(config-if)#clock rate 64000
Router(config-if)#description salida internet sub 12
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#hostname R2
R2(config)#exit
R2#
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router ospf 20
R2(config-router)#network 172.16.4.2 0.0.3.255 area0
R2(config-router)#
00:51:46: %OSPF-5-ADJCHG: Process 20, Nbr 172.16.4.2 on Serial0/0/0 from LOADING to FULL, Loading Done

R2(config-router)#network 172.16.48.1 0.0.3.255 area 0
00:51:46: %OSPF-5-ADJCHG: Process 20, Nbr 172.16.48.1 on Serial0/0/1 from LOADING to FULL, Loading Done
R2(config-router)#exit
R2(config)#exit
R2#

ROUTER 4
Press RETURN to get started.

Router>ena...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Comandos-Para-Trabajar-en-Ospf
  • Ospf
  • Ospf
  • ospf
  • OSPF
  • Ospf
  • OSPF
  • OSPF

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS