Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VPC configuration case

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Topology:

Configuration:

N9K-1:

Vlan 1-500

Vrf context APP

Vrf context CTRIX

Vrf context DB

Vrf context Keep_alive

Vrf context VM

Vrf context management

Vpc domain 1000

Peer-switch

Role priority 65535

Peer-keepalive destination 172.16.1.2 source 172.16.1.1 vrf Keep_alive

Auto-recovery

Interface Vlan1

Interface Vlan10

No shutdown

Vrf member VM

Ip address 10.10.1.251/24

Hsrp 10

Ip 10.10.1.254

Hsrp 20

Preempt

Priority 110

Interface Vlan20

No shutdown

Vrf member VM

Ip address 10.10.2.251/24

Hsrp 20

Preempt

Priority 110

Ip 10.10.2.254

Interface Vlan30

No shutdown

Vrf member APP

Ip address 10.10.3.251/24

Hsrp 30

Preempt

Priority 110

Ip 10.10.3.254

Interface Vlan40

No shutdown

Vrf member APP

Ip address 10.10.4.251/24

Hsrp 40

Preempt

Priority 110

Ip 10.10.4.254

Interface Vlan50

No shutdown

Vrf member CTRIX

Ip address 10.10.5.251/24

Hsrp 50

Preempt

Priority 110

Ip 10.10.5.254

Interface Vlan60

No shutdown

Vrf member CTRIX

Ip address 10.10.6.251/24

Hsrp 60

Preempt

Priority 110

Ip 10.10.6.254

Interface Vlan70

No shutdown

Vrf member DB

Ip address 10.10.7.251/24

Hsrp 70

Preempt

Priority 110

Ip 10.10.7.254

Interface Vlan80

No shutdown

Vrf member DB

Ip address 10.10.8.251/24

Hsrp 80

Preempt

Priority 110

Ip 10.10.8.254

Interface port-channel10

No switchport

Vrf member Keep_alive

Ip address 172.16.1.1/30

Interface port-channel20

Switchport mode trunk

Spanning-tree port type network

Vpc peer-link

Interface port-channel30

Switchport mode trunk

Vpc 101

Interface Ethernet1/1

No switchport

Channel-group 10 mode active

No shutdown

Interface Ethernet1/2

No switchport

Channel-group 10 mode active

No shutdown

Interface Ethernet1/3

Switchport mode trunk

Channel-group 20 mode active

Interface Ethernet1/4

Switchport mode trunk

Channel-group 20 mode active

Interface Ethernet1/5

Switchport mode trunk

Channel-group 30 mode active

N9K-2:

Cfs eth distribute

Feature interface-vlan

Feature hsrp

Feature lacp

Feature vpc

Vlan 1-500

Vrf context APP

Vrf context CTRIX

Vrf context DB

Vrf context Keep_alive

Vrf context VM

Vrf context management

Vpc domain 1000

Peer-switch

Peer-keepalive destination 172.16.1.1 source 172.16.1.2 vrf Keep_alive

Auto-recovery

Interface Vlan1

Interface Vlan10

No shutdown

Vrf member VM

Ip address 10.10.1.252/24

Hsrp 10

Ip 10.10.1.254

Interface Vlan20

No shutdown

Vrf member VM

Ip address 10.10.2.252/24

Hsrp 20

Ip 10.10.2.254

Interface Vlan30

No shutdown

Vrf member APP

Ip address 10.10.3.252/24

Hsrp 30

Ip 10.10.3.254

Interface Vlan40

No shutdown

Vrf member APP

Ip address 10.10.4.252/24

Hsrp 40

Ip 10.10.4.254

Interface Vlan50

No shutdown

Vrf member CTRIX

Ip address 10.10.5.252/24

Hsrp 50

Ip 10.10.5.254

Interface Vlan60

No shutdown

Vrf member CTRIX

Ip address 10.10.6.252/24

Hsrp 60

Ip 10.10.6.254

Interface Vlan70

No shutdown

Vrf member DB

Ip address 10.10.7.252/24

Hsrp 70

Ip 10.10.7.254

Interface Vlan80

No shutdown

Vrf member DB

Ip address 10.10.8.252/24

Hsrp 80

Ip 10.10.8.254

Interface port-channel10

No switchport

Vrf member Keep_alive

Ip address 172.16.1.2/30

Interface port-channel20

Switchport mode trunk

Spanning-tree port type network

Vpc peer-link

Interface port-channel30

Switchport mode trunk

Vpc 101

Interface Ethernet1/1

No switchport

Channel-group 10 mode active

No shutdown

Interface Ethernet1/2

No switchport

Channel-group 10 mode active

No shutdown

Interface Ethernet1/3

Switchport mode trunk

Channel-group 20 mode active

Interface Ethernet1/4

Switchport mode trunk

Channel-group 20 mode active

Interface Ethernet1/5

Switchport mode trunk

Channel-group 30 mode active

N5K:

Vlan 1-500

Vrf context management

Interface port-channel30

Switchport mode trunk

Interface Ethernet1/1

Switchport mode trunk

Channel-group 30 mode active

Interface Ethernet1/2

Switchport mode trunk

Channel-group 30 mode active

To view the VPC status on N9K is as follows:

Summary of the main points:

(1) keep_alive should have one vrf and one link aggregation.

(2) it is best to configure auto-recovery and peer-switch

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report