Skip to main content

Access FEX Interface Profile

FEX Interface Profiles can either be auto-generated, one per FEX, by providing a naming convention 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 hostname
  • \\g<fex>: gets replaced by the respective FEX ID

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

Diagram

Classes

apic

NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleantrue, falseNofalse
auto_generate_access_leaf_switch_interface_profilesBooleantrue, falseNofalse

access_policies (apic)

NameTypeConstraintMandatoryDefault Value
fex_profile_nameStringmin: 1, max: 64NoLEAF\g<id>-FEX\g<fex>
fex_interface_profilesList[fex_interface_profiles]No

nodes (apic.interface_policies)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

fexes (apic.interface_policies.nodes)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 101, max: 199Yes

fex_interface_profiles (apic.access_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
selectorsList[selectors]No
expected_stateClass[expected_state]No

selectors (apic.access_policies.fex_interface_profiles)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
fex_idIntegermin: 101, max: 199No
fex_profileStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
port_blocksList[port_blocks]No

expected_state (apic.access_policies.fex_interface_profiles)

NameTypeConstraintMandatoryDefault Value
minimum_healthIntegermin: 0, max: 100No
maximum_critical_faultsIntegermin: 0No
maximum_major_faultsIntegermin: 0No
maximum_minor_faultsIntegermin: 0No

port_blocks (apic.access_policies.fex_interface_profiles.selectors)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
from_moduleIntegermin: 1, max: 9No1
from_portIntegermin: 1, max: 127Yes
to_moduleIntegermin: 1, max: 9No
to_portIntegermin: 1, max: 127No

Examples

Auto-generate profiles:

apic:
auto_generate_switch_pod_profiles: true
access_policies:
fex_profile_name: "LEAF\\g<id>-FEX\\g<fex>"

Explicitly configured profiles:

apic:
access_policies:
fex_interface_profiles:
- name: LEAF1001-FEX101
selectors:
- name: SEL1
policy_group: 10G-SERVER
port_blocks:
- name: BLOCK1
description: Server ABC
from_port: 1