0% found this document useful (0 votes)
63 views7 pages

Final Redes

The document outlines the configuration for three routers and three switches in a network using EIGRP for routing and VLANs for segmentation. Each router has multiple interfaces configured with IP addresses and standby settings for high availability, while the switches are set up for trunking and VTP management. Additionally, SSH is configured for secure access to the switches, and port security features are implemented on the access ports.
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)
63 views7 pages

Final Redes

The document outlines the configuration for three routers and three switches in a network using EIGRP for routing and VLANs for segmentation. Each router has multiple interfaces configured with IP addresses and standby settings for high availability, while the switches are set up for trunking and VTP management. Additionally, SSH is configured for secure access to the switches, and port security features are implemented on the access ports.
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/ 7

-------------ROUTER1-----------------

int fa1/0
ip add 12.28.6.22 255.255.255.0
no shut
int fa0/0
ip add 12.28.6.18 255.255.255.0
no shut

network eigrp 100


no auto-summary
network 12.28.6.16
network 12.28.6.20
network 12.28.6.24

-------------ROUTER2-----------------
int fa0/0
ip add 12.28.6.17 255.255.255.0
no shut
int fa1/0.10
encapsulation dot1q 10
ip add 12.28.0.1 255.255.255.0
standby 10 ip 12.28.0.3
standby 10 priority 150
standby 10 preempt
int fa1/0.20
encapsulation dot1q 20
ip add 12.28.1.1 255.255.255.0
standby 20 ip 12.28.1.3
standby 20 priority 150
standby 20 preempt

int fa1/0.30
encapsulation dot1q 30
ip add 12.28.2.1 255.255.255.0
standby 30 ip 12.28.2.3
standby 30 priority 150
standby 30 preempt

int fa1/0.40
encapsulation dot1q 40
ip add 12.28.3.1 255.255.255.0
standby 40 ip 12.28.3.3
standby 40 priority 150
standby 40 preempt

int fa1/0.50
encapsulation dot1q 50
ip add 12.28.4.1 255.255.255.0
standby 50 ip 12.28.4.3
standby 50 priority 150
standby 50 preempt

int fa1/0.60
encapsulation dot1q 60
ip add 12.28.5.1 255.255.255.0
standby 60 ip 12.28.5.3
standby 60 priority 150
standby 60 preempt
int fa1/0.99
encapsulation dot1q 99 native
ip add 12.28.6.2 255.255.255.240
standby 99 ip 12.28.6.3
standby 99 priority 150
standby 99 preempt

network eigrp 100


no auto-summary
network 12.28.6.16 0.0.0.3
network 12.28.0.0 0.0.0.255
network 12.28.1.0 0.0.0.255
network 12.28.2.0
network 12.28.3.0
network 12.28.4.0
network 12.28.5.0
network 12.28.6.0

-------------ROUTER3-----------------

int fa1/0.10
encapsulation dot1q 10
ip add 12.28.0.2 255.255.255.0
standby 10 ip 12.28.0.3
standby 10 priority 100
standby 10 preempt
int fa1/0.20
encapsulation dot1q 20
ip add 12.28.1.2 255.255.255.0
standby 20 ip 12.28.1.3
standby 20 priority 100
standby 20 preempt
int fa1/0.30
encapsulation dot1q 30
ip add 12.28.2.2 255.255.255.0
standby 30 ip 12.28.2.3
standby 30 priority 100
standby 30 preempt
int fa1/0.40
encapsulation dot1q 40
ip add 12.28.3.2 255.255.255.0
standby 40 ip 12.28.3.3
standby 40 priority 100
standby 40 preempt
int fa1/0.50
encapsulation dot1q 50
ip add 12.28.4.2 255.255.255.0
standby 50 ip 12.28.4.3
standby 50 priority 100
standby 50 preempt
int fa1/0.60
encapsulation dot1q 60
ip add 12.28.5.2 255.255.255.0
standby 60 ip 12.28.5.3
standby 60 priority 100
standby 60 preempt
int fa1/0.99
encapsulation dot1q 99 native
ip add 12.28.6.2 255.255.255.240
standby 99 ip 12.28.6.3
standby 99 priority 100
standby 99 preempt

