Sunteți pe pagina 1din 4

enable

config terminal
hostname nombreaasignar
end
wr ---- siempre que haga algun cambio, para guardar CLI

----------------------------------------------------------
CREAR VLAN

config terminal
vlan 10
name aaaaaaa
vlan 20
name aaaaaaa
vlan 30
name aaaaaaa
vlan 40
name aaaaaaa
vlan 50
vame aaaaaaa

end
wr ---- siempre que haga algun cambio, para guardar CLI

MOSTRAR TODAS LAS VLAN CREADAS

show vlan brief

ASIGNAR PUERTOS A UNA VLAN

configura terminal
interface "fa0/1" ejemplo, estoy asignandole a una vlan este puerto

Para asignar unicamente a una sola vlan será


switchport mode access
switchport access vlan [numero de vlan]

O TAMBIEN
interface range fa0/1-6
switchport mode access
switchport access vlan 10
end
wr

PARA QUE DE SWITCH A SWITCH SE PUEDAN PASAR LAS VLAN( TRUNK ),


TENEMOS QUE HACER ESTO

enable
configure terminal
int gigabitEthernet 0/1
switchport mode trunk

int gigabitEthernet 0/2


switchport mode trunk

-lo mismo pero con atajo


configure terminal
interface range gi0/1-2
switchport mode trunk
end

-------------------------------------------------------
Configuración de Password

Password para Enable


German#configure terminal
German(config)#enable password [password]
German(config)#exit

Por razones de seguridad se recomienda colocar un password a Enable ya que es el


paso que
necesita un usuario para ingresar al modo administrador. Este comando coloca el
password sin
encriptar.

Password paraTelnet

German#configure terminal
German(config)#line vty 0 4
German(config-line)#login
German(config-line)#password [password]
German(config-line)#exit

El Telnet se usara para que podamos acceder el equipo de forma remota, así que se
recomienda
habilitarlo. Por razones de seguridad se recomienda usar SSH en vez de Telnet, pero
en la practica
es bastante utilizado.

Password para Consola


German#configure terminal
German(config)#line console 0
German(config-line)#login
German(config-line)#password [password]
German(config-line)#exit

Se recomienda ya que de lo contrario cualquier usuario que tenga acceso físico al


equipo podría
colocar un cable de consola y acceder al mismo.

Password Enable Secret (se usa para encriptar el password de Enable)

German#configure terminal
German(config)#enable secret [password]
German(config)#exit
-------------------------------------------------------------------------------

Juarez 1250 hosts RED: MASCARA_


CONTRASEÑAS
-ENABLE JUAREZ = 1234 ----- TELNET vty = 1234
-ENABLE CHIHUAHUA = 2345 ----- TELNET vty = 2345
-ENABLE CAMARGO = 3456 ----- TELNET vty = 3456
-ENABLE CUAUHTEMOC = 4567 ----- TELNET vty = 4567
-ENABLE DELICIAS = 5678 ----- TELNET vty = 5678

-----------------------------------------------------------------------------------
-
ENRUTAMIENTO ESTÁTICO

CONFIGURAR ROUTER

enable
config terminal
interface gigabitEthernet 0/0
ip address 172.16.1.254 255.255.255.0
no shutdown

router(config)# ip route [red destino] [mascara de red destino]


[next hop]
end
wr

router(config)# ip route [red destino] [mascara de red destino]


[interfaz de salida]

router# show ip route


router# show ip route static
router# show running-config | include ip route

default gateway de pc's : Dirección ip del router

------------------------------------------------
EIGRP

conf t
router eigrp 100
network (red directamente conectada)
network
no auto-summary
end
wr

#show ip route Tabla de enrutamiento

#show ip protocols Muestra los parametros


del protocolo

#show ip eigrp neighbors Muestra info de vecinos


EIGRP

CONFIGURAR DELAY

enable
conf t
interface s0/0/1
delay 1900
end
wr

---------------------------------------------------------
OSPF

enable
conf t
router ospf 1
network 172.16.1.0 0.0.0.255 area 0
network 1.1.1.0 0.0.0.3 area 0
end
wr

network 2.2.2.0 0.0.0.3 area 0

MEXICO - CANADA
001 . 001
USA CANADA
001 000

---------------------------------------------------------

S-ar putea să vă placă și