Professional Documents
Culture Documents
Conf Pra VLSM OSPF S82A
Conf Pra VLSM OSPF S82A
Router>en
Router#conf ta
^
% Invalid input detected at '^' marker.
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lo
Router(config)#no ip domain-lookup
Router(config)#hostname R1
R1(config)#enable secret class
R1(config)#line con 0 cisco
^
% Invalid input detected at '^' marker.
R1(config)#line con 0
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#line vty 0 4
R1(config-line)#password cisco
R1(config-line)#login
R1(config-line)#line con 0
R1(config-line)#logging s
R1(config-line)#logging synchronous
R1(config-line)#exit
R1(config)#banner motd # Acceso denegado #
R1(config)#int g0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R1(config-if)#int s0/0/0
R1(config-if)#ip add 192.168.12.1 255.255.255.252
R1(config-if)#no sh
R1(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config)#show running-config
^
% Invalid input detected at '^' marker.
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#net 192.168.1.0 0.0.0.255 area 0
R1(config-router)#net 192.168.12.0 0.0.0.3 area 0
R1(config-router)#net 192.168.13.0 0.0.0.3 area 0
R1(config-router)#
00:25:16: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.23.1 on Serial0/0/0 from LOADING
to FULL, Loading Done
R1(config-router)#
00:26:14: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.23.2 on Serial0/0/1 from LOADING
to FULL, Loading Done
R1(config-router)#end
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#show ip protocols
R1#show ip ospf
Routing Process "ospf 1" with ID 192.168.13.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 3
Area has no authentication
SPF algorithm executed 6 times
Area ranges are
Number of LSA 3. Checksum Sum 0x00c59a
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
R1(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
#################### R2 ##########################
Would you like to enter the initial configuration dialog? [yes/no]: n
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip doma
Router(config)#no ip domain-loo
Router(config)#no ip domain-lookup
Router(config)#hostname R2
R2(config)#enable secret class
R2(config)#line con 0
R2(config-line)#password cisco
R2(config-line)#log
R2(config-line)#?
Line configuration commands:
access-class Filter connections based on an IP access list
accounting Accounting parameters
databits Set number of data bits per character
default Set a command to its defaults
exec-timeout Set the EXEC timeout
exit Exit from line configuration mode
flowcontrol Set the flow control
history Enable and control the command history function
ipv6 IPv6 options
logging Modify message logging facilities
login Enable password checking
motd-banner Enable the display of the MOTD banner
no Negate a command or set its defaults
parity Set terminal parity
password Set a password
privilege Change privilege level for line
session-limit Set maximum number of sessions
speed Set the transmit and receive speeds
stopbits Set async line stop bits
transport Define transport protocols for line
R2(config-line)#login
R2(config-line)#line vty 0 4
R2(config-line)#password cisco
R2(config-line)#exit
R2(config)#banner motd # Acceso denegado #
R2(config)#line con 0
R2(config-line)#logging s
R2(config-line)#logging synchronous
R2(config-line)#exit
R2(config)#int s0/0/0
R2(config-if)#ip add 192.168.12.2 255.255.255.252
R2(config-if)#no sh
R2(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R2(config-if)#
R2(config-if)#int s0/0/1
R2(config-if)#ip add 192.168.23.1 255.255.255.252
R2(config-if)#no sh
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to down
R2(config-if)#end
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#router ospf 1
R2(config-router)#net 192.168.2.0 0.0.0.255 area 0
R2(config-router)#net 192.168.12.0 0.0.0.3 area 0
R2(config-router)#net 192.168.12.0 0.0.0.3 area 0
00:25:25: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.13.1 on Serial0/0/0 from LOADING
to FULL, Loading Done
R2(config-router)#exit
R2(config)#int lo0
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2#
%LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
R2#
00:33:03: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to
FULL, Loading Done
R2#
############# R3 ###################33
--- System Configuration Dialog ---
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-look
Router(config)#no ip domain-lookup
Router(config)#hostname R3
R3(config)#enable secret class
R3(config)#line con 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#logging s
R3(config-line)#logging synchronous
R3(config-line)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#exit
R3(config)#banner motd # Acceso denegado #
R3(config)#int g0/0
R3(config-if)#192.168.3.1 255.255.255.0
^
% Invalid input detected at '^' marker.
R3(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
R3(config-if)#int s0/0/0
R3(config-if)#ip add 192.168.13.2 255.255.255.252
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#int s0/0/1
R3(config-if)#ip add 192.168.23.2 255.255.255.252
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R3(config-if)#end
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#copy ru
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
R3(config-router)#
00:26:04: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.23.1 on Serial0/0/1 from LOADING
to FULL, Loading Done
R3(config-router)#exit
R3(config)#int lo0
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
R3#
%LINK-3-UPDOWN: Interface Serial0/0/0, changed state to down
R3#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3#
00:32:39: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to
FULL, Loading Done