Jjjj

Páginas: 13 (3024 palabras) Publicado: 27 de noviembre de 2012
Comandos Para Configurar Un Switch Cisco

::CONFIGURACION DE NOMBRE, CONTRASEÑAS Y GUARDAR CONFIGURACION

Switch>enable
Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#enable secret (CONTRASEÑA)
S1(config)#no ip domain-lookup
S1(config)#line console 0
S1(config-line)#password (contraseña)S1(config-line)#login
S1(config-line)#line vty 0 15
S1(config-line)#password (contraseña)
S1(config-line)#login
S1(config-line)#end
S1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...

::CREACION DE VLAN Y NOMBRES

SERVIDOR(config)#vlan (numero de la vlan)
SERVIDOR(config-vlan)#name (nombre de la vlan)
SERVIDOR(config-vlan)#end::ASIGNACION DE VLANS EN LOS PUERTOS

SERVIDOR(config)#interface range f0/(rango del puerto ejem. "2-5" ) ::LOS PUERTOS ASIGNADOS::
SERVIDOR(config-if-range)#switchport access vlan (numero de la vlan) ::NOMBRE DE LAS VLANS::

::ASIGNACION DE IP A CADA VLAN

SERVIDOR(config)#interface vlan (numero de la vlan)

%LINK-5-CHANGED: Interface Vlan10, changed state to up
%LINEPROTO-5-UPDOWN:Line protocol on Interface Vlan10, changed state to upSERVIDOR

(config-if)#ip address (ip ejem. 172.17.10.10 y mascara de red ejem. 255.255.255.0)
SERVIDOR(config-if)#no shutdown

::ASIGNACION DE GATEWAY DE LA VLAN

SERVIDOR(config)#ip default-gateway (ip del gateway ejem. 172.17.10.1)
Enter configuration commands, one per line. End with CNTL/Z.

::CREACION DE LA VLAN 99 ASIGNACIONDE PUERTOS

SERVIDOR(config)#vlan 99
SERVIDOR(config-vlan)#name (nombre de la vlan)

SERVIDOR(config)#interface vlan 99
%LINK-5-CHANGED: Interface Vlan99, changed state to upSERVIDOR(config-if)#

SERVIDOR(config-if)#ip address (ip y mascara de red de la vlan)
SERVIDOR(config-if)#
SERVIDOR(config)#interface range f0//rango de los puertos)
SERVIDOR(config-if-range)#switchportaccess vlan 99

Switch#show vlan brief ::Verifique que la información de la VLAN
Switch# show version ::Muestre la información IOS de Cisco.
Switch# show interface fastethernet 0/18 ::Examine las interfaces Fast Ethernet.
Switch# show vlan ::Examine la información de la VLAN.
Switch# show flash ::Examine la memoria flash
S1#show interface vlan 99 ::Verifique la configuración deadministración de las LAN.

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

Usar el servicio de ayuda para configurar el reloj

S1#clock ?

Paso 2: Use la ayuda para facilitar la configuración del reloj según la hora actual.
S1#clock ?
set Set the time and date
S1#clock set ?
hh:mm:ss Current Time
S1#clock set 12:12:12 ?
<1-31> Day of the month
MONTH Month of the year

Vea los comandosintroducidos más recientemente..

S1#show history

Compruebe la versión de software IOS de Cisco cargada.

S1#show version

Muestre las direcciones MAC utilizando el comando

S1#show mac-address-table

Enumere las opciones show mac-address-table.

S1#show mac-address-table ?

Muestre solamente las direcciones MAC de la tabla que se aprendieron de forma dinámica.

S1#showmac-address-table address dynamic

Para eliminar las direcciones MAC existentes,

S1#clear mac-address-table dynamic

Verifique que la tabla de direcciones MAC esté en blanco.

S1#show mac-address-table

Muestre la configuración de seguridad de puerto.
S1#show port-security

Elimine el archivo de información de la base de datos de la VLAN.

Switch#delete flash:vlan.dat
Deletefilename [ vlan.dat ] ? [ Intro ] (sin espacios)
Delete flash:vlan.dat? [ confirm ] [ Intro ] (sin espacios)

Elimine el archivo de configuración de inicio del switch de la NVRAM.

Switch#erase startup-config
Como respuesta, aparecerá la siguiente petición de entrada:
Erasing the nvram filesystem will remove all files! Continue? [ confirm ]
Press Enter to confirm.
La respuesta...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Jjjj
  • jjjj
  • jjjj
  • JJJJ
  • Jjjj
  • jjjj
  • jjjj
  • Jjjj

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS