becase we config peer-gateway and peer-switch feature under vpc .
I config vxlan underlay backup routing between two VPC leafs across peer-link
config like below url said at bottom
backup routing interface vlan just exist on peer-link , but when we config peer-switch on both leafs.
we found this vlan is putted into spanning tree backup state, and interfave vlan can't get up
and ospf can't established,
so i change this vlan spanning tree priority on one leaf switch , and spanning tree state on this vlan ( peer-link interface） change to forwarding。
is there other solution to resolve this problem?
Enabling vpc peer-gateway configuration is mandatory. For peer-gateway functionality, at least one backup routing SVI is required to be enabled across peer-link and also configured with PIM. This provides a backup routing path in the case when VTEP loses complete connectivity to the spine. Remote peer reachability is re-routed over peer-link in his case. In BUD node topologies, the backup SVI needs to be added as a static OIF for each underlay multicast group.
Did you configure the Vlan on both VPC Peers?
May I ask, what is the version of NxOS running when you attempted to implement it?
Did you also remember to configure system nve infra-vlans <vlan-id> force for the vlan you are using for the backup routing SVI?