network eigrp 100


no auto-summary
network 12.28.6.20
network 12.28.0.0
network 12.28.1.0
network 12.28.2.0
network 12.28.3.0
network 12.28.4.0
network 12.28.5.0
network 12.28.6.0

-------------SW1-----------------
vlan 10
vlan 20
vlan 30
vlan 40
vlan 50
vlan 60
vlan 99
int range gig 0/0-1
no shutdown
int range gig 0/2-3
no shutdown
int gig 1/0
shutdown

spanning-tree vlan 1 root primary


spanning-tree vlan 10 root primary
spanning-tree vlan 20 root primary
spanning-tree vlan 30 root primary
spanning-tree vlan 40 root primary
spanning-tree vlan 50 root primary
spanning-tree vlan 60 root primary
spanning-tree vlan 99 root primary

vtp mode server


vtp domain redes2
vtp password 123456
int range gig 0/2-3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
no shutdown

int range gig 0/2-3


channel-group 2 mode active
interface port-channel 2
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
exit

int gig 1/0


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int gig3/3
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
exit
vtp mode server
vtp domain redes2
vtp password 123

-------configuracion basica swith-------

enable
configure terminal
hostname sw1
line console 0
password redes2
login
-------o-------
enable secret redes2
banner motd #
solo personal aurotizado
line vty 0 4
password redes2
-------o-------
int vlan 99
ip add 12.28.6.5 255.255.255.240
no shutdown

------configuracion ssh---------

ip domain-name redes.com
crypto key generate rsa
1024
ip ssh version 2
ip ssh time-out 30
ip shh authentication-retries 3

username maicol secret redes2


line vty 0 4
transport input ssh
login local

-------------SW2-----------------

vlan 10
vlan 20
vlan 30
vlan 40
vlan 50
vlan 60
vlan 99
int range gig 0/0-1
no shutdown
int range gig 0/2-3
no shutdown
int gig 1/0
shutdown
spanning-tree vlan 1 root secondary
spanning-tree vlan 10 root secondary
spanning-tree vlan 20 root secondary
spanning-tree vlan 30 root secondary
spanning-tree vlan 40 root secondary
spanning-tree vlan 50 root secondary
spanning-tree vlan 60 root secondary
spanning-tree vlan 99 root secondary

vtp mode transparent


vtp domain redes2
vtp password 123456

int range gig 0/0-1


switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
no shutdown
int range gig 0/0-1
channel-group 1 mode active
interface port-channel 1
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
no shutdown

int range gig 0/2


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
channel-group 1 mode active
channel-protocol lacp
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int range gig 0/3


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
channel-group 1 mode active
channel-protocol lacp
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int gig 3/0


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int gig 1/0


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int gig3/3
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
exit

-------------SW3-----------------

vlan 10
vlan 20
vlan 30
vlan 40
vlan 50
vlan 60
vlan 99

int range gig 0/2-3


no shutdown
int gig 0/0
no shutdown

vtp mode client


vtp domain redes2
vtp password 123456
int range gig 0/2-3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
no shutdown
int range gig 0/2-3
channel-group 2 mode active
interface port-channel 2
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

int gig 0/0


sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99

vtp mode transparent


vtp domain redes2
vtp password 123

INT RANGE FA0/1-3


SW MODE ACCESS
SW HOST
SW PORT-SECURITY
SW PORT-SECURITY MAXIMUM 1
SW PORT-SECURITY VIOLATION SHUTDOWN
SW PORT-SECURITY MAC-ADDRESS STICKY

etherchannel---------cumulus linux

int range gig 0/0-1


switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk native vlan 99
no shutdown
int gig 0/0-1
channel-group 1 mode active
channel-protocol lacp
sw trunk encapsulation dot1q
sw mode trunk
sw trunk native vlan 99
exit

You might also like