链路全通的情况下,tracert 测试一下,发现并有没有hsrp优先级高的那条路,而是走的低的,
是随机走,还是架构有问题呢,配置如下
第一台 N9K01
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan1 1 180 P Active local 10.66.0.3 10.66.0.1 (conf)
Vlan400 2 180 P Active local 10.66.2.3 10.66.2.1 (conf)
Vlan402 3 180 P Active local 10.66.4.3 10.66.4.1 (conf)
C9332C_FIWO_Core_
66.0.2#vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role :
primary, operational secondary
Number of vPCs configured : 5
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 30s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ -------------------------------------------------
1 Po1 up 1,400,402
vPC status
----------------------------------------------------------------------------
Id Port Status Consistency Reason Active vlans
-- ------------ ------ ----------- ------ ---------------
1 Po10 up success success 1,400
2 Po11 up success success 1,402
3 Po12 up success success 1,402
4 Po13 up success success 1,402
5 Po14 up success success 1,402
第二台N9K02
Interface Grp Prio P State Active addr Standby addr Group addr
Vlan1 1 150 P Standby 10.66.0.2 local 10.66.0.1 (conf)
Vlan400 2 150 P Standby 10.66.2.2 local 10.66.2.1 (conf)
Vlan402 3 150 P Standby 10.66.4.2 local 10.66.4.1 (conf)
C9332C_FIWO_Core_
66.0.3#
vPC domain id : 1
Peer status : peer adjacency formed ok
vPC keep-alive status : peer is alive
Configuration consistency status : success
Per-vlan consistency status : success
Type-2 consistency status : success
vPC role :
secondary, operational primary
Number of vPCs configured : 5
Peer Gateway : Disabled
Dual-active excluded VLANs : -
Graceful Consistency Check : Enabled
Auto-recovery status : Disabled
Delay-restore status : Timer is off.(timeout = 30s)
Delay-restore SVI status : Timer is off.(timeout = 10s)
Operational Layer3 Peer-router : Disabled
Virtual-peerlink mode : Disabled
vPC Peer-link status
---------------------------------------------------------------------
id Port Status Active vlans
-- ---- ------ -------------------------------------------------
1 Po1 up 1,400,402
vPC status
----------------------------------------------------------------------------
Id Port Status Consistency Reason Active vlans
-- ------------ ------ ----------- ------ ---------------
1 Po10 up success success 1,400
2 Po11 up success success 1,402 3 Po12 up success success 1,402
4 Po13 up success success 1,402
5 Po14 up success success 1,402
----------------------------------------------------------------------------
VPC下联的设备
11 Po11(SU) Eth LACP Eth1/53(P) Eth1/54(P) ---po11连的上连两台9332C
93180-0.5#
93180-0.5# traceroute 10.67.7.1
traceroute to 10.67.7.1 (10.67.7.1), 30 hops max, 40 byte packets
1 10.66.0.3 (10.66.0.3) 0.9 ms 0.576 ms 0.529 ms -------------------------路径总是走0.3也是hsrp优先级和vpc优先级都低的那台设备 2 10.67.2.177 (10.67.2.177) 0.523 ms 0.448 ms 0.505 ms
3 * 10.67.2.238 (10.67.2.238) 1.013 ms *
93180-0.5#