Skip to main content

Access FEX Interface Selector

FEX 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 » 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
fex_interface_selector_nameStringmin: 1, max: 64NoETH\g<mod>-\g<port>

nodes (apic.interface_policies)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

fexes (apic.interface_policies.nodes)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 101, max: 199Yes

interfaces (apic.interface_policies.nodes.fexes)

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.fexes.interfaces)

NameTypeConstraintMandatoryDefault Value
lldp_neighborStringNo

Examples

apic:
auto_generate_access_leaf_switch_interface_profiles: true
access_policies:
fex_interface_selector_name: "ETH\\g<mod>-\\g<port>"
interface_policies:
nodes:
- id: 101
fexes:
- id: 101
interfaces:
- port: 1
description: interface descr
policy_group: ACC1