Professional Documents
Culture Documents
Configuracin
1.- Nombre en el prompt de switch
switch# configure termial
switch (config)# hostname Unireg_SW1_L3
2.- Configuracion de usuarios locales en el switch.
username maria secret unireg
username vlopez secret unireg
3. Configuracin de consola
switch# configure termial
switch (config)# line console 0
switch (config-line)# login local
switch (config-line)# stopbits 1
4. Confiruracin SSH
Primero tenemos que ver si la servio de IOS lo soporta
switch# show version
c3560-ipbasek9-mz.122-55.SE10.bin
Esta si la soporta ya que aparece K9
switch (config)# ip domain-name unireg.es porque la cable publica la
genera con el nombre del sistema y el nombre de dominio.
switch (config)# crypto key generate rsa
The name for the keys will be: switch.unireg.es
Choose the size of the key modulus in the range of 360 to 2048 for
your
General Purpose Keys. Choosing a key modulus greater than 512 may
take a few minutes.
How many bits in the modulus [512]: 1024
La clave le damos una longitud mas larga para poder usar la verion 2
de SSH.
switch# ip ssh version 2
4. Configuracin de vty
switch# configure termial
switch (config)# line vty 0 4
switch (config-line)# access-class acceso in
IP-Address
OK?
Method
Status
10.100.100.254
YES
NVRAM
Mode
on
Encapsulation
802.1q
Status
trunking
Native vlan
1
Mode
on
Encapsulation
802.1q
Status
trunking
Native vlan
1
Description: Router_MarcroLAN-DATOS
MTU 9000 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 35/255, rxload 7/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full-duplex, 100Mb/s, media type is 10/100/1000BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output 00:00:01, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 4158
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 3031000 bits/sec, 543 packets/sec
5 minute output rate 13876000 bits/sec, 1435 packets/sec
690808562 packets input, 759878593068 bytes, 0 no buffer
Received 3363216 broadcasts (3325961 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 3325961 multicast, 0 pause input
0 input packets with dribble condition detected
3057043618 packets output, 3647846494141 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
Name
Status
connected
connected
connected
connected
notconnect
notconnect
notconnect
notconnect
notconnect
Vlan
5
21
5
21
330
330
330
5
330
Duplex Speed
a-full
a-100
a-full
a-100
a-full
a-100
a-full
a-100
auto auto
auto auto
auto auto
auto
auto
auto auto
Type
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
Name
Status
Vlan
connected 5
connected 21
connected 5
connected 21
Duplex Speed
a-full
a-100
a-full
a-100
a-full
a-100
a-full
a-100
Type
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
Port
Gi0/5
Gi0/6
Gi0/7
Gi0/8
Gi0/9
Name
Status
notconnect
notconnect
notconnect
notconnect
notconnect
Vlan
330
330
330
5
330
Duplex Speed
auto auto
auto auto
auto auto
auto
auto
auto auto
Type
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX
10/100/1000BaseTX