Skip to main content

VPC Groups

vPC groups can be named according to a naming convention defined once, without having to specify a name for every group. The following placeholders can be used when defining the naming convention:

  • \\g<switch1_id>: gets replaced by the respective node ID of the first leaf
  • \\g<switch2_id>: gets replaced by the respective node ID of the second leaf

Location in GUI: Fabric » Access Policies » Policies » Switch » Virtual Port Channel default

Diagram

Classes

node_policies (apic)

NameTypeConstraintMandatoryDefault Value
vpc_groupsClass[vpc_groups]No

vpc_groups (apic.node_policies)

NameTypeConstraintMandatoryDefault Value
modeChoiceexplicit, consecutive, reciprocalNoexplicit
groupsList[groups]No

groups (apic.node_policies.vpc_groups)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 1000Yes
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
switch_1Integermin: 1, max: 16000Yes
switch_2Integermin: 1, max: 16000Yes
policyStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No

Examples

vPC groups:

apic:
node_policies:
vpc_groups:
mode: explicit
groups:
- id: 101
switch_1: 101
switch_2: 102

vPC group naming convention:

apic:
access_policies:
vpc_group_name: "VPC\\_g<switch1_id>_\\g<switch2_id>"