이번 내용은 자세한 내용이 아닌 정말 겉테두리 내용으로 구성되었음을 미리 말씀드립니다 ^^
우리가 네트워크 또는 일반적으로 IT장비들을 유지보수하는 업체라는 가정하에 장비들이 갑작스런 문제로 인해 Shutdown되는 상황들이 있다.
이러한 문제를 방지하고자 장비들은 모두 이중화를 하게 되는데 Cisco의 Nexus장비에는 vPC라는 기능이 있다.
vPC는 (Virtual port channels)이라고 부르고, 쉽게 가상의 포트채널구성이라고 생각하면 됩니다.
물리적인 장비 2대를 한대로 묶어 상대측에서 바라볼때는 내 장비는 1대밖에 없다~ 라고 생각이 드는거죠
자~ vPC가 무엇인지 이해되셨죠 ^^
그럼 vPC는 어떻게 구성을 하는지 보여드리겠습니다.
vPC를 구성하기위해서는 최소 2대의 장비가 필요합니다.
vPC를 구성하는순서?
>> Feature 를 올려야합니다.
N9K(config)# feature vpc
>> vPC Domain을 설정합니다
N9K(config)# vpc domain 1
>> Peer-keepalive를 설정합니다.
N9K(config-vpc-domain)# peer-keepalive destination 10.1.1.2 source 10.1.1.1
>> Port에 설정한 Keepalive 값을 지정합니다.
N9K(config-vpc-domain)# int eth 1/1
N9K(config-if)# ip add 10.1.1.1/24
N9K(config-if)# no sh
>> Peer Link의 대한 설정을 하도록 하겠습니다.
N9K(config-if)# feature lacp
N9K(config)# int eth 1/2
N9K(config-if)# channel-group 1 mod active
N9K(config-if)# no sh
N9K(config-if)# int port-channel 1
N9K(config-if)# switchport
N9K(config-if)# switchport mod trunk
N9K(config-if)# vpc peer-link
반대쪽 장비도 동일하게 구성합니다.
N9K(config)# feature vpc
N9K(config)# vpc domain 1
N9K(config-vpc-domain)# peer-keepalive destination 10.1.1.1 source 10.1.1.2
N9K(config-vpc-domain)# int eth 1/1
N9K(config-if)# ip add 10.1.1.2/24
N9K(config-if)# no sh
N9K(config-if)# feature lacp
N9K(config)# int eth 1/2
N9K(config-if)# channel-group 1 mod active
N9K(config-if)# no sh
N9K(config-if)# int port-channel 1
N9K(config-if)# switchport
N9K(config-if)# switchport mod trunk
N9K(config-if)# vpc peer-link
설정을 한 뒤 vPC의 대해 확인을 해보면...
N9K(config-if)# show vpc
Legend:
(*) - local vPC is down, forwarding via vPC peer-link
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role : primary
Number of vPCs configured : 0
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is on.(timeout = 30s, 26s left)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ -------------------------------------------------
1 Po1 up 1
아래는 vPC의 관한 컨피그 가이드입니다.
Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x) - Configuring vPCs [Cisco Nexus 9000 Series Switche
Configuring vPCs
www.cisco.com
'Cisco Nexus' 카테고리의 다른 글
protocol identification string lack carriage return - dcos_sshd (0) | 2023.06.16 |
---|---|
Service "callhome server" (PID xxxx) hasn't caught signal 6 (core will be saved). (0) | 2023.06.16 |
NXOS SNMP Walk 명령어 (0) | 2023.06.16 |
NXOS에서 Core File이 복사 안됨 (2) | 2023.06.16 |
Crontab (0) | 2023.06.16 |