Skip to main content

vPC Peer

The vpc_peers configuration allows to define the vpc pairs in the fabric. This includes defining the 2 switches that belong to a pair and the interfaces that the switches will use for the vpc peering.

The supported workflows are "Provision" and "Decommission" only. In other words, the configuration of any vpc pair cannot be edited after deployment, to scale up or down the peer interfaces or change the vpc pairs. The recommended method to perform changes to a already deployed vpc pair is, to delete the vpc pair completely and create them fresh.

Diagram

Classes

topology (vxlan)

NameTypeConstraintMandatoryDefault Value
vpc_peersList[vpc_peers]No

vpc_peers (vxlan.topology)

NameTypeConstraintMandatoryDefault Value
peer1StringYes
peer1_peerlink_interfacesList[peer1_peerlink_interfaces]No
peer2StringYes
peer2_peerlink_interfacesList[peer2_peerlink_interfaces]No
fabric_peeringBooleantrue, falseNo
domain_idIntegermin: 1, max: 1000No1
vtep_vipIPNo
vpc_interfacesList[vpc_interfaces]No

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes

vpc_interfaces (vxlan.topology.vpc_peers)

NameTypeConstraintMandatoryDefault Value
vpc_idIntegermin: 1, max: 4096Yes

Examples

vxlan:
topology:
vpc_peers:
- peer1: dc1-leaf1
peer2: dc1-leaf2
peer1_peerlink_interfaces:
- name: Ethernet1/3
- name: Ethernet1/4
peer2_peerlink_interfaces:
- name: Ethernet1/3
- name: Ethernet1/4
- peer1: dc1-leaf3
peer2: dc1-leaf4
peer1_peerlink_interfaces:
- name: Ethernet1/3
peer2_peerlink_interfaces:
- name: Ethernet1/3