Vous êtes sur la page 1sur 3

Configuracin bsica de un Switch Cisco 2950

Configuracin de nombre

Switch>enable

Switch#erase startup-config

Switch# configure terminal

Switch(config)# hostname Sw1_Central

Banner Motd

Sw#1_Central(config)# banner motd & Solo usuarios autorizados !!! &

Configuracin de usuario y contrasea de enable (modo privilegiado)

Sw#1_Central(config)# username admin pasword cisco

Sw#1_Central(config)# enable secret class (contrasea modo Exec privilegiado)

Configuracin de contraseas a la Consola

Sw#1_Central(config)# line console 0

Sw#1_Central(config-line)# password cisco

Sw#1_Central(config-line)# login

Sw#1_Central(config-line)# exit

Configuracin de acceso remoto al switch por medio de telnet

Sw#1_Central(config)# line vty 0 4

Sw#1_Central(config-line)# password cisco

Sw#1_Central(config-line)# login

Sw#1_Central(config-line)# exit

Creacin de Vlans

Sw#1_Central(config)# vlan 20

Sw#1_Central(config-vlan)# name Test

Configuracin de interfaces

Sw#1_Central#configure terminal

Sw#1_Central(config)# interface f0/1

Sw#1_Central(config-if)# switchport access vlan 20

Sw#1_Central(config-if)# speed 100 {10, 100, auto}

Sw#1_Central(config-if)# duplex full {full, half o auto}


Configuracin de un rango de interfaces

Sw#1_Central#configure terminal

Sw#1_Central(config)# interface range f0/1 10 (realizar config del 1 al 10)

Sw#1_Central(config-if)# switchport access vlan 2 {2-1001}

Configuracin de Puertos Trunk

Sw#1_Central(config)# interface fa0/24

Sw#1_Central(config-if)# switchport mode trunk

Sw#1_Central(config-if# switchport trunk allowed vlan all

Sw#1_Central(config-if))# exit

Configuracin de IP administrativa

Sw#1_Central# configure terminal

Sw#1_Central(config)# interface vlan 99

Sw#1_Central(config-if)# ip address 192.168.50.20 255.255.255.0

Sw#1_Central(config-if)# no shutdown

Comandos modo privilegiado


Sw#1_Central# Show Vlan Brief

Sw#1_Central# Show Vlan

Sw#1_Central# Show versin

Sw#1_Central# Show interface fa 0/1


Subnetting
Mascara
Wildcard (4to
Tercer Octeto Cuarto octeto Redes 3er Oct 4to Oct Oct)
/20 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1x4096 240 0
/21 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1x2048 248 0
/22 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1x1024 252 0
/23 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1x512 254 0
/24 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 1x256 255 0 255
/25 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 2x128 255 128 127
/26 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 4x64 255 192 63
/27 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 8x32 255 224 32
/28 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 16x16 255 240 15
/29 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 32x8 255 248 7
/30 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 64x4 255 252 3

Vous aimerez peut-être aussi