CDP Interface Policy
Location in GUI: Fabric
» Access Policies
» Policies
» Interface
» CDP Interface
Diagram
Section titled “Diagram”Classes
Section titled “Classes”interface_policies (apic.access_policies)
Section titled “interface_policies (apic.access_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
cdp_policies | List | [cdp_policies] | No |
cdp_policies (apic.access_policies.interface_policies)
Section titled “cdp_policies (apic.access_policies.interface_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
admin_state | Boolean | true , false | Yes |
Examples
Section titled “Examples”Example-1: this example configures a CDP policy named CDP-ENABLED
, which enables CDP on the associated interfaces due to the admin_state property being set to true
. Since CDP is a Cisco-proprietary protocol, it should be enabled on interfaces connecting to devices only. LLDP is the vendor-agnostic alternative. A CDP policy may also be required for VMM integration as part of the vSwitch policy configuration.
apic: access_policies: interface_policies: cdp_policies: - name: CDP-ENABLED admin_state: true