Académique Documents
Professionnel Documents
Culture Documents
#show
#show
#show
#show
#show
#show
#show
ip route
ip route x.x.x.x
ip route static
ipv6 route
ipv6 route x.x.x.x
ipv6 route static
controllers ethernet-controller FastEthernetx/x phy | include Auto M
|-Muestra la configuracion
|Auto-MDIX
CAMBIAR DE NOMBRE
======================================================================
====> (config)#hostname "xxx"
CONFIGURAR MENSAJE DE BIENVENIDA
======================================================================
====> (config)#BANNER MOTD #XXX#
CONFIGURAR CONTRASEA MODO PRIVILEGIADO
======================================================================
====> (config)#enable secret "xxx"
====> (config)#service password-encryption
CONFIGURAR LINEAS VIRTUALES
======================================================================
====>
====>
====>
====>
(config)#line vty 0 15
(config-line)#password "xxx"
(config-line)#login
(config-line)#logging synchronous
(config)#line console 0
(config-line)#password "xxx"
(config-line)#login
(config-line)#logging synchronous
CONFIGURAR DEFAULT-GATEWAY
======================================================================
====> (config)#ip default-gateway "dir. ip"
CREAR VLAN
======================================================================
====> (config)#vlan "id de la vlan"
====> (config-vlan)#name "xxx"
---------------------------------------------------------------------====> (config)#no vlan "id de la vlan"
|Elimina
r vlan
|Elimina
|de vlan
.
CAMBIAR VLAN ADMINISTRATIVA
======================================================================
====>
====>
====>
====>
====>
====>
====>
(config)#interface vlan 1
(config-if)#no ip address
(config-if)#no ipv6 address
(config-if)#shutdown
(config-if)#interface vlan "id de la vlan"
(config-if)#ip address "x.x.x.x" "m.m.m.m"
(config-if)#no shutdown
|cambia la vlan
|administrativa
|a la vlan 99
|-Seguri
|unica d
ireccion
|mac
====> (config)#switchport port-security maximum x
idad para
|-Ssegur
|mas de
una
|direcci
on mac
====> (config)#switchport port-security mac-address sticky
====> (config)#switchport port-security violation shutdown
CONFIGURACION DE SSH
======================================================================
====> (config)#ip domain-name "xxxxx.com"
de dominio
====> (config)#crypto key generate rsa
r 1024
====> (config)#username "usuario" password "contrasea"
cion de usuario y contrasea
====> (config)#line vty 0 15
====> (config-if)#trasnport input ssh
====> (config-if)#login local
====> (config)#exit
====> (config)#ip ssh version 2
---------------------------------------------------------------------====> (config)#crypto key zeroize rsa
a rsa
|-Nombre
|-coloca
|-Asigna
|-Elimin
|-Habili
|para la
s vlan
====> (config)#interface fastEthernet x/x
los puertos
====> (config-if)#ip dhcp snooping trust
les
|-Define
|confiab
CAMBIAR DE NOMBRE
======================================================================
====> (config)#hostname "xxx"
CONFIGURAR MENSAJE DE BIENVENIDA
======================================================================
====> (config)#BANNER MOTD #XXX#
CONFIGURAR CONTRASEA MODO PRIVILEGIADO
======================================================================
====> (config)#enable secret "xxx"
====> (config)#service password-encryption
CONFIGURAR LINEAS VIRTUALES
======================================================================
====>
====>
====>
====>
(config)#line vty 0 15
(config-line)#password "xxx"
(config-line)#login
(config-line)#logging synchronous
(config)#line console 0
(config-line)#password "xxx"
(config-line)#login
(config-line)#logging synchronous
|dir. de
|Mascara
|se colo
|subrede
s en produccion
CONFIGURAR ENRUTAMIENTO RIP (V2)
======================================================================
====> (config)#router rip
====> (config)#version 2
====> (config-router)#network "x.x.x.x"
can cada una de las
|se colo
|subrede
s en produccion
====> (config-router)#no auto-summary
CONFIGURAR ENRUTAMIENTO RIP (IPV6)
======================================================================
====> (config)#ipv6 unicast routing
====> (config)#ipv6 router rip "nombre de dominio"
====> (config.if)#ipv6 rip "nombre de dominio" enable
en cada una de las
|se hace
|interfa