cisco n9k 配置VPC
以下是配置Cisco N9K VPC的步骤:
- 配置VPC域:
vpc domain <domain-id>
peer-switch
role priority <priority>
peer-keepalive destination <ip-address>
auto-recovery
其中,<domain-id>是VPC域的ID,<priority>是此交换机在VPC域中的优先级,<ip-address>是VPC域对等交换机之间的心跳包目的地IP地址。
- 配置VPC接口:
interface port-channel <channel-number>
switchport mode trunk
vpc <peer-link-number>
其中,<channel-number>是端口通道的编号,<peer-link-number>是VPC对等链路的编号。
- 配置VPC对等链路:
interface Ethernet1/1
description VPC Peer Link
switchport mode trunk
channel-group <channel-number> mode active
其中,Ethernet1/1是VPC对等链路的接口,<channel-number>是端口通道的编号。
- 配置VPC虚拟IP地址:
interface Vlan<vlan-id>
description VPC VLAN
ip address <ip-address>/<subnet-mask>
no shutdown
vpc <vpc-id>
其中,<vlan-id>是VPC VLAN的ID,<ip-address>/<subnet-mask>是VPC虚拟IP地址和子网掩码,<vpc-id>是VPC域的ID。
- 配置VPC自动恢复:
vpc domain <domain-id>
auto-recovery
- 验证VPC配置:
show vpc
show vpc brief
show vpc consistency-parameters
show vpc statistics
以上是配置Cisco N9K VPC的基本步骤,根据实际情况可以进行调整和优化。
原文地址: https://www.cveoy.top/t/topic/bYLr 著作权归作者所有。请勿转载和采集!