Você está na página 1de 3

ROUTER

no ip domain-lookup
hostname R1
service password-encryption
enable secret class
banner motd #ESTE SISTEMA E SUN SISTEMA PROTEGIDO, ACCESO SOLO A PERSONAL
AUTORIZADO#
line con 0
password cisco
login
logging synchronous
line vty 0 4
password cisco
login
exit

no ip domain-lookup
hostname R_INTRNET
service password-encryption
enable secret 0301937959
banner motd #ESTE SISTEMA E SUN SISTEMA PROTEGIDO, ACCESO SOLO A PERSONAL
AUTORIZADO#
line con 0
password 0301937959
login
logging synchronous
line vty 0 4
password 0301937959
login
exit
31

SWITCH
no ip domain-lookup
service password-encryption
enable secret class
banner motd #ESTE SISTEMA E SUN SISTEMA PROTEGIDO, ACCESO SOLO A PERSONAL
AUTORIZADO#
Line con 0
password cisco
login
logging synchronous
line vty 0 15
password cisco
login
exit

CONFIGURACIÓN ESTÁTICA
Router(config)#ip route 0.0.0.0 0.0.0.0 SERIAL 2/0

TABLA DE ENRUTAMIENTO
R1# show ip route

CONFIGURATION DE PUERTOS DE SWITCH.


S1# show interface trunk

VERIFICAR VLAN
S1# show vlan brief
CONFIGURATION COMMANDS
Switch
S1(config)# vlan 10
S1(config-vlan)# name Student
S1(config-vlan)# exit
S1(config)# vlan 20
S1(config-vlan)# name Faculty-Admin
S1(config-vlan)# exit
S1(config)# interface f0/1
S1(config-if)# switchport mode trunk
S1(config-if)# interface range f0/5 – 6
S1(config-if-range)# switchport mode access
S1(config-if-range)# switchport access vlan 10
S1(config-if-range)# interface vlan 10
S1(config-if)# ip address 192.168.10.11 255.255.255.0
S1(config-if)# no shut
S1(config-if)# exit
S1(config)# ip default-gateway 192.168.10.1
Switch S2
S2(config)# vlan 10
S2(config-vlan)# name Student
S2(config-vlan)# exit
S2(config)# vlan 20
S2(config-vlan)# name Faculty-Admin
S2(config-vlan)# exit
S2(config)# interface f0/1
S2(config-if)# switchport mode trunk
S2(config-if)# interface f0/11
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
S2(config-if)# interface f0/18
S2(config-if)# switchport mode access
S2(config-if)# switchport access vlan 20
S2(config-if-range)# interface vlan 10
S2(config-if)#ip address 192.168.10.12 255.255.255.0
S2(config-if)# no shut
S2(config-if)# exit
S2(config)# ip default-gateway 192.168.10.1

 Revise el estado de las interfaces del R: show ip interface brief

 Vea la información de la tabla de routing del R: show ip route

 Elimine las rutas estáticas de las direcciones de loopback:


R1(config)# no ip route 209.165.200.224 255.255.255.224 10.1.1.2

 Configuraciones del dispositivo: R1#show run

 Guardar la configuración: copy running-config startup-config

 Para evitar que los mensajes de consola interrumpan la entrada de comandos.


HQ(config)#line con 0
HQ(config-line)#logging synchronous
HQ(config-line)#exit

 La conexión S0/0/0 es la conexión DCE y requiere el comando clockrate:


R(config)# interface s0/0/0
R(config-if)# ip address 10.1.1.2 255.255.255.252
R(config-if)# clock rate 128000
R(config-if)# no shutdown

 Para ver las redes conectadas:


R(config-router )#Do show ip route connected

Direcciones IPv6
R1(config)# interface g0/0
R1(config-if)# ipv6 address 2001:db8:acad:a::1/64
R1(config-if)# no shutdown

Visualizar la tabla de enrutamiento de un router:

#show ip route

Visualizar el estado de todas las interfaces:

#show interfaces

Configuración de la sub-interfaz fastethernet 0/0.10:

R1(config)#interface fastEthernet 0/0.10


R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 192.168.10.1 255.255.255.0

Rip
R1(config)# router rip

R1(config)#version 2
R1(config)# no autosumary

Difucion de la ruta por defecto


R1(config)# router rip
R1(config)# default-information originate

Ipv6
R1(config)# ipv6 unicast-routing
R1(config)# interface g0/0
R1(config)# ipv6 rip rip-as enable

Ipv6
R1(config)#

Para ver vlan creadas


Show vlan

Vlan nativa
En el piuerto Switchport trunk native vlan 79

Você também pode gostar