Config Sw

Páginas: 2 (374 palabras) Publicado: 2 de julio 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 withCNTL/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)#loginS1(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]
Buildingconfiguration...

::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 LOSPUERTOS

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, changedstate 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)#ipdefault-gateway (ip del gateway ejem. 172.17.10.1)
Enter configuration commands, one per line. End with CNTL/Z.

::CREACION DE LA VLAN 99 ASIGNACION DE PUERTOS

SERVIDOR(config)#vlan 99SERVIDOR(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 dered de la vlan)
SERVIDOR(config-if)#
SERVIDOR(config)#interface range f0//rango de los puertos)
SERVIDOR(config-if-range)#switchport access vlan 99

Switch#show vlan brief ::Verifique que la...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • config..
  • no sw
  • No sw
  • Config. Vpn
  • config ospf
  • Lvs config
  • Ip config
  • ip config

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS