You are on page 1of 4

routers

1941
------------------------------------------------------------------Router>ENABLE
Router#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME R1
R1(config)#INTERFACE G0/0
R1(config-if)#IP ADD 192.168.1.1 255.255.255.0
R1(config-if)#NO SHUTDOWN
R1(config-if)#EXIT
R1(config)#INTERFACE S0/0/0
R1(config-if)#IP ADD 192.168.12.1 255.255.255.252
R1(config-if)#CLOCK RATE 128000
R1(config-if)#NO SHUTDOWN
R1(config-if)#INTERFACE S0/0/1
R1(config-if)#IP ADD 192.168.13.1 255.255.255.252
R1(config-if)#NO SHUT
R1(config-if)#EXIT
R1(config)#ROUTER OSPF 1
R1(config-router)#
R1(config-router)#NETWORK 192.168.1.0 0.0.0.255 AREA 0
R1(config-router)#NETWORK 192.168.12.0 0.0.0.3 AREA 0
R1(config-router)#NETWORK 192.168.13.0 0.0.0.3 AREA 0
R1(config-router)#END
R1#SHOW
R1#SHOW
R1#SHOW
R1#SHOW
R1#SHOW
R1#SHOW

IP
IP
IP
IP
IP
IP

OSPF NEIGHBOR
ROUTE
ROUTE OSPF
PROTOCOLS
OSPF
OSPF INTERFACE

R1#CONFIGURE TERMINAL
R1(config)#INT LO0
R1(config-if)#IP ADD 1.1.1.1 255.255.255.255
R1(config-if)#END
R1#
R1#COPY RUN START
Destination filename [startup-config]?
Building configuration...
[OK]
R1#RELOAD
Proceed with reload? [confirm]
R1#CONFIGURE TERMINAL
R1(config)#ROUTER OSPF 1
R1(config-router)#ROUTER-ID 11.11.11.11
R1(config-router)#Reload or use "clear ip ospf process" command, for this to tak
e effect
R1(config-router)#END
R1#CLEAR IP OSPF PROCESS
Reset ALL OSPF processes? [no]: yes
R1#SHOW IP PROTOCOLS

R1#SHOW IP OSPF NEIGHBOR


R1#CONFIGURE TERMINAL
R1(config)#ROUTER OSPF 1
R1(config-router)#PASSIVE-INTERFACE G0/0
R1(config-router)#AUTO-COST REFERENCE-BANDWIDTH 10000 (NO FUNCIONA EN PT)

-----------------------------------------------------------------Router>ENABLE
Router#CONFIGURE TER
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME R2
R2(config)#INTERFACE G0/0
R2(config-if)#IP ADD 192.168.2.1 255.255.255.0
R2(config-if)#NO SHUTD
R2(config-if)#INTERFACE S0/0/0
R2(config-if)#IP ADD 192.168.12.2 255.255.255.252
R2(config-if)#NO SHUTD
R2(config-if)#INTERFACE S0/0/1
R2(config-if)#IP ADD 192.168.23.1 255.255.255.252
R2(config-if)#NO SHUT
R2(config-if)#CLOCK RATE 128000
R2(config-if)#NO SHUTD
R2(config-if)#
R2(config)#
R2(config)#ROUTER OSPF 1
R2(config-router)#NETWORK 192.168.2.0 0.0.0.255 AREA 0
R2(config-router)#NETWORK 192.168.12.0 0.0.0.3 AREA 0
R2(config-router)#
01:12:24: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.13.1 on Serial0/0/0 from LOADIN
G to FULL, Loading Done
R2(config-router)#NETWORK 192.168.23.0 0.0.0.3 AREA 0
R2(config-router)#END
R2#CONFIGURE TERMINAL
R2(config)#INT LO0
R2(config-if)#IP ADD 2.2.2.2 255.255.255.255
R2(config-if)#END
R2#
R2#COPY RUN START
Destination filename [startup-config]?
Building configuration...
[OK]
R2#RELOAD
Proceed with reload? [confirm]
R2#CONFIGURE TERMINAL
R2(config)#ROUTER OSPF 1
R2(config-router)#ROUTER-ID 22.22.22.22
R2(config-router)#Reload or use "clear ip ospf process" command, for this to tak
e effect
R2(config-router)#END
R2#CLEAR IP OSPF PROCESS

Reset ALL OSPF processes? [no]: yes


R2#SHOW IP PROTOCOLS
R2#SHOW IP OSPF NEIGHBOR
R2#CONFIGURE TERMINAL
R2(config)#ROUTER OSPF 1
R2(config-router)#PASSIVE-INTERFACE DEFAULT
R2(config-router)#NO PASSIVE-INTERFACE S0/0/0
R2(config-router)#NO PASSIVE-INTERFACE S0/0/0
R2(config-router)#
R2(config-router)#AUTO-COST REFERENCE-BANDWIDTH 10000 (NO FUNCIONA EN PT)
-----------------------------------------------------------------Router>ENABLE
Router#CONFIGURE TERMINAL
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#HOSTNAME R3
R3(config)#INTERFACE G0/0
R3(config-if)#IP ADD 192.168.3.1 255.255.255.0
R3(config-if)#NO SHUTD
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R3(config-if)#INTERFACE S0/0/0
R3(config-if)#IP ADD 192.168.13.2 255.255.255.252
R3(config-if)#CLOCK RATE 128000
R3(config-if)#NO SHUTD
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#INTERF
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state
R3(config-if)#INTERFACE
^
% Invalid input detected at '^' marker.
R3(config-if)#INTERFACE S0/0/1
R3(config-if)#IP ADD 192.168.23.2 255.255.255.252
R3(config-if)#NO SHUTD
R3(config)#ROUTER OSPF 1
R3(config-router)#NETWORK
R3(config-router)#NETWORK
R3(config-router)#NETWORK
R3(config-router)#
01:16:27: %OSPF-5-ADJCHG:
G to FULL, Loading Done

192.168.3.0 0.0.0.255 AREA 0


192.168.13.0 0.0.0.3 AREA 0
192.168.23.0 0.0.0.3 AREA 0
Process 1, Nbr 192.168.23.1 on Serial0/0/1 from LOADIN

01:16:29: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.13.1 on Serial0/0/0 from LOADIN


G to FULL, Loading Done
R3#CONFIGURE TERMINAL
R3(config)#INT LO0
R3(config-if)#IP ADD 3.3.3.3 255.255.255.255

R3(config-if)#END
R3#
R3#SHOW IP PROTOCOLS
R3#COPY RUN START
Destination filename [startup-config]?
Building configuration...
[OK]
R3#RELOAD
Proceed with reload? [confirm]
R3#CONFIGURE TERMINAL
R3(config)#ROUTER OSPF 1
R3(config-router)#ROUTER-ID 33.33.33.33
R3(config-router)#Reload or use "clear ip ospf process" command, for this to tak
e effect
R3(config-router)#END
R3#CLEAR IP OSPF PROCESS
Reset ALL OSPF processes? [no]: yes
R3#SHOW IP PROTOCOLS
R3#SHOW IP OSPF NEIGHBOR
R3#CONFIGURE TERMINAL
R3(config)#ROUTER OSPF 1
R3(config-router)#PASSIVE-INTERFACE G0/0
R3(config-router)#AUTO-COST REFERENCE-BANDWIDTH 10000 (NO FUNCIONA EN PT)

You might also like