Any[Class[[topology_switch_access_interface]] or Class[[topology_switch_trunk_interface]] or Class[[topology_switch_access_po_interface]] or Class[[topology_switch_trunk_po_interface]] or Class[topology_switch_routed_interface] or Class[[topology_switch_routed_sub_interface]] or Class[[topology_switch_routed_po_interface]] or Class[[topology_switch_loopback_interface]] or Class[[topology_switch_dot1q_host_interface]]]
If you previously configured FEC via freeform_config, you must migrate to the fec parameter using the same value and remove the FEC configuration from freeform_config to avoid conflicts.
Forward Error Correction (FEC) controls error correction on the physical interface. The following FEC modes are supported:
auto - Automatic FEC selection (default, not visible in show run)
fc-fec - FireCode FEC (also known as BASE-R or Clause 74)
off - FEC disabled
rs-cons16 - Reed-Solomon FEC Consortium 1.6
rs-fec - Reed-Solomon FEC (Clause 91 for 100G, Consortium 1.5 for 25G/50G)
This configuration creates Ethernet 1/46 and Ethernet 1/47 on dc1-leaf1. Ethernet 1/46 is member of the VRF red, with the IPv4 address 192.168.57.5/30, MTU set as 1500, speed of 10gb and a IPv4 tag 12345. Interface Ethernet 1/47 is member of the default VRF with the IPv4 address 192.168.111.1/30.
topology_interfaces.nac.yaml
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: Ethernet1/46
mode: routed
description: 'Routed Interface 1'
enabled: true
vrf: red
mtu: 1500
speed: 10gb
ipv4_address: 192.168.57.5/30
ipv4_route_tag: 12345
- name: Ethernet1/47
mode: routed
description: 'Routed Interface 2'
ipv4_address: 192.168.111.1/30
Example 2 - FEC Configuration on 25G Routed Interfaces
This configuration creates Ethernet 1/46 and Ethernet 1/47 on dc1-leaf1. Ethernet 1/46 is member of the VRF red, with the IPv4 address 192.168.57.5/30, MTU set as 1500, speed of 10gb and a IPv4 tag 12345. Interface Ethernet 1/47 is member of the default VRF with the IPv4 address 192.168.111.1/30.