Leaf Switch Profiles can either be auto-generated (one per leaf) by providing a naming convention, or can be system-generated (one per leaf), or can be defined explicitly. In case of auto-generated profiles the following placeholders can be used when defining the naming convention:
\\g<id>
: gets replaced by the respective leaf node ID\\g<name>
: gets replaced by the respective leaf hostnameLocation in GUI: Fabric
» Access Policies
» Switches
» Leaf Switches
» Profiles
Diagram Classes apic Name Type Constraint Mandatory Default Value auto_generate_switch_pod_profiles Boolean true
, false
No false
auto_generate_access_leaf_switch_interface_profiles Boolean true
, false
No false
access_policies (apic) Name Type Constraint Mandatory Default Value leaf_switch_profile_name String min: 1
, max: 64
No LEAF\g<id>
leaf_switch_selector_name String min: 1
, max: 64
No LEAF\g<id>
leaf_interface_profile_name String min: 1
, max: 64
No LEAF\g<id>
leaf_switch_profiles List [leaf_switch_profiles]
No
nodes (apic.node_policies) Name Type Constraint Mandatory Default Value id Integer min: 1
, max: 4000
Yes name String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
No access_policy_group String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
No
leaf_switch_profiles (apic.access_policies) Name Type Constraint Mandatory Default Value name String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
Yes selectors List [selectors]
No interface_profiles List String[Regex: ^[a-zA-Z0-9_.:-]{1,64}$
] No
selectors (apic.access_policies.leaf_switch_profiles) Name Type Constraint Mandatory Default Value name String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
Yes policy String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
No node_blocks List [node_blocks]
No
node_blocks (apic.access_policies.leaf_switch_profiles.selectors) Name Type Constraint Mandatory Default Value name String Regex: ^[a-zA-Z0-9_.:-]{1,64}$
Yes from Integer min: 1
, max: 4000
Yes to Integer min: 1
, max: 4000
No
Examples Auto-generated profiles:
auto_generate_access_leaf_switch_interface_profiles : true
leaf_switch_profile_name : " LEAF \\ g<id> "
leaf_switch_selector_name : " LEAF \\ g<id> "
access_policy_group : ALL_LEAFS
System-generated profiles:
new_interface_configuration : true
access_policy_group : ALL_LEAFS
Explicitly configured profiles: