取消
显示结果 
搜索替代 
您的意思是: 
cancel
4879
查看次数
42
有帮助
5
评论
Luke Huang
Cisco Employee
Cisco Employee
需求:
由于 VPC domain id support 范围是1-1000,客户可能有超过1000组 VPC,因此希望配置相同的 VPC domain id.

解决方法:
VPC domain ID 需要在同一个 layer 2 网络里面,保持唯一,不要和其他 VPC domain ID 冲突。
如果客户希望使用相同 VPC domain ID,需要手动调整 VPC 的 system mac, 方法如下:
// n5k, n7k, n9k 命令相同
N5672-1# show vpc role

vPC Role status
----------------------------------------------------
vPC role : primary
vPC system-mac : 00:23:04:ee:be:01

在两台 nexus 设备同时修改 VPC system mac:
N5672-1(config)# vpc do 1
N5672-1(config-vpc-domain)# system-mac 00:11:11:22:22:33
Changing system id might flap peer-link and vPCs. Continue (yes/no)? [no] y
N5672-1(config-vpc-domain)#

N5672-1# show vpc role

vPC Role status
----------------------------------------------------
vPC role : primary
vPC system-mac : 00:11:11:22:22:33

修改 VPC system mac 的原因:
VPC 的 domain ID 会参与 system mac 计算,system mac 用于 LACP/STP 等协议协
如果两组 VPC 使用相同 domain ID,会导致 LACP/STP 等协议协商失败,interface suspend。
参考 link:

To create a vPC domain, you must first create a vPC domain ID on each vPC peer device using a number from 1 to 1000.
VPC domain id support 范围是1-1000.
The vPC peer devices use the vPC domain ID that you configure to automatically assign a unique vPC system MAC address.
在 VPC domain 中,两台 N7K 会依据分配的 domain id,计算出全网唯一的一个 VPC system mac address.
Each vPC domain has a unique MAC address that is used as a unique identifier for the specific vPC-related operations, although the devices use the vPC system MAC addresses only for link-scope operations, such as LACP.
VPC system mac address 用来标识这组 VPC 在网络中的 id,system mac 通常用于链路协议的协商,比如 LACP;
We recommend that you create each vPC domain within the contiguous Layer 2 network with a unique domain ID. You can also configure a specific MAC address for the vPC domain, rather than having the Cisco NX-OS software assign the address.
我们推荐您在同一个 layer2网络,使用唯一、不重复的 vpc domain id; 或者您可以手动修改 VPC system MAC,而不是使用NX-OS默认的方式"依据 vpc domain id 去分配vpc system mac address".

潜在风险:
在已经 online 的 VPC 设备修改 system mac,可能导致网络流量暂时中断;
如果忘记修改 system mac,出现多组 VPC domain 使用相同 system mac 的情况,会导致流量异常(协商失败、黑洞);

评论
Mansur
Spotlight
Spotlight
学习了
yangkai_716
Spotlight
Spotlight
很详细,学习了,感谢楼主分享
zhengwei272
Spotlight
Spotlight
感谢分享,不过实际环境超过1000的vpc domain还真是不多。。
Luke Huang
Cisco Employee
Cisco Employee
yangkai_716 发表于 2018-6-13 11:32
很详细,学习了,感谢楼主分享

对,新建的 DC 可能有这个需求,少数客户
fortune
VIP Alumni
VIP Alumni
感谢分享!
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接