Professional Documents
Culture Documents
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
-----------------------------------------------------------------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
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)