Você está na página 1de 4

CONFIGURACION BASICA

eneable
Shift+Ctrl+6 --- Cortar Busqueda
clock set

configure terminal ---- Modo global


hostname --- Nombre del router

eneable secret *password* ----encriptado


eneable password *password* ---- no encriptado

line console 0
pass cisco
login
line vty 0 4 -- Conecion remota de 0 a 4 dispositivos config - limite 15

Configure Terminal
Mensaje:
banner mod # Mensaje #

show interfaces status // para mostrar el estatus de las interfaces


show run // para ver las configuraciones del Switch
desde config T
interface fastethernet

**********************************************************************************************************
1- Trunck
config t
int fa0/2
switchport mode / mode trunk
switchport access vlan 10

2- VTP
config t
vtp mode server/client show vtp status
vtp domain ute
vtp pass cisco

3-Crear VLAN´s
config t do show vlan
vlan 10
name Alumnos
4- Asingar Vlans
config t
int fa 0/2
switchport mode access
switchport access vlan 10

5-Ir router
No se puede usar para configuarar redes y host la 0
DNS: traducir nombre de dominios
ip dhcp pool LAN-11
network 172.16.8.0 255.255.252.0 Getway
default-router 172.16.0.1 IP que le asignaste al switch
dns 10.10.10.10
ir a interfaz y asignar ips
no sh

6-Subredes
int g0/0.20
encapsulation dot1Q 20
ip address 192.168.0.1 255.255.255.0

7- restringir ips
ip dhcp excluded-address 172.16.0.1 172.16.0.50

**********************************************************************************************************

Asignar IP sin VLAN ----------- DHCP


*1- Asignar ip al router
int g0/0 --- se0/0/0
ip address 10.10.10.1
*2- Crear pool
sh --- Activar interfaz

interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 172.16.39.129 255.255.255.128

BORRAR CONFIGURACION
erease startup-config

BORRAR VLAN
delete vlan.dat

1 2 3 4
128 128 /1 /9 /17 /25
192 64 /2 /10 /18 /26
224 32 /3 /11 /19 /27
240 16 /4 /12 /20 /28
248 8 /5 /13 /21 /29
252 4 /6 /14 /22 /30
254 2 /7 /15 /23 /31
255 1 /8 /16 /24 /32

1 2 3 4 5 6 7 8 9 10
2 4 8 16 32 64 128 256 512 1024
*************************************************************************************************
Enrutamiento
config t
ip route direccion de red destino + mascara de red destino + direccion del sieguiente salto

direccion de red destino: puerto de enlace en los routers


ejemplo:
ip route 10.10.1.0 + 255.255.255.0 + 200.100.50.2
************************************************************************************************
route rip
version 2
network
no auto-summary
passive interface
************************************************************************************************
agregar telefono ip
switchport voice vlan 30

************************************************************************************************
config t
router OSPF protocolo de enrutamiento dinamico de estado de enlace
router-id 1.1.1.1
network 172.16.1.0 0.0.0.255 (mascara wilcard) area 0
config t
router ospf 10
passive-interface gi 0/0
end
************************************************************************************************
config t
int se 0/0/0
ip ospf cost 1282
bandwith 23
************************************************************************************************
access-list 1 al 99 (ip) (mask wilcard) cuando se bloquea toda una red
access-list permit
ir a la interfaz
se 0/0/0 ip access-group 1 in / out

Você também pode gostar