配置vPC
1.激活特性
feature vpc
feature lacp
2.配置domain
vpc domain 73
role priority 73 (小的为主)
system-priority 2500
3.配置peer-keepalive (三层路由链路,承载心跳,进行双active检测)
peer-leepalive destination x.x.x.x source x.x.x.x
4.配置peer-link(直连,二层,承载控制层面流量,两端的板卡类型要一致。10Ge only)
interface e3/1-2
channel-group 20 mode ative
no shut
interface port-channel 20
switchport mode trunk
vpc peer-link
5.上联两台设备配置port-channel
feature lacp
interface e3/4
channel-group 30 mode active
no shut
interface port-channel 30
switchport mode trunk
vpc 30
6.下联一台设备配置port-channel
interface e3/1-2
channel-group 30 mode active
interface port-channel 30
switchport mode trunk
7.检查
show vpc
show vpc consistency-parameters interface port-channel 30
type 1 必须一致 ,type 2 可以不一致
vPC中HRSP行为是被修改的,所有HSRP路由器都会主动转发收到的流量
vPC Peer Switch特性 两台设备模拟一个MAC发BPDU
vPC二层技术