음.. 고객사에서 HSRP 구성 요청을 받아
GNS3 에서 네트워크 환경 구축하고 Command 정리해둔것
<CDC-L3_SW#01>
#en
#hostname CDC-L3_SW#01
#conf t
#int gi 0/1
#interface vlan 1
#no shutdown
#ip address 192.168.0.252 255.255.255.0
#exit
#ip routing
#wr mem
#conf t
#int gi 0/2
#switch mode
#no shutdown
#switch mode access
#switchport access vlan 7
#exit
#interface vlan 7
#no shutdown
#ip address 192.168.7.252 255.255.255.0
#exit
#do show ip int br
#wr mem
----- HSRP(Host Stanby Router Protocal) 라우터 이중화 설정 -----
CISCO 3560G에서는 VRRP(Virtual Router Redundancy Protocol)이 지원되지 않고 HSRP가 지원됨.
#int vlan 1
#standby 1 ip 192.168.0.254
#standby 1 priority 150
#standby 1 preempt
#no shutdown
#exit
#int vlan 7
#standby 7 ip 192.168.7.254
#standby 7 priority 100
#standby 7 preempt
#no shutdown
#exit
#exit
#show standby brief
#wr mem
#reload
<CDC-L3_SW#02>
#en
#hostname CDC-L3_SW#02
#conf t
#int gi 0/1
#interface vlan 1
#no shutdown
#ip address 192.168.0.253 255.255.255.0
#ip routing
#exit
#wr mem
#conf t
#int gi 0/2
#switch mode
#no shutdown
#switch mode access
#switchport access vlan 7
#exit
#interface vlan 7
#no shutdown
#ip address 192.168.7.253 255.255.255.0
#exit
#do show ip int br
#wr mem
----- HSRP(Host Stanby Router Protocal) 라우터 이중화 설정 -----
CISCO 3560G에서는 VRRP(Virtual Router Redundancy Protocol)이 지원되지 않고 HSRP가 지원됨.
#int vlan 7
#standby 7 ip 192.168.7.254
#standby 7 priority 150
#standby 7 preempt
#no shutdown
#exit
#int vlan 1
#standby 1 ip 192.168.0.254
#standby 1 priority 100
#standby 1 preempt
#no shutdown
#exit
#exit
#show standby brief
#wr mem
#reload
<Room6-SW#1-IP-250>
#conf t
#int gi 0/1
#switchport access vlan 7
#no shutdown
#end
#int vlan 7
#ip address 192.168.7.113 255.255.255.0
#no shutdown
#exit
#ip default-gateway 192.168.7.254
#int gi 0/2
#switchport access vlan 7
#no shutdown
#exit
#exit
#show vlan
#show run
#wr mem
#reload
<Room7-SW#1-IP-250>
#conf t
#int gi 0/1
#switchport access vlan 7
#no shutdown
#end
#int vlan 7
#ip address 192.168.7.113 255.255.255.0
#no shutdown
#exit
#ip default-gateway 192.168.7.254
#int gi 0/2
#switchport access vlan 7
#no shutdown
#exit
#exit
#show vlan
#show run
#wr mem
#reload
----- HSRP(Host Stanby Router Protocal) 라우터 이중화 설정 -----
CISCO 3560G에서는 VRRP(Virtual Router Redundancy Protocol)이 지원되지 않고 HSRP가 지원됨.
#int vlan 1
#standby 1 ip 192.168.0.254
#standby 1 priority 150
#standby 1 preempt
#no shutdown
#exit
#int vlan 7
#standby 7 ip 192.168.7.254
#standby 7 priority 100
#standby 7 preempt
#no shutdown
#exit
#exit
#show standby brief
#wr mem
#reload
<Room7-SW#1-IP-250>
#conf t
#int gi 0/1
#switchport access vlan 7
#no shutdown
#end
#int vlan 7
#ip address 192.168.7.113 255.255.255.0
#no shutdown
#exit
#ip default-gateway 192.168.7.254
#int gi 0/2
#switchport access vlan 7
#no shutdown
#exit
#exit
#show vlan
#show run
#wr mem
#reload
'IT > 네트워크' 카테고리의 다른 글
NMS 구축 시 네트워크 L2/L3 SNMP 설정 (0) | 2025.02.19 |
---|---|
MAC CLEAN 방법 (0) | 2025.02.16 |
L7 로드밸런싱 종류 (0) | 2025.02.16 |
[라우터] 특정 그룹(커뮤니티) (0) | 2025.02.16 |
[라우터] 라우팅 프로토콜 설명 (0) | 2025.02.16 |