Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Version 4.0 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Caso de Estudio
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW2-SEDE2
SW2-SEDE2(config)#int vlan 2
SW2-SEDE2(config-if)#desc WIRELESS
SW2-SEDE2(config-if)#no shut
SW2-SEDE2(config-if)#exit
SW2-SEDE2(config)#int vlan 3
SW2-SEDE2(config-if)#desc LAN-SEDE-REMOTA
SW2-SEDE2(config-if)#no shut
SW2-SEDE2(config-if)#exit
R1(conf)#int fa0/0.2
R1(conf-if)#encapsulation dot1q 3
R1(conf-if)#ip add 192.168.3.10 255.255.255.0
R1(conf)#exit
R1(conf)#int fa0/0
R1(conf-if)#no shut
R1(conf)#exit
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW1-LOCAL
SW1-LOCAL(config)#int vlan 2
SW1-LOCAL(config-if)#desc SERVIDORES
SW1-LOCAL(config-if)#no shut
SW1-LOCAL(config-if)#exit
SW1-LOCAL(config)#int vlan 3
SW1-LOCAL(config-if)#desc ESTACIONES
SW1-LOCAL(config-if)#no shut
SW1-LOCAL(config-if)#exit
SW1-LOCAL(config)#int f0/10
SW1-LOCAL(config-if-range)#switchport mode trunk
SW1-LOCAL(config-if-range)#switchport trunk native vlan 99
SW1-LOCAL(config-if-range)#no shut
R1(conf)#int fa0/0.2
R1(conf-if)#encapsulation dot1q 3
R1(conf-if)# description WS-STATIONS
R1(conf-if)#ip add 192.168.2.10 255.255.255.0
R1(conf)#exit
R1(conf)#int fa0/0
R1(conf-if)#no shut
R1(conf)#exit
Nota:
Ideal Deshabilitarlos todos y habilitar solo los necesarios
Nota:
Ideal Deshabilitarlos todos y habilitar solo los necesarios
SW-local# conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW-local(config)# banner motd &
Enter TEXT message. End with the character '&'.
##########################################################3
# SOLO SE PERMITE EL ACCESO A PERSONAL AUTORIZADO
# SUS ACTIVIDADES ESTAN SIENDO MONITOREADAS
###########################################################
&
SW-local(config)#
Switch(config)#int f0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport port-security
Switch(config-if)#switchport port-security maximum 1
Switch(config-if)#switchport port-security mac-address sticky
Switch(config-if)#switchport port-security violation shutdown
Switch(config-if)#exit
Switch(config)#
R1(conf)#Hostname R1
R1(conf)#ip domain-name utb.edu.co
R1(conf)#username soporte password 0 valentina
R1(conf)#ip ssh version 2
R1(conf)#crypto key generate rsa 1024 bits
R1(conf)#line vty 0 4
R1(conf)#password cisco
R1(conf)#login local
R1(conf)#transport prefered ssh
Switch(config-line)#exec-timeout ?
<0-35791> Timeout in minutes
Switch(config-line)#exec-timeout 10 10
Switch(config-line)#exit
Switch(config)#
Switch# conf t
Enter configuration commands, one per line. End with CNTL/
Z.
Switch(config)#int f0/1
Switch(config.if)# port monitor fa0/2
Switch(config-line)#end
Switch#
Switch# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#service password-encryption
Switch(config)# username soporte privilege 15 password 0 valentina
Switch(config)# snmp-server community p0bl1c ro
Switch(config)# snmp-server host 192.168.1.1 p0bl1c
Switch(config)# snmp-server enable traps
Switch(config)# snmp-server enable traps snmp
Switch(config)# service timestamps log datetime msec localtime show-
timezone
Switch# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#service password-encription
Switch(config)# no logging console
Switch(config)# logging on
Switch(config)# logging buffered 32000
Switch(config)# logging buffered informational
Switch(config)# logging facility local6
Switch(config)# logging trap informational
Switch(config)# logging 192.168.1.1