[ 실습 ] HSRP LAB 3
본문 바로가기

[ 실습 ] HSRP LAB 3

액트 2019. 5. 29.
반응형

첨부파일 (2)

 

 

 !---- preconfig
ena
conf t
ena sec cisco
no ip domain-lookup
line console 0
password cisco
login
exec-timeout 0 0
logg sync
exi
username CCNP password itbank321
line vty 0 4
login local
exi

 

!---- R1
int fa 0/0
no shut
ip add 10.10.10.1 255.255.255.0
exi
ip route 0.0.0.0 0.0.0.0 10.10.10.254


!---- R2
int fa 0/0
no shut
ip add 20.20.20.1 255.255.255.0
exi
ip route 0.0.0.0 0.0.0.0 20.20.20.254


!---- SW2
vlan 10,20,99

int fa 1/1
no shut
sw mode acc
sw acc vlan 10
exi

int fa 1/2
no shut
sw mode acc
sw acc vlan 20
exi

int fa 1/5
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005,10,20
exi

int fa 1/6
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005,10,20
exi


!---- SW1
vlan 10,20,99

int fa 1/6
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005,10,20
exi


int range fa 1/10 - 11
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005
duplex full
speed 100
channel-group 1 mode on
exi

int port-channel 1
sw trunk allowed vlan 1,1002-1005
exi


int fa 1/5
no shut
no switchport
ip add 1.1.14.1 255.255.255.252
exi

router eigrp 65000
no auto
net 10.0.0.0
net 20.0.0.0
net 1.0.0.0
passive-interface default
no passive-interface fa 1/6
no passive-interface fa 1/5
exi

spanning-tree vlan 10 root primary
spanning-tree vlan 20 root secondary
int vlan 10
no shut
ip add 10.10.10.201 255.255.255.0
standby 10 ip 10.10.10.254
standby 10 priority 110
standby 10 preempt delay minimum 60
standby 10 authentication TEST10
standby 10 track fa 1/5 20

int vlan 20
no shut
ip add 20.20.20.201 255.255.255.0
standby 20 ip 20.20.20.254
standby 20 priority 100
standby 20 preempt delay minimum 60
standby 20 authentication TEST20
exi


!---- SW3
vlan 10,20,99

int vlan 10
no shut
ip add 10.10.10.201 255.255.255.0
exi

int vlan 20
no shut
ip add 20.20.20.201 255.255.255.0
exi


int fa 1/6
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005,10,20
exi

int range fa 1/10 - 11
no shut
sw trunk encap dot1q
sw mode trunk
sw trunk native vlan 99
sw trunk allowed vlan 1,1002-1005
duplex full
speed 100
channel-group 1 mode on
exi

int port-channel 1
sw trunk allowed vlan 1,1002-1005,10,20
exi

int fa 1/5
no shut
no switchport
ip add 1.1.34.1 255.255.255.252
exi

router eigrp 65000
no auto
net 10.0.0.0
net 20.0.0.0
net 1.0.0.0
passive-interface default
no passive-interface fa 1/6
no passive-interface fa 1/5
exi


spanning-tree vlan 20 root primary
spanning-tree vlan 10 root secondary

int vlan 10
no shut
ip add 10.10.10.202 255.255.255.0
standby 10 ip 10.10.10.254
standby 10 priority 100
standby 10 preempt delay minimum 60
standby 10 authentication TEST10
standby 10 track fa 1/5 20

int vlan 20
no shut
ip add 20.20.20.202 255.255.255.0
standby 20 ip 20.20.20.254
standby 20 priority 110
standby 20 preempt delay minimum 60
standby 20 authentication TEST20
standby 20 track fa 1/5 20
exi

 

!---- SW4

int fa 1/5
no shut
no switchport
ip add 1.1.14.2 255.255.255.252
exi

int fa 1/6
no shut
no switchport
ip add 1.1.34.2 255.255.255.252
exi

int fa 1/1
no shut
no switchport
ip add 100.100.100.1 255.255.255.0
exi

router eigrp 65000
no auto
net 1.0.0.0
net 100.0.0.0
passive-interface default
no passive-interface fa 1/5
no passive-interface fa 1/6
exi


!---- Server
int fa 0/0
no shut
ip add 100.100.100.2 255.255.255.0
exi
ip route 0.0.0.0 0.0.0.0 100.100.100.254

반응형

댓글