vPC Switch Policy
Location in GUI: Fabric
» Access Policies
» Policies
» Switch
» VPC Domain
Diagram
Section titled “Diagram”Classes
Section titled “Classes”switch_policies (apic.access_policies)
Section titled “switch_policies (apic.access_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vpc_policies | List | [vpc_policies] | No |
vpc_policies (apic.access_policies.switch_policies)
Section titled “vpc_policies (apic.access_policies.switch_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
peer_dead_interval | Integer | min: 5 , max: 600 | No | 200 |
delay_restore_timer | Integer | min: 120 , max: 600 | No |
Examples
Section titled “Examples”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