Skip to main content

Access Spine Interface Selector

Spine Interface Selectors can be auto-generated (one per interface) by providing a naming convention. The following placeholders can be used when defining the naming convention:

  • \\g<mod>: gets replaced by the respective interface module ID
  • \\g<port>: gets replaced by the respective interface port ID

Location in GUI: Fabric » Access Policies » Interfaces » Spine Interfaces » Profiles » XXX

Diagram

Classes

apic

NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleantrue, falseNofalse
auto_generate_access_spine_switch_interface_profilesBooleantrue, falseNofalse

access_policies (apic)

NameTypeConstraintMandatoryDefault Value
spine_interface_selector_nameStringmin: 1, max: 64NoETH\g<mod>-\g<port>

nodes (apic.interface_policies)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

interfaces (apic.interface_policies.nodes)

NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
shutdownBooleantrue, falseNofalse
expected_stateClass[expected_state]No

expected_state (apic.interface_policies.nodes.interfaces)

NameTypeConstraintMandatoryDefault Value
lldp_neighborStringNo

Examples

apic:
auto_generate_access_spine_switch_interface_profiles: true
access_policies:
spine_interface_selector_name: "ETH\\g<mod>-\\g<port>"
interface_policies:
nodes:
- id: 1001
interfaces:
- port: 60
policy_group: IPN