0% found this document useful (0 votes)
2 views4 pages

Configuración Router y Switch

The document outlines the configuration commands for two routers (RT-1 and RT-2) and two switches (SW-1 and SW-2) in a network setup. It includes setting the clock, enabling SSH, configuring interfaces with IP addresses, and establishing user credentials. Additionally, it specifies security measures such as password encryption and restricted access banners.

Uploaded by

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

Configuración Router y Switch

The document outlines the configuration commands for two routers (RT-1 and RT-2) and two switches (SW-1 and SW-2) in a network setup. It includes setting the clock, enabling SSH, configuring interfaces with IP addresses, and establishing user credentials. Additionally, it specifies security measures such as password encryption and restricted access banners.

Uploaded by

soporte
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

enable

clock set 16:00:00 07 AUGUST 2023


configure terminal
banner motd %ACCESO RESTRINGIDO%
enable secret cisco
service password-encryption
no ip domain-lookup
hostname RT-1
ip domain-name [Link]
username admin privilege 0 secret cisco
username [Link] privilege 0 secret cisco

ip ssh version 2
ip ssh authentication-retries 5

crypto key generate rsa


2048

no cdp run
line console 0
exec-timeout 30 0
logging synchronous
login local
line vty 0 4
exec-timeout 30 0
logging synchronous
transport input ssh
login local
exit
ip routing
ipv6 unicast-routing

interface gigabitethernet0/0
description GATEWAY RED 1
ip address [Link] [Link]
ipv6 enable
ipv6 address 30F4:81::50A/121
no shutdown
interface gigabitethernet0/1
description ENLACE WAN RED 2
ip address [Link] [Link]
ipv6 enable
ipv6 address 30f4:81::581/126
no shutdown
end
copy running-config startup-config

write memory
do
enable
clock set 16:00:00 07 AUGUST 2023
configure terminal
banner motd %ACCESO RESTRINGIDO%
enable secret cisco
service password-encryption
no ip domain-lookup
hostname RT-2
ip domain-name [Link]
username admin privilege 0 secret cisco
username [Link] privilege 0 secret cisco

ip ssh version 2
ip ssh authentication-retries 5

crypto key generate rsa


2048

no cdp run
line console 0
exec-timeout 30 0
logging synchronous
login local
line vty 0 4
exec-timeout 30 0
logging synchronous
transport input ssh
login local
exit
ip routing
ipv6 unicast-routing

interface gigabitethernet0/0
description GATEWAY RED 3
ip address [Link] [Link]
ipv6 enable
ipv6 address 30f4:81::582/126
no shutdown
interface gigabitethernet0/1
description ENLACE WAN RED 2
ip address [Link] [Link]
ipv6 enable
ipv6 address 30F4:81::30b/120
no shutdown
end
copy running-config startup-config

write memory
do
enable
clock set 16:00:00 07 AUGUST 2023
configure terminal
banner motd %ACCESO RESTRINGIDO%
enable secret cisco
service password-encryption
no ip domain-lookup
hostname SW-1
ip domain-name [Link]
username admin privilege 0 secret cisco
username [Link] privilege 0 secret cisco

ip ssh version 2
ip ssh authentication-retries 5

crypto key generate rsa


2048

no cdp run
line console 0
exec-timeout 30 0
logging synchronous
login local
line vty 0 15
exec-timeout 30 0
logging synchronous
transport input ssh
login local
exit

interface vlan1
description ADMINISTRACION
ip address [Link] [Link]
no shutdown
interface range fastethernet0/1-24
switchport mode access
switchport nonegotiate
speed 100
duplex full
mdix auto
no shutdown
interface range gigabitethernet0/1-2
switchport mode access
switchport nonegotiate
speed 100
duplex full
mdix auto
no shutdown
enable
clock set 16:00:00 07 AUGUST 2023
configure terminal
banner motd %ACCESO RESTRINGIDO%
enable secret cisco
service password-encryption
no ip domain-lookup
hostname SW-2
ip domain-name [Link]
username admin privilege 0 secret cisco
username [Link] privilege 0 secret cisco

ip ssh version 2
ip ssh authentication-retries 5

crypto key generate rsa


2048

no cdp run
line console 0
exec-timeout 30 0
logging synchronous
login local
line vty 0 15
exec-timeout 30 0
logging synchronous
transport input ssh
login local
exit

interface vlan1
description ADMINISTRACION
ip address [Link] [Link]
no shutdown
interface range fastethernet0/1-24
switchport mode access
switchport nonegotiate
speed 100
duplex full
mdix auto
no shutdown
interface range gigabitethernet0/1-2
switchport mode access
switchport nonegotiate
speed 100
duplex full
mdix auto
no shutdown

You might also like