Skip to content

Routed Ethernet Port

The Routed Ethernet Port configuration allows to define the multiple attributes that an routed interface can have.

NameTypeConstraintMandatoryDefault Value
topologyClasstopologyNo

NameTypeConstraintMandatoryDefault Value
switchesListswitchesNo

NameTypeConstraintMandatoryDefault Value
interfacesListAny[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]]]No

topology_switch_routed_interface (vxlan.topology.switches.interfaces)

Section titled “topology_switch_routed_interface (vxlan.topology.switches.interfaces)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes
modeChoiceroutedYes
descriptionStringmax: 256NoNetAsCode Routed Interface
vrfStringNo
mtuIntegermin: 1500, max: 9216No9216
speedStringRegex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$Noauto
enabledBooleantrue, falseNotrue
ipv4_addressIPNo
ipv4_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv4_addressesListsecondary_ipv4_addressesNo
ipv6_addressIPNo
ipv6_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv6_addressesListsecondary_ipv6_addressesNo
enable_qosBooleantrue, falseNofalse
qos_policyStringNo
queuing_policyStringNo
freeform_configStringNo
fecChoiceauto, fc-fec, off, rs-cons16, rs-fec, rs-ieeeNoauto

topology_switch_routed_interface (vxlan.topology.switches.interfaces)

Section titled “topology_switch_routed_interface (vxlan.topology.switches.interfaces)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$Yes
modeChoiceroutedYes
descriptionStringmax: 256NoNetAsCode Routed Interface
vrfStringNo
mtuIntegermin: 1500, max: 9216No9216
speedStringRegex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$Noauto
enabledBooleantrue, falseNotrue
ipv4_addressIPNo
ipv4_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv4_addressesListsecondary_ipv4_addressesNo
ipv6_addressIPNo
ipv6_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv6_addressesListsecondary_ipv6_addressesNo
freeform_configStringNo

secondary_ipv4_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_interface)

Section titled “secondary_ipv4_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_interface)”
NameTypeConstraintMandatoryDefault Value
ip_addressIPYes
route_tagIntegermin: 0, max: 4294967295No

secondary_ipv6_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_interface)

Section titled “secondary_ipv6_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_interface)”
NameTypeConstraintMandatoryDefault Value
ip_addressIPYes
route_tagIntegermin: 0, max: 4294967295No

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)
  • rs-ieee - Reed-Solomon FEC IEEE standard

Example 1 - Basic Routed Interface Configuration

Section titled “Example 1 - Basic Routed Interface Configuration”

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

Section titled “Example 2 - FEC Configuration on 25G Routed Interfaces”

This configuration demonstrates FEC on 25G routed interfaces:

topology_interfaces.nac.yaml
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: Ethernet1/3
mode: routed
description: '25G Routed with RS-FEC'
speed: 25gb
fec: rs-fec
ipv4_address: 10.1.1.1/30
- name: Ethernet1/4
mode: routed
description: '25G Routed with FC-FEC'
speed: 25gb
fec: fc-fec
ipv4_address: 10.1.1.5/30

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