Configuracion Basica De Un Switch Y Vlan's
Enviado por iipulSolava • 21 de Noviembre de 2013 • 547 Palabras (3 Páginas) • 310 Visitas
CONFIGURAICON BASICA
Switch>
Switch>enable
Switch#show running-config
Switch#configure terminal
Switch(config)#hostname ICSOCO
ICSOCO(config)#EXIT
ICSOCO#
ICSOCO#
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#line con 0
ICSOCO(config-line)#password icso
ICSOCO(config-line)#login
ICSOCO(config-line)#line vty 0 15
ICSOCO(config-line)#password icso
ICSOCO(config-line)#login
ICSOCO(config-line)#exit
ICSOCO(config)#enable password icso
ICSOCO(config)#exit
ICSOCO#
ICSOCO#
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#
ICSOCO(config)#interface VLAN 1
ICSOCO(config-if)#ip address 192.168.0.0 255.255.255.0
Bad mask /24 for address 192.168.0.0
ICSOCO(config-if)#exit
ICSOCO(config)#
ICSOCO#
ICSOCO(vlan)#
ICSOCO(vlan)#vlan 2 name COMPUTO
VLAN 2 added:
Name: COMPUTO
ICSOCO(vlan)#vlan 3 name DIRECCION
VLAN 3 added:
Name: DIRECCION
ICSOCO(vlan)#vlan 4 name SECRETARIA
VLAN 4 added:
Name: SECRETARIA
ICSOCO(vlan)#
ICSOCO(vlan)#
ICSOCO(vlan)#vlan 2 name COMPUTO
VLAN 2 added:
Name: COMPUTO
ICSOCO(vlan)#vlan 3 name DIRECCION
VLAN 3 added:
Name: DIRECCION
ICSOCO(vlan)#vlan 4 name SECRETARIA
VLAN 4 added:
Name: SECRETARIA
ICSOCO(vlan)#EXIT
APPLY completed.
Exiting....
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/2
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 4
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/3
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 4
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/4
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 3
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/5
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 3
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/6
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 3
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#congigure terminal
^
% Invalid input detected at '^' marker.
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/7
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 3
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured from console by console
ICSOCO#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
ICSOCO(config)#interface fastethernet 0/8
ICSOCO(config-if)#switchport mode access
ICSOCO(config-if)#switchport access vlan 2
ICSOCO(config-if)#end
ICSOCO#
%SYS-5-CONFIG_I: Configured
...