Interface Setting
NDOLocation in GUI:
Fabric Templates » Fabric Policies » Interface Setting
Diagram
Section titled “Diagram”Classes
Section titled “Classes”fabric_policies (ndo.fabric_templates)
Section titled “fabric_policies (ndo.fabric_templates)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| interfaces_settings | List | [interfaces_settings] | No |
interfaces_settings (ndo.fabric_templates.fabric_policies)
Section titled “interfaces_settings (ndo.fabric_templates.fabric_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| type | Choice | physical, port-channel | No | physical |
| link_level | Class | [link_level] | No | |
| l2_interface | Class | [l2_interface] | No | |
| cdp | Class | [cdp] | No | |
| lldp | Class | [lldp] | No | |
| stp | Class | [stp] | No | |
| llfc | Class | [llfc] | No | |
| mcp | Class | [mcp] | No | |
| pfc | Class | [pfc] | No | |
| port_channel | Class | [port_channel] | No | |
| domains | List | String[Regex: ^[a-zA-Z0-9_.:-]{1,64}$] | No | |
| synce_policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
link_level (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “link_level (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| speed | Choice | 100M, 1G, 10G, 25G, 40G, 50G, 100G, 200G, 400G, inherit | No | inherit |
| auto | Boolean | true, false | No | true |
| auto_enforce | Boolean | true, false | No | false |
| fec_mode | Choice | inherit, disabled, cl91-rs-fec, cl74-fc-fec, auto-fec, ieee-rs-fec, cons16-rs-fec, kp-fec | No | inherit |
| debounce_interval | Integer | min: 0, max: 5000 | No | 100 |
| bring_up_delay | Integer | min: 0, max: 10000 | No | 0 |
l2_interface (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “l2_interface (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vlan_scope | Choice | global, portlocal | No | global |
| qinq | Choice | disabled, edgePort, corePort, doubleQtagPort | No | disabled |
| reflective_relay | Boolean | true, false | No | false |
cdp (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “cdp (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| admin_state | Boolean | true, false | No | false |
lldp (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “lldp (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| admin_state | Boolean | true, false | No | true |
| transmit_state | Boolean | true, false | No | true |
| receive_state | Boolean | true, false | No | true |
stp (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “stp (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| bpdu_filter | Boolean | true, false | No | false |
| bpdu_guard | Boolean | true, false | No | false |
llfc (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “llfc (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| transmit_state | Boolean | true, false | No | false |
| receive_state | Boolean | true, false | No | false |
mcp (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “mcp (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| admin_state | Boolean | true, false | No | true |
| strict_mode | Boolean | true, false | No | false |
| initial_delay_time | Integer | min: 0, max: 1800 | No | 180 |
| transmission_frequency_sec | Integer | min: 0, max: 300 | No | 2 |
| transmission_frequency_msec | Integer | min: 0, max: 999 | No | 500 |
| grace_period_sec | Integer | min: 0, max: 300 | No | 3 |
| grace_period_msec | Integer | min: 0, max: 999 | No | 0 |
pfc (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “pfc (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| admin_state | Boolean | true, false | No | false |
| auto | Boolean | true, false | No | true |
port_channel (ndo.fabric_templates.fabric_policies.interfaces_settings)
Section titled “port_channel (ndo.fabric_templates.fabric_policies.interfaces_settings)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| mode | Choice | lacp-active, lacp-passive, static-channel-mode-on, mac-pinning, mac-pinning-physical-nic-load, use-explicit-failover-order | No | static-channel-mode-on |
| suspend_individual | Boolean | true, false | No | true |
| graceful_convergence | Boolean | true, false | No | true |
| fast_select_standby | Boolean | true, false | No | true |
| load_defer | Boolean | true, false | No | false |
| symmetric_hash | Boolean | true, false | No | false |
| min_links | Integer | min: 1, max: 16 | No | 1 |
| max_links | Integer | min: 1, max: 64 | No | 16 |
| load_balance_hashing | Choice | destination-ip, layer-4-destination-ip, layer-4-source-ip, source-ip | No |
Examples
Section titled “Examples”Example-1: The example below shows a fabric policy template called FP1 with a physical interface setting.
ndo: fabric_templates: fabric_policies: - name: FP1 sites: - APIC1 interfaces_settings: - name: INTF1 description: Physical interface settings type: physical link_level: speed: 25G auto: false fec_mode: cl91-rs-fec debounce_interval: 200 bring_up_delay: 500 l2_interface: vlan_scope: portlocal cdp: admin_state: false lldp: transmit_state: false receive_state: false stp: bpdu_filter: true bpdu_guard: true mcp: admin_state: false synce_policy: SYNCE1 domains: - L3_DOM1