Skip to content

Routed Port-Channel

The Routed Port-Channel configuration allows to define the multiple attributes that an routed port-channel 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_po_interface (vxlan.topology.switches.interfaces)

Section titled “topology_switch_routed_po_interface (vxlan.topology.switches.interfaces)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(po|port-channel)([1-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|40[0-8][0-9]|409[0-6])$Yes
modeChoicerouted_poYes
descriptionStringmax: 256NoNetAsCode Routed PO Interface
copy_descriptionBooleantrue, falseNofalse
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
pc_modeChoiceactive, on, passiveNoactive
membersListString[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$]No
freeform_configStringNo

topology_switch_routed_po_interface (vxlan.topology.switches.interfaces)

Section titled “topology_switch_routed_po_interface (vxlan.topology.switches.interfaces)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(po|port-channel)([1-9]|[1-9][0-9]{1,2}|[1-3][0-9]{3}|40[0-8][0-9]|409[0-6])$Yes
modeChoicerouted_poYes
descriptionStringmax: 256NoNetAsCode Routed PO 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
pc_modeChoiceactive, on, passiveNoactive
membersListString[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$]No
freeform_configStringNo

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

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

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

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

This configuration creates port-channel 93 and port-channel 11 on dc1-leaf1. Port-channel 93 is member of the VRF red, with the IPv4 address 192.168.57.9/30, MTU set as 1500, speed auto, a IPv4 tag 12345. This port-channel has Ethernet1/23 and Ethernet1/24 as member interfaces. Port-channel 11 is member of the VRF blue, with the IPv4 address 192.168.111.1/30, MTU of 9000. This port-channel has Ethernet1/25 and Ethernet1/26 as member interfaces.

topology_interfaces.nac.yaml
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: Po93
mode: routed_po
description: 'Routed Port-channel Interface 1'
enabled: true
vrf: red
mtu: 1500
speed: auto
ipv4_address: 192.168.57.9/30
ipv4_route_tag: 12345
pc_mode: active
members:
- eth1/23
- eth1/24
- name: po11
mode: routed_po
description: 'Routed Port-channel Interface 2'
enabled: true
vrf: blue
mtu: 9000
ipv4_address: 192.168.111.1/30
members:
- eth1/25
- eth1/26