Sei sulla pagina 1di 0

1

CONFIGURACIN DE UN ROUTER CISCO 2500



Suponemos que estamos trabajando en la consola del router que se denominar LAB-A
Ingrese en el modo privilegiado.
1. Conf i gur aci n del nombr e del di sposi t i vo 1. Conf i gur aci n del nombr e del di sposi t i vo
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname LAB-A

2. Conf i gur aci n de l os puer t os 2. Conf i gur aci n de l os puer t os
LAB-A(config)#interface e0
LAB-A(config-if)#ip address 172.16.11.1 255.255.255.0
LAB-A(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed
state to up
%LINK-3-UPDOWN: Interface Ethernet0, changed state to up
LAB-A(config-if)#exit
LAB-A(config)#interface s0
LAB-A(config-if)#ip address 172.16.20.1 255.255.255.0
LAB-A(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state
to up
%LINK-3-UPDOWN: Interface Serial0, changed state to up
LAB-A(config-if)#exit
LAB-A(config)#interface to0
LAB-A(config-if)#ip address 172.16.15.1 255.255.255.0
LAB-A(config-if)#ring-speed 16
LAB-A(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface TokenRing0, changed
state to up
%LINK-3-UPDOWN: Interface TokenRing0, changed state to up
LAB-A(config-if)#exit
LAB-A(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
LAB-A#copy run start
Building configuration...

[OK]

3. Conf i gur aci n de l os pr ot ocol os de enr ut ami ent o 3. Conf i gur aci n de l os pr ot ocol os de enr ut ami ent o
LAB-A#config t
Enter configuration commands, one per line. End with CNTL/Z.
LAB-A(config)#router rip
LAB-A(config-router)#network 172.16.0.0
LAB-A(config-router)#^Z
%SYS-5-CONFIG_I: Configured from console by console
LAB-A#copy run start
Building configuration...

[OK]

2
4. Habi l i t aci n del acceso por t er mi nal vi r t ual y l a passowor d cor r espondi ent e 4. Habi l i t aci n del acceso por t er mi nal vi r t ual y l a passowor d cor r espondi ent e
LAB-A#config t
Enter configuration commands, one per line. End with CNTL/Z.
LAB-A(config)#line vty 0 4
LAB-A(config-line)#login
LAB-A(config-line)#password cisco
LAB-A(config-line)#^Z
%SYS-5-CONFIG_I: Configured from console by console
LAB-A#copy run start
Building configuration...

[OK]

5. Conf i gur aci n de una i nt er f ace ser i al en el ext r emo D 5. Conf i gur aci n de una i nt er f ace ser i al en el ext r emo DCE del cabl e ser i al CE del cabl e ser i al
LAB-B(config)#interface s1
LAB-B(config-if)#ip address 172.16.40.1 255.255.255.0
LAB-B(config-if)#clock rate 56000
LAB-B(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state
to up
%LINK-3-UPDOWN: Interface Serial1, changed state to up
LAB-B(config-if)#^Z
%SYS-5-CONFIG_I: Configured from console by console
LAB-B#copy run start
Building configuration...

[OK]

6. Conf i gur aci n de una r ut a est t i ca 6. Conf i gur aci n de una r ut a est t i ca
LAB-C#config t
Enter configuration commands, one per line. End with CNTL/Z.
LAB-C(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.1
LAB-C(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console

7. Par a vi sual i zar l as r ut as 7. Par a vi sual i zar l as r ut as
LAB-C#sh 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, * - candidate default
U - per-user static route, o - ODR

Gateway of last resort is not set

172.16.0.0/24 is subnetted, 7 subnets
R 172.16.15.0 [120/2] via 172.16.40.1, 00:00:04, Serial0
S 172.16.20.0 [1/0] via 172.16.40.1
R 172.16.11.0 [120/2] via 172.16.40.1, 00:00:04, Serial0
R 172.16.30.0 [120/2] via 172.16.40.1, 00:00:04, Serial0
C 172.16.40.0 is directly connected, Serial0
C 172.16.55.0 is directly connected, TokenRing0
C 172.16.50.0 is directly connected, Ethernet0

Potrebbero piacerti anche