Comandos básicos para las distintas configuraciones aplicadas en Cisco Packetrace
Configuraciones de routers en
RIP
EIGRP
OSPF
y en Switches de
Vlan
InterVlans
asignación de IP por Rangos.
1. ===============Configuracion de el nombre del router================
Router>enable
Router#configure terminal
Router()#hostname xxxxxx
xxxxx()#end
===============Configuracion de las faces================
Router>enable
Router#configure terminal
Router()#interface fa0/0
Router(-)#ip address xxxxxx mascara xxxxxx
Router(-)#no shutdown
Router(-)#end
===============Configuracion de los seriales================
Router#configure terminal
Router()#interface s0/0/0
Router(-)#ip address xxxxxx mascara xxxxxx
Router(-)#no shutdown
Router(-)#end
===============Configuracion del reloj================
Router(-)#clock rate ?
Router(-)#clock rate 56000
Router(-)#end
===============Configuracion rutas estaticas================
Configuracion de las rutas
Router#configure terminal
Router()#ip route [red de destino][Mask subnet][Dir siguiente router]
===============configuracion Rip================
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network xxxxxx
Router(config-router)#network xxxxxx
router)
Router(config-router)#network xxxxxx
Router(config-router)#no auto-summary
Router(config-router)#end
(las XXXXX son ip's
de alrededor del
===============Configuracion ospf================
Router(config)#router ospf 10
Router(config-router)#network
Router(config-router)#network
alrededor del router)
Router(config-router)#network
Router(config-router)#network
Router(config-router)#end
xxxxxx area 0
xxxxxx area 0
(las XXXXX son ip's de
xxxxxx area 0
xxxxxx area 0
===============Configuracion EIGRP================
Router(config)#router eigrp 10
Router(config-router)#network x.x.x.x
red)
Router(config-router)#network x.x.x.x
default)
Router(config-router)#network x.x.x.x
Router(config-router)#network x.x.x.x
Router(config-router)#no auto-summary
WM
(el WM es el waicard Masck de la
WM
(las X.X.X.X sonla red de
WM
WM
2. Router(config-router)#end
===============Sumarizacion Manual===============
Router(config)#router eigrp 10
Router(config-router)#ip summary-addres SM x.x.x.x
de la sumarizada)
Router(config-router)#end
(SM es la Sumarizada)
(la x.x.x.x es la mascara
===============configurar VLans===============
SW>enable
sW#configure terminal
SW(#)vlan x
sw(#)name (nombre a poner)
sw(#)interface range fa 0/4-8
sw(#)switchport mode acces
sw(#)switchport acces vlan x
(x es cualquier numero que se desee)
(este es un ejemplo de poner rango del 4 al 8)
===============crear troncales en switch===============
sw>enable
sw#configure terminal
sw(#)interface Gi 0/1 |ó| interface range Gi 1/1-2
sw(-)switchport mode trunk
sw(-)switchport trunk allowed vlan x
===============crear Vlans mas rapido===============
SW>enable
sw#vlan database
sw#vlan 20 name ventas
sw#vlan 40 name finanzas
sw#vlan 60 name soporte
sw#exit
sw#configure terminal
SW(config)#interface range fa0/3-6
SW(config)#switchport mode acces
SW(config)#switchport acces vlan 20
SWr(config)#exit
sw#interface range gi1/1-2
sw#switchport mode trunk
switchport trunk allowed vlan all
===============Encapsular vlans===============
R1(config-subif)#interface fa#/#
R1(config-subif)#encapsulation dot1q (#vlan)
R1(config-subif)#exit
==============Encapsular Vlans Nativas==========
R1(config-if)#interface fa #/#
R1(config-subif)#encapsulation dot1q (#Vlan) native
R1(config-subif)#ip address (Ip a asignar) (Mask)
=============Establecer Contraseñas y quitar DNS============
S3(config)#vtp mode client
Setting device to VTP CLIENT mode
S3(config)#vtp domain Lab6
Changing VTP domain name from NULL to Lab6
S3(config)#vtp password cisco
Setting device VLAN database password to cisco
S3(config)#end