Escolar Documentos
Profissional Documentos
Cultura Documentos
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
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
Direcciones IPv6
R1(config)# interface g0/0
R1(config-if)# ipv6 address 2001:db8:acad:a::1/64
R1(config-if)# no shutdown
#show ip route
#show interfaces
Rip
R1(config)# router rip
R1(config)#version 2
R1(config)# no autosumary
Ipv6
R1(config)# ipv6 unicast-routing
R1(config)# interface g0/0
R1(config)# ipv6 rip rip-as enable
Ipv6
R1(config)#
Vlan nativa
En el piuerto Switchport trunk native vlan 79