n3k配置vpc是否还需要配置hsrp_VPC配置案例
拓扑:
配置:
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
在N9K上查看VPC状态如下:
要点总结:
(1)keep_alive最好一个vrf,并且最好一个做链路聚合
(2)最好配置auto-recovery和peer-switch
n3k配置vpc是否还需要配置hsrp_VPC配置案例相关推荐
- n3k配置vpc是否还需要配置hsrp_VPC配置介绍
VPC(Virtual Port-Channel)是Cisco Nexus系列交换机中的一个特性.它支持一个跨机箱的二层Port-Channel.对于第三方设备来说(交换机或服务器)物理上是连接到了两 ...
- n3k配置vpc是否还需要配置hsrp_HSRP协议详解:配置HSRP实现网关的冗余备
在配置HSRP之前,有必要深刻了解一些基础的概念. 什么是HSRP协议?HSRP也叫热备份由协议,即第一跳冗余协议,第一跳实际就是网关.从而实现网关的冗余和自动切换.该协议确保了当网络边缘设备或接入链 ...
- n3k配置vpc是否还需要配置hsrp_配置基本HSRP
配置基本HSRP 当主用路由器当掉以后备份路由器可以接管主用路由器的IP地址和MAC地址 回答 Router1: Router1#configure terminal Enter configurat ...
- n3k配置vpc是否还需要配置hsrp_HSRP
当路由信息到达局域网的网关路由的时候,我们通过ARP的方式,通过IP地址找的相应主机的MAC:当局域网中的主机向局域网外请求服务时,路由器收到关于主机的ARP请求,如果发现所请求的主机与发送ARP请求 ...
- n3k配置vpc是否还需要配置hsrp_连结7000系列交换机使用HSRP配置示例
本文为热备份路由协议(HSRP)提供一配置示例在Cisco连结7000系列设备,并且显示HSRP配置哪个提供首跳共享在两连结7000系列交换机之间的冗余协议(FHRP)和负载. 尝试进行此配置之前,请 ...
- 360加固保自动签名配置了签名还一直提示签名配置中未找到此APK使用的签名
最近使用360加固保的时候,使用自动签名一直提示签名配置中未找到此APK使用的签名,在360社区里翻了一上午全是只有问题没有答案,很是烦躁. 最后还是官方靠谱,加了客服qq给出了答案:复制一个原包,将 ...
- 用了这么久配置中心,还不知道长轮询是什么?
前言 传统的静态配置方式想要修改某个配置时,必须重新启动一次应用,如果是数据库连接串的变更,那可能还容易接受一些,但如果变更的是一些运行时实时感知的配置,如某个功能项的开关,重启应用就显得有点大动干戈 ...
- TStack运维笔记(04)- 配置VPC网络及告警设置
文章目录 01 VPC配置 1.1 说明 1.2 操作步骤 02 告警设置 2.1 说明 2.2 操作步骤 01 VPC配置 1.1 说明 用户可以通过创建 虚拟私有网络(VPC) 为云主机构建隔离的 ...
- spyder pyecharts不显示_后期剪辑还在升级主机配置?换台京东方显示器才最重要...
原标题:后期剪辑还在升级主机配置?换台京东方显示器才最重要 2020年被称为短视频元年,它标志着视频自媒体的全面爆发.因此,很多小伙伴都尝试来用vlog记录,并与网友分享自己的生活.美好的事物总是更易 ...
最新文章
- 黑马程序员5 多线程
- wpcap包含目录如何在2010中进行全局设置
- vue组件之轮播图的实现
- 重建二叉树(基于js)
- c语言进程间通信架构,构建微服务之:微服务架构中的进程间通信
- Avalonia跨平台入门第二十三篇之滚动字幕
- Lucas定理及组合数取模
- 中国剩余定理(模板+代码)
- 关于if 判断等于0 和‘0’的问题
- 知识图谱入门 , 知识抽取
- Linux系统-进程概念
- 华为HCNA认证---简介及资源
- 用这个玩吃鸡:宏按键加一键恢复加自由移动视角,你想要的功能它都有
- c语言 计算整数n的阶乘之和,c语言求阶乘之和是多少
- 数据结构实验之二叉树五:层序遍历 // oj3344 队列+二叉树 // 先序 --层次
- 光通量发光强度照度亮度关系_什么是光通量、光强、亮度和照度?它们之间的关系是什么?...
- iS-RPA2022.1.0 | 艺赛旗RPA新版本正式发布
- 云仓是如何运行的?如何一件代发的?
- idea创建Scala入门HelloWorld
- RStudio安装package时出现错误