Skip to content

vPC Switch Policy

Location in GUI: Fabric » Access Policies » Policies » Switch » VPC Domain

Diagram
NameTypeConstraintMandatoryDefault Value
vpc_policiesList[vpc_policies]No

vpc_policies (apic.access_policies.switch_policies)

Section titled “vpc_policies (apic.access_policies.switch_policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
peer_dead_intervalIntegermin: 5, max: 600No200
delay_restore_timerIntegermin: 120, max: 600No

Example 1: In this example we create our own vPC policy which can be applied to vPC groups, it defines the time to wait until a peer is decleared dead (peer_dead_interval) and as of when it is considered up (delay_restore_timer).

apic:
access_policies:
switch_policies:
vpc_policies:
- name: myVpcPolicy
peer_dead_interval: 300
delay_restore_timer: 210

Example 2: In this example we modify the default timers which are automatically applied to all nodes unless a specific policy is applied to a vPC Group.

apic:
access_policies:
switch_policies:
vpc_policies:
- name: default
peer_dead_interval: 300
delay_restore_timer: 210