Skip to main content

Access Leaf Interface Selector

Leaf 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
  • \\g<sport>: gets replaced by the respective interface sub-port ID

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

Diagram

Classes

apic

NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleantrue, falseNofalse
auto_generate_access_leaf_switch_interface_profilesBooleantrue, falseNofalse
interface_selector_descriptionBooleantrue, falseNofalse

access_policies (apic)

NameTypeConstraintMandatoryDefault Value
leaf_interface_selector_nameStringmin: 1, max: 64NoETH\g<mod>-\g<port>
leaf_interface_selector_sub_port_nameStringmin: 1, max: 64NoETH\g<mod>-\g<port>-\g<sport>

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
fex_idIntegermin: 101, max: 199No
breakoutChoice100g-2x, 100g-4x, 10g-4x, 25g-4x, 50g-8x, noneNo
shutdownBooleantrue, falseNofalse
expected_stateClass[expected_state]No

sub_ports (apic.interface_policies.nodes.interfaces)

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

expected_state (apic.interface_policies.nodes.interfaces)

NameTypeConstraintMandatoryDefault Value
lldp_neighborStringNo

expected_state (apic.interface_policies.nodes.interfaces.sub_ports)

NameTypeConstraintMandatoryDefault Value
lldp_neighborStringNo

Examples

apic:
auto_generate_access_leaf_switch_interface_profiles: true
access_policies:
leaf_interface_selector_name: "ETH\\g<mod>-\\g<port>"
leaf_interface_selector_sub_port_name: "ETH\\g<mod>-\\g<port>-\\g<sport>"
interface_policies:
nodes:
- id: 101
interfaces:
- port: 1
description: interface descr 1
policy_group: ACC1
- port: 2
fex_id: 101