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
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
auto_generate_switch_pod_profiles | Boolean | true , false | No | false |
auto_generate_access_leaf_switch_interface_profiles | Boolean | true , false | No | false |
interface_selector_description | Boolean | true , false | No | false |
access_policies (apic)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
leaf_interface_selector_name | String | min: 1 , max: 64 | No | ETH\g<mod>-\g<port> |
leaf_interface_selector_sub_port_name | String | min: 1 , max: 64 | No | ETH\g<mod>-\g<port>-\g<sport> |
nodes (apic.interface_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 1 , max: 4000 | Yes |
interfaces (apic.interface_policies.nodes)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
port | Integer | min: 1 , max: 127 | Yes | |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
module | Integer | min: 1 , max: 9 | No | 1 |
policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
fex_id | Integer | min: 101 , max: 199 | No | |
breakout | Choice | 100g-2x , 100g-4x , 10g-4x , 25g-4x , 50g-8x , none | No | |
shutdown | Boolean | true , false | No | false |
expected_state | Class | [expected_state] | No |
sub_ports (apic.interface_policies.nodes.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
port | Integer | min: 1 , max: 127 | Yes | |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
module | Integer | min: 1 , max: 9 | No | |
policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
fex_id | Integer | min: 101 , max: 199 | No | |
shutdown | Boolean | true , false | No | false |
expected_state | Class | [expected_state] | No |
expected_state (apic.interface_policies.nodes.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
lldp_neighbor | String | No |
expected_state (apic.interface_policies.nodes.interfaces.sub_ports)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
lldp_neighbor | String | No |
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