Configuraciones De Redes
Enviado por nel722 • 6 de Junio de 2012 • 2.541 Palabras (11 Páginas) • 638 Visitas
CONFIGURACION BASICA DEL ROUTER
Router>
Router>enable
Router#
Router# configure terminal
Router(config)#
Router(config)#hostname R1
R1(config)#
R1(config)#banner motd #
R1(config)#enable secret cisco
R1(config)#line console 0
R1(config-line)#password passcon
R1(config-line)#login
R1(config-line)#exit
R1(config)#
R1(config)#line vty 0 4
R1(config-line)#password passvty
R1(config-line)#login
R1(config-line)#exit
R1(config)#
R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 10.10.10.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#description link lan
R1(config-if)#exit
R1(config)# (presionamos en el teclado Control + z)
R1#
R1#copy running-config startup-config
R1#reload
R1#show run
COMPROBANDO LA CONECTIVIDAD
1. Damos clic en la computadora.
2. Seleccionamos la pestaña config.
3. Seleccionamos FastEthernet.
4. Ponemos las dirección IP 10.10.10.2
5. La mascara de subred 255.255.255.0
Router>ena
Router#conf t
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#line vty 0 4
Router(config-line)#pass
Router(config-line)#password cisco
Router(config-line)#login
Router(config-line)#exit
Router(config)#enable secret cisco
Router(config)#login
Router(config)#exit
Switch>ena
Switch#conf t
Switch(config)#line console 0
Switch(config-line)#password cisco
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#line vty 0 4
Switch(config-line)#password cisco
Switch(config-line)#login
Switch(config-line)#exit
Switch(config)#enable secret cisco
Switch(config)#login exit
PROTOCOLOS DINAMICOS
EIGRP
Router> enable
Router# config terminal
Router(config)# router eigrp 100
(número del 1 al 65535 como ID de Proceso / Sistema Autónomo, los routers para ser vecinos (adyacentes) tiene que poseer el mismo ID de Proceso / Sistema Autónomo)
Router(config-router)# network 10.0.0.0
(publicamos la red directamente conectada)
Router(config-router)# network 192.168.10.8 0.0.0.3
(con la máscara wilcard publicamos una subred específica directamente conectada)
router(config)#router eigrp 240
router(config-router)#network network-number
router(config-if)#bandwidth kilobits
router(config-router)#eigrp log-neighbor-changes
RIP
Router>enable
Router#conf t
Router(config)# router rip
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.0.0
Router(config-router)#network 192.168.1.0
Router(config-router)#version 2
Router(config)#exit
oSPF
Router>enable
Router#conf t
Router(config)#router ospf 1
Router(config-router)#network 11.0.0.0 0.0.0.3 area 0
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router(config)#exit
ESTATICO
Router>enable
Router#conf t
RouterA(config)# ip route 192.168.2.0 255.255.255.0 s0/0
RouterA(config)#ip route 192.168.3.0 255.255.255.0 s0/0
RouterB(config)# ip route 192.168.1.0 255.255.255.0 s0/0
RouterB(config)# ip route 192.168.3.0 255.255.255.0 s0/1
RouterC(config)# ip route 192.168.2.0 255.255.255.0 s0/1
RouterC(config)# ip route 192.168.1.0 255.255.255.0 s0/1
ACTIVACION FASTETHERNET
Router>enable
Router#conf t
Router(config)interface fastEthernet 0/0
Router(config)#ip address gateway con mascara de subred
Router(config)#no shutdown
Router(config)#exit
ACTIVACION SERIALES
Router>enable
Router#conf t
Router(config)#interface serial
Router(config)#clock rate 64000 solo para dce
Router(config)#no shutdown
Router(config)#exit
VLAN
Switch>enable
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
Switch(vlan)#vlan 20 name RED4
VLAN 2 added:
Name: redes
Switch(vlan)#vlan 3 name comp
VLAN 3 added:
Name: comp
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Switch(config)#interface range fastEthernet 0/1-4
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk allowed vlan all
Switch(config-if-range)#exit
Switch(config)#interface range fastEthernet 0/5-11
...