0% found this document useful (0 votes)
17 views8 pages

Configuracion Basica SW

The document provides configuration commands and examples for basic switch and router configuration including VLANs, interfaces, IP addresses, routing protocols, and access control. It also covers IPv6 configuration and verification.

Uploaded by

Paula Yáñez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views8 pages

Configuracion Basica SW

The document provides configuration commands and examples for basic switch and router configuration including VLANs, interfaces, IP addresses, routing protocols, and access control. It also covers IPv6 configuration and verification.

Uploaded by

Paula Yáñez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

________________________

COMANDOS PARA VER DATOS


________________________

> show runnig-config ......................(ver toda la configuracion)


> show ip interface brief .................(ver interfaces)
> show vlan brief .........................(ver vlan)
> show interface trunk ....................(ver troncales)
> copy runnig-config startup-config .......(guardar configuracion)
> show ip route ...........................(ver la configuracion de las rutas)
________________________________
Comando para entrar por win + R
________________________________

> NCPA.CPL...................................(configuracion de ethernet)


> Administrador de dispositivos..............(ver la conexion COM*)

_________________________________
Comandos para ingresar por el CMD
_________________________________

> ipconfig...................................(ver direccion ip del computador

*********************
CONFIGURACION BASICA
*********************

****
S1
****

hostname ITALY
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

****
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$

enable secret class

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
________________________________

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
no shutdown
exit
interface range g0/1 - 2
switchport mode access
switchport access vlan 100
shutdown
exit

****
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
*****

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/4 - 24


switchport mode access
switchport access vlan 100
shutdown
exit

interface range g0/1 - 2


switchport mode access
switchport access vlan 100
no shutdown
exit

_________
TRONCAL
_________

interface range f0/24


switchport mode trunk
switchport trunk native vlan 99
switchport trunk allowed vlan 10,20,30,99
end

_________________________
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
__________________________________________

ip route 192.168.30.1 255.255.255.0 192.168.10.1

RIP DESDE GUI

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 serial 0/0


ip address 10.10.10.17 255.255.255.252
no shutdown
exit

interface serial 0/1


ip address 10.10.10.10 255.255.255.252
no shutdown
exit
*****
bgta
*****

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 serial 0/1/0


ip address 172.25.25.9 255.255.255.252
no shutdown
exit

interface serial 0/1/1


ip address 172.25.25.6 255.255.255.252
no shutdown
end
*******
mexico
********

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

interface serial 0/1/0


ip address 172.27.25.2 255.255.255.252
no shutdown
exit
interface serial 0/1/1
ip address 172.25.25.10 255.255.255.252
no shutdown
exit

______________________
CONFIGURACION IPV6
______________________

ipv6 unicast-routing

interface gigabitethernet 0/0


ipv6 address 2001:db8:acad:00c8::1/64
ipv6 address fe80::1 link-local
no shutdown
exit

interface gigabitethernet 0/1


ipv6 address 2001:db8:acad:00c9::1/64
ipv6 address fe80::1 link-local
no shutdown
exit

interface serial 0/0/0


ipv6 address 2001:db8:acad:00cc::1/64
ipv6 address fe80::1 link-local
no shutdown
exit
__________________________
R2
_________________________

ipv6 unicast-routing
interface gigabitethernet 0/0
ipv6 address 2001:db8:acad:00ca::1/64
ipv6 address fe80::2 link-local
no shutdown
exit

interface gigabitethernet 0/1


ipv6 address 2001:db8:acad:00cb::1/64
ipv6 address fe80::2 link-local
no shutdown
exit

interface serial 0/0/0


ipv6 address 2001:db8:acad:00cc::2/64
ipv6 address fe80::2 link-local
no shutdown
exit

:::::Verifique el direccionamiento IPv6 en R1.::::

show ipv6 interface brief

You might also like