Configuracion Basica SW
Configuracion Basica SW
_________________________________
Comandos para ingresar por el CMD
_________________________________
*********************
CONFIGURACION BASICA
*********************
****
S1
****
hostname ITALY
no ip domain-lookup
banner motd $ Acceso autorizado solo para personal de TI $
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit
service password-encryption
****
S2
****
hostname SW02
no ip domain-lookup
banner motd $Acceso autorizado solo para personal de TI$
enable secret class
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit
service password-encryption
__________
S3
_____
hostname SW03
no ip domain-lookup
banner motd $Acceso autorizado solo para personal de TI$
line console 0
password cisco
login
exit
line vty 0 15
password cisco
login
exit
service password-encryption
_______________
CREAR VLAN
_______________
_________________________________________
colocar direccion ip y mascara a las vlan
_________________________________________
****
S1
****
interface vlan10
ip addres 192.168.10.2 255.255.255.0
interface vlan20
ip addres 192.168.20.2 255.255.255.0
interface vlan30
ip addres 192.168.30.2 255.255.255.0
exit
****
S2
****
interface vlan10
ip addres 192.168.10.3 255.255.255.0
interface vlan20
ip addres 192.168.20.3 255.255.255.0
interface vlan30
ip addres 192.168.30.3 255.255.255.0
exit
*****
S3
*****
interface vlan10
ip addres 192.168.10.0 255.255.255.0
interface vlan20
ip addres 192.168.20.0 255.255.255.0
interface vlan30
ip addres 192.168.30.0 255.255.255.0
exit
________________________________
activar la interfas de las vlan
________________________________
****
S2
****
interface range f0/1 - 10
switchport mode access
switchport access vlan 10
no shutdown
exit
interface range f0/11 - 16
switchport mode access
switchport access vlan 20
no shutdown
exit
interface range f0/17 - 23
switchport mode access
switchport access vlan 30
no shutdown
exit
interface range f0/24
switchport mode access
switchport access vlan 99
shutdown
exit
interface range g0/1 - 2
switchport mode access
switchport access vlan 100
no shutdown
exit
*****
S3
*****
_________
TRONCAL
_________
_________________________
CONFIGURACION DEL ROUTER
_________________________
interface g0/0/0
no shutdown
exit
interface g0/0/0.10
description Management Network
encapsulation dot1q 10
ip address 192.168.10.0 255.255.255.0
exit
interface g0/0/0.20
description Management Network
encapsulation dot1q 20
ip address 192.168.20.0 255.255.255.0
exit
interface g0/0/0.30
description Management Network
encapsulation dot1q 30
ip address 192.168.30.0 255.255.255.0
exit
interface g0/0/0.99
description Native VLAN
encapsulation dot1q 99 native
exit
__________________________________________
crear rutas de comunicacion entre routers
__________________________________________
NEIVA
router rip
network 172.16.10.0
network 10.10.10.3
network 10.10.30.2
version 2
no auto-summary
exit
BOGOTA
router rip
network 172.16.20.0
network 10.10.10.2
network 10.10.20.2
version 2
no auto-summary
exit
CALI
router rip
network 172.16.30.0
network 10.10.20.3
network 10.10.30.3
version 2
no auto-summary
exit
_________________
CREAR USUARIOS SSH
_____________________
ip domain-name ejemplo.com
crypto key generate rsa
line vty 0 15
login local
exit
config terminal
username adminred password C1sc0#
*****
ny1
****
interface g0/0/0
ip address 172.25.8.1 255.255.252.0
no shutdown
exit
interface g0/0/1
ip address 172.25.12.1 255.255.252.0
no shutdown
exit
interface g0/0/0
ip address 172.25.0.1 255.255.248.0
no shutdown
exit
interface g0/0/1
ip address 172.25.24.1 255.255.255.0
no shutdown
exit
interface g0/0/0
ip address 172.25.16.1 255.255.252.0
no shutdown
exit
interface g0/0/1
ip address 172.25.20.1 255.255.252.0
no shutdown
exit
______________________
CONFIGURACION IPV6
______________________
ipv6 unicast-routing
ipv6 unicast-routing
interface gigabitethernet 0/0
ipv6 address 2001:db8:acad:00ca::1/64
ipv6 address fe80::2 link-local
no shutdown
exit