Академический Документы
Профессиональный Документы
Культура Документы
R2
+++
ena
config t
ipv6 unicast-routing
FHRP version vrrp v3
router ospf 0
router-id 2.2.2.2
network 192.168.23.0 0.0.0.255 area 0
network 172.16.10.0 0.0.0.255 area 0
network 172.16.20.0 0.0.0.255 area 0
network 172.16.50.0 0.0.0.255 area 0
exit
Interface e0/2.10
Encapsulation dot1q 10
IP address 172.16.10.2 255.255.255.0
Ipv6 address 2018:acad:acad:10::2/64
No shut
vrrp 1 address-family ipv4
address 172.16.10.1
preempt
priority 100
timers advertise 3000
track 2 decrement 25
Exit
vrrp 1 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:10::1/64
priority 110
timers advertise 3000
preempt
track 2 decrement 25
exit
Exit
Interface e0/2.20
Encapsulation dot1q 20
IP address 172.16.20.2 255.255.255.0
Ipv6 address 2018:acad:acad:20::2/64
No shut
vrrp 2 address-family ipv4
address 172.16.20.1
preempt
priority 100
timers advertise 3000
track 2 decrement 25
Exit
vrrp 2 address-family ipv6
address FE80::20:1 primary
address 2018:DB8:ACAD:20::1/64
priority 120
timers advertise 3000
preempt
track 2 decrement 25
exit
Exit
Interface e0/1.50
Encapsulation dot1q 50
IP address 172.16.50.2 255.255.255.0
Ipv6 address 2018:acad:acad:50::2/64
No shut
vrrp 5 address-family ipv4
address 172.16.50.1
preempt
priority 100
timers advertise 3000
track 2 decrement 25
Exit
vrrp 5 address-family ipv6
address FE80::50:1 primary
address 2018:DB8:ACAD:50::1/64
priority 110
preempt
timers advertise 3000
track 2 decrement 25
exit
Exit
Interface e0/3
IP address 192.168.23.1 255.255.255.0
Ipv6 address 2018:acad:acad:23::1/112
No shut
Exit
———————
R1
———————
ena
config t
ipv6 unicast-routing
FHRP version vrrp v3
router ospf 0
router-id 1.1.1.1
network 192.168.13.0 0.0.0.255 area 0
network 172.16.30.0 0.0.0.255 area 0
network 172.16.40.0 0.0.0.255 area 0
exit
Interface e0/3.30
Encapsulation dot1q 30
IP address 172.16.30.2 255.255.255.0
Ipv6 address 2018:acad:acad:30::2/64
No shut
vrrp 3 address-family ipv4
address 172.16.30.1
preempt
priority 120
timers advertise 3000
track 1 decrement 25
Exit
vrrp 3 address-family ipv6
address FE80::30:1 primary
address 2018:DB8:ACAD:30::1/64
priority 100
timers advertise 3000
preempt
track 1 decrement 25
exit
Exit
Interface e0/3.40
Encapsulation dot1q 40
IP address 172.16.40.2 255.255.255.0
Ipv6 address 2018:acad:acad:40::2/64
No shut
vrrp 4 address-family ipv4
address 172.16.40.1
preempt
priority 120
timers advertise 3000
track 1 decrement 25
Exit
vrrp 4 address-family ipv6
address FE80::40:1 primary
address 2018:DB8:ACAD:40::1/64
priority 100
preempt
timers advertise 3000
track 1 decrement 25
exit
Exit
Interface e0/2
IP address 192.168.13.1 255.255.255.0
Ipv6 address 2018:acad:acad:13::1/112
No shut
Exit
ip sla 10
icmp-echo 8.8.4.4
frequency 5
ip sla schedule 10 life forever start-time now
track 1 ip sla 10
Exit
————————————————
R3
—————————
ena
config t
ipv6 unicast-routing
Interface e0/3
IP address 192.168.23.2 255.255.255.0
Ipv6 address 2018:acad:acad:23::2/112
No shut
Exit
Interface e0/2
IP address 192.168.13.2 255.255.255.0
Ipv6 address 2018:acad:acad:13::2/112
No shut
Exit
Interface e0/1
IP address 219.50.0.1 255.255.255.252
Ipv6 address 2018:acad:acad:219::1/112
No shut
Exit
router ospf 0
router-id 3.3.3.3
network 192.168.13.0 0.0.0.255 area 0
network 192.168.23.0 0.0.0.255 area 0
network 219.50.0.0 0.0.0.3 area 0
exit
--------------------------------------
+++
R2
+++
ena
config t
ipv6 unicast-routing
router ospf 1
router-id 2.2.2.2
default-information originate
exit
router-id 22.22.22.22
redistribute eigrp 1 metric-type 2
exit
default-router 172.16.80.1
dns-server 4.4.4.4
exit
default-router 172.16.90.1
dns-server 4.4.4.4
exit
default-router 172.16.100.1
dns-server 4.4.4.4
exit
----------------------------------------------
++++
MLS1
++++
ena
config t
vlan 70
private-vlan primary
private-vlan association 2,3
exit
vlan 2
private-vlan isolated
exit
vlan 3
private-vlan community
exit
int e0/3
sw mode private-vlan host
spanning-tree portfast
sw private-vlan association host 70 2
exit
int e1/2
sw mode private-vlan host
spanning-tree portfast
sw private-vlan association host 70 2
exit
int e0/0
no switchport
no sh
exit
interface vlan 70
ip add 172.16.70.1 255.255.255.0
ipv6 add 2018.ACAD:ACAD:70::1/64
no sh
exit
interface vlan 80
ip add 172.16.80.1 255.255.255.0
ipv6 add 2018.ACAD:ACAD:80::1/64
ip helper-address 172.16.12.2
ipv6 dhcp relay destination 2018:ACAD:ACAD:12::2
ipv6 enable
no sh
exit
interface vlan 90
ip add 172.16.90.1 255.255.255.0
ipv6 add 2018.ACAD:ACAD:90::1/64
ip helper-address 172.16.12.2
ipv6 dhcp relay destination 2018:ACAD:ACAD:12::2
ipv6 enable
no sh
exit
int e0/0
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 70,80,90,100
exit
interface vlan 70
ip address 172.16.70.1 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
interface port-channel 1
spanning-tree link-type point-to-point
exit
interface port-channel 2
spanning-tree link-type point-to-point
exit
--------------------------------------
+++
SWA
+++
ena
config t
interface vlan 70
ip address 172.16.70.2 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
interface port-channel 1
spanning-tree link-type point-to-point
exit
interface port-channel 3
spanning-tree link-type point-to-point
exit
interface port-channel 4
spanning-tree link-type point-to-point
exit
+++
SWB
+++
ena
config t
interface vlan 70
ip address 172.16.70.3 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
interface port-channel 2
spanning-tree link-type point-to-point
exit
interface port-channel 5
spanning-tree link-type point-to-point
exit
interface port-channel 6
spanning-tree link-type point-to-point
exit
interface vlan 70
ip address 172.16.70.3 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
int e0/3
mac access-group BLOCK_VLAN80 in
exit
interface port-channel 3
ip dhcp snooping trust
spanning-tree link-type point-to-point
exit
interface e0/3
switchport mode access
switchport access vlan 80
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
ip dhcp snooping
ip dhcp snooping vlan 80
+++
SWD
+++
ena
config t
interface vlan 70
ip address 172.16.70.5 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
interface port-channel 4
ip dhcp snooping trust
spanning-tree link-type point-to-point
exit
interface port-channel 5
ip dhcp snooping trust
spanning-tree link-type point-to-point
exit
interface e0/3
switchport mode access
switchport access vlan 90
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
int e0/3
ip access-group 101
exit
ip dhcp snooping
ip dhcp snooping vlan 90
+++
SWE
+++
ena
config t
interface vlan 70
ip address 172.16.70.6 255.255.255.0
no shutdown
exit
VLAN 70
NAME ADM
EXIT
VLAN 80
NAME RRHH
EXIT
VLAN 90
NAME VENTAS
EXIT
VLAN 100
NAME VENTAS
EXIT
interface port-channel 6
ip dhcp snooping trust
spanning-tree link-type point-to-point
exit
interface e0/3
switchport mode access
switchport access vlan 100
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
int e0/3
ip access-group 102
exit
ip dhcp snooping
ip dhcp snooping vlan 100
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ISP
ena
config t
ena
config t
ipv6 unicast-routing
-----------------------------------
***
R3
***
ena
config t
ipv6 unicast-routing
int e0/2
no sh
exit
af-interface e0/2.2
passive-interface
exit
af-interface e0/2.3
passive-interface
exit
af-interface e0/2.4
passive-interface
exit
af-interface e0/2.5
passive-interface
exit
network 192.168.33.0 0.0.0.255
network 172.16.5.0 0.0.0.255
network 172.16.6.0 0.0.0.255
network 172.16.7.0 0.0.0.255
network 172.16.8.0 0.0.0.255
af-interface e0/2.2
passive-interface
exit
af-interface e0/2.3
passive-interface
exit
af-interface e0/2.4
passive-interface
exit
af-interface e0/2.5
passive-interface
exit
af-interface e0/2
summary-address 2018:DB8::/42
exit
exit
**************************************
DHCP help apuntando al router de borde
**************************************
**************************************
Creación de subinterfaces en router RA
por la puerta de enlace E0/2
**************************************
*********************************************************
Configuracion de HSRP como primario en RA para el trafico
en ipv4 y vrrp para el trafico secundario ipv6
*********************************************************
interface e0/2.2
vrrp 20 address-family ipv4
address 172.16.5.1
preempt
priority 110
Exit
vrrp 20 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:A::1/64
priority 100
preempt
exit
interface e0/2.3
vrrp 30 address-family ipv4
address 172.16.6.1
preempt
priority 110
vrrp 30 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:B::1/64
priority 100
preempt
exit
interface e0/2.4
vrrp 40 address-family ipv4
address 172.16.7.1
preempt
priority 110
vrrp 40 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:C::1/64
priority 100
preempt
exit
interface e0/2.5
vrrp 50 address-family ipv4
address 172.16.8.1
preempt
priority 110
vrrp 50 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:D::1/64
priority 100
preempt
exit
*********************************************************
Timers cruzados HSRP Y VRRP // TRACK con ip sla para hsrp
y para vrrp monitoreo de interface
*********************************************************
interface e0/2.2
vrrp 20 address-family ipv4
track 1 decrement 25
vrrp 20 address-family ipv6
timers advertise 3000
exit
interface e0/2.3
vrrp 30 address-family ipv4
track 1 decrement 25
vrrp 30 address-family ipv6
timers advertise 3000
exit
interface e0/2.4
vrrp 40 address-family ipv4
track 1 decrement 25
vrrp 40 address-family ipv6
timers advertise 3000
exit
interface e0/2.5
vrrp 50 address-family ipv4
track 1 decrement 25
vrrp 50 address-family ipv6
timers advertise 3000
exit
ip sla 10
icmp-echo 4.4.4.4
frequency 5
ip sla schedule 10 life forever start-time now
track 1 ip sla 10
---------------------------------
R2
ena
config t
ipv6 unicast-routing
int e0/3
no sh
exit
router eigrp AS50
address-family ipv4 autonomous-system 50
af-interface e0/3.2
passive-interface
exit
af-interface e0/3.3
passive-interface
exit
af-interface e0/3.4
passive-interface
exit
af-interface e0/3.5
passive-interface
exit
network 192.168.22.0 0.0.0.255
network 172.16.5.0 0.0.0.255
network 172.16.6.0 0.0.0.255
network 172.16.7.0 0.0.0.255
network 172.16.8.0 0.0.0.255
af-interface e0/3.2
passive-interface
exit
af-interface e0/3.3
passive-interface
exit
af-interface e0/3.4
passive-interface
exit
af-interface e0/3.5
passive-interface
exit
af-interface e0/3
summary-address 2018:DB8::/42
exit
exit
*********************************************************
Configuracion de HSRP como secundario en RB para el trafico
en ipv4 y vrrp para el trafico primario ipv6
*********************************************************
interface e0/3.2
vrrp 20 address-family ipv4
address 172.16.5.1
preempt
priority 100
vrrp 20 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:A::1/64
priority 110
preempt
exit
interface e0/3.3
vrrp 30 address-family ipv4
address 172.16.6.1
preempt
priority 100
vrrp 30 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:B::1/64
priority 110
preempt
exit
interface e0/3.4
vrrp 40 address-family ipv4
address 172.16.7.1
preempt
priority 100
vrrp 40 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:C::1/64
priority 110
preempt
exit
interface e0/3.5
vrrp 50 address-family ipv4
address 172.16.8.1
preempt
priority 100
vrrp 50 address-family ipv6
address FE80::10:1 primary
address 2018:DB8:ACAD:D::1/64
priority 110
preempt
exit
*********************************************************
Timers cruzados HSRP Y VRRP // TRACK con ip sla para hsrp
y para vrrp monitoreo de interface
*********************************************************
interface e0/3.2
vrrp 20 address-family ipv6
track 2 decrement 25
timers advertise 3000
exit
interface e0/3.3
vrrp 30 address-family ipv6
track 2 decrement 25
timers advertise 3000
exit
interface e0/3.4
vrrp 40 address-family ipv6
track 2 decrement 25
timers advertise 3000
exit
interface e0/3.5
vrrp 50 address-family ipv6
track 2 decrement 25
timers advertise 3000
exit
ip sla 10
icmp-echo 8.8.4.4
frequency 5
ip sla schedule 10 life forever start-time now
track 1 ip sla 10
Exit
track 1 decrement 25
exit
-----------------------------------------------
****
MLS1
****
ena
config t
int e0/2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 2,3,4,5
exit
interface vlan 5
ip address 172.16.5.5 255.255.255.0
no shutdown
exit
VLAN 2
NAME XD
EXIT
VLAN 3
NAME :)
EXIT
VLAN 4
NAME :D
EXIT
VLAN 5
NAME ADM
EXIT
interface port-channel 1
spanning-tree link-type point-to-point
exit
interface port-channel 3
spanning-tree link-type point-to-point
exit
interface port-channel 6
spanning-tree link-type point-to-point
exit
--------------------------------------
****
MLS2
****
ena
config t
int e0/3
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan 2,3,4,5
exit
interface vlan 5
ip address 172.16.5.10 255.255.255.0
no shutdown
exit
VLAN 2
NAME XD
EXIT
VLAN 3
NAME :)
EXIT
VLAN 4
NAME :D
EXIT
VLAN 5
NAME ADM
EXIT
interface port-channel 2
spanning-tree link-type point-to-point
exit
interface port-channel 3
spanning-tree link-type point-to-point
exit
interface port-channel 5
spanning-tree link-type point-to-point
exit
--------------------------------------
****
ALS1
****
ena
config t
interface vlan 5
ip address 172.16.5.15 255.255.255.0
no shutdown
exit
VLAN 2
NAME XD
EXIT
VLAN 3
NAME :)
EXIT
VLAN 4
NAME :D
EXIT
VLAN 5
NAME ADM
EXIT
interface e0/2
switchport mode access
switchport access vlan 2
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
interface e0/3
switchport mode access
switchport access vlan 3
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
interface port-channel 2
spanning-tree link-type point-to-point
exit
interface port-channel 4
spanning-tree link-type point-to-point
exit
interface port-channel 6
spanning-tree link-type point-to-point
exit
--------------------------------------
****
ALS2
****
ena
conf t
interface vlan 5
ip address 172.16.5.20 255.255.255.0
no shutdown
exit
VLAN 2
NAME XD
EXIT
VLAN 3
NAME :)
EXIT
VLAN 4
NAME :D
EXIT
VLAN 5
NAME ADM
EXIT
interface e0/2
switchport mode access
switchport access vlan 4
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
interface e0/3
switchport mode access
switchport access vlan 5
switchport nonegotiate
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
spanning-tree portfast
spanning-tree bpduguard enable
exit
interface port-channel 1
spanning-tree link-type point-to-point
exit
interface port-channel 4
spanning-tree link-type point-to-point
exit
interface port-channel 5
spanning-tree link-type point-to-point
exit
***************************
#sh ip arp
#sh standby
#sh standby brief
#sh inter status
#sh run int po1
#sh etherchannel summary
#sh ip eigrp nei
#sh ip route
#sh ip int brief
#sh ip sla summary
#sh track 1
#sh ip dhcp pool
#sh ip dhcp binding
#sh ipv6 dhcp pool
#sh ipv6 dhcp binding
****************************