Link Level Interface Policy
Location in GUI: Fabric » Access Policies » Policies » Interface » Link Level
Diagram
Section titled “Diagram”Classes
Section titled “Classes”interface_policies (apic.access_policies)
Section titled “interface_policies (apic.access_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| link_level_policies | List | [link_level_policies] | No |
link_level_policies (apic.access_policies.interface_policies)
Section titled “link_level_policies (apic.access_policies.interface_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| speed | Choice | auto, 100M, 1G, 10G, 25G, 40G, 100G, 400G, inherit | No | inherit |
| link_delay_interval | Integer | min: 0, max: 10000 | No | 0 |
| link_debounce_interval | Integer | min: 0, max: 5000 | No | 100 |
| auto | Boolean | true, false | No | true |
| fec_mode | Choice | inherit, cl91-rs-fec, cl74-fc-fec, auto-fec, ieee-rs-fec, cons16-rs-fec, disable-fec | No | inherit |
| physical_media_type | Choice | auto, sfp-10g-tx | No |
Examples
Section titled “Examples”Example 1: The YAML snippet below demonstrates how to configure link-level policies. This includes setting the link_delay_interval and link_debounce_interval parameters. These are important for managing the “Port Bring-up Delay” required by various Line Cards, such as the Oracle Exadata CX5 Mellanox NICs. Both link_delay_interval and link_debounce_interval values are specified in milliseconds (ms), and link_delay_interval is set to 0ms by default.
apic: access_policies: interface_policies: link_level_policies: - name: 10G-CX5 speed: 10G link_delay_interval: 10 link_debounce_interval: 110 auto: true fec_mode: inheritExample 2: The YAML snippet below demonstrates the flexibility of converting a fiber port into a copper port. By specifying the physical_media_type as sfp-10g-tx, we can easily integrate copper-based devices into the network infrastructure. The physical_media_type field can be set to either auto or sfp-10g-tx.
apic: access_policies: link_level_policies: - name: 10G-CU speed: 10G auto: true fec_mode: inherit physical_media_type: sfp-10g-tx