Skip to 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
NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleanNofalse
auto_generate_access_leaf_switch_interface_profilesBooleanNofalse
interface_selector_descriptionBooleantrue, falseNofalse

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>

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

interfaces (apic.interface_policies.nodes)

Section titled “interfaces (apic.interface_policies.nodes)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
breakoutChoice100g-2x, 100g-4x, 10g-4x, 25g-4x, 50g-8x, noneNo
shutdownBooleantrue, falseNofalse

sub_ports (apic.interface_policies.nodes.interfaces)

Section titled “sub_ports (apic.interface_policies.nodes.interfaces)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
shutdownBooleantrue, falseNofalse

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

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
NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleanNofalse
auto_generate_access_leaf_switch_interface_profilesBooleanNofalse
interface_selector_descriptionBooleantrue, falseNofalse

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>

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

interfaces (apic.interface_policies.nodes)

Section titled “interfaces (apic.interface_policies.nodes)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
breakoutChoice100g-2x, 100g-4x, 10g-4x, 25g-4x, 50g-8x, noneNo
shutdownBooleantrue, falseNofalse

sub_ports (apic.interface_policies.nodes.interfaces)

Section titled “sub_ports (apic.interface_policies.nodes.interfaces)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
shutdownBooleantrue, falseNofalse

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

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
NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleanNofalse
auto_generate_access_leaf_switch_interface_profilesBooleanNofalse
interface_selector_descriptionBooleantrue, falseNofalse

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>

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes

interfaces (apic.interface_policies.nodes)

Section titled “interfaces (apic.interface_policies.nodes)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
breakoutChoice100g-2x, 100g-4x, 10g-4x, 25g-4x, 50g-8x, noneNo
shutdownBooleantrue, falseNofalse

sub_ports (apic.interface_policies.nodes.interfaces)

Section titled “sub_ports (apic.interface_policies.nodes.interfaces)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
shutdownBooleantrue, falseNofalse

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

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

Diagram
NameTypeConstraintMandatoryDefault Value
interface_policiesClass[interface_policies]No

NameTypeConstraintMandatoryDefault Value
nodesList[nodes]No

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes
interfacesList[interfaces]No
fexesList[fexes]No

interfaces (apic.interface_policies.nodes)

Section titled “interfaces (apic.interface_policies.nodes)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
typeChoiceuplink, downlinkNo
sub_portsList[sub_ports]No
breakoutChoice100g-2x, 100g-4x, 10g-4x, 25g-4x, 50g-8x, noneNo
fabricBooleantrue, falseNofalse
shutdownBooleantrue, falseNofalse
port_channel_member_policyStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No

NameTypeConstraintMandatoryDefault Value
idIntegermin: 101, max: 199Yes
interfacesList[interfaces]No

sub_ports (apic.interface_policies.nodes.interfaces)

Section titled “sub_ports (apic.interface_policies.nodes.interfaces)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
fex_idIntegermin: 101, max: 199No
shutdownBooleantrue, falseNofalse
port_channel_member_policyStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No

interfaces (apic.interface_policies.nodes.fexes)

Section titled “interfaces (apic.interface_policies.nodes.fexes)”
NameTypeConstraintMandatoryDefault Value
portIntegermin: 1, max: 127Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _&#123;|&#125;~?&+]&#123;1,128&#125;$No
moduleIntegermin: 1, max: 9No1
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No
shutdownBooleantrue, falseNofalse
port_channel_member_policyStringRegex: ^[a-zA-Z0-9_.:-]&#123;1,64&#125;$No

apic:
interface_policies:
nodes:
- id: 101
interfaces:
- port: 1
description: interface descr 1
policy_group: ACC1