The Routed Port-Channel configuration allows to define the multiple attributes that an routed port-channel can have.
Name Type Constraint Mandatory Default Value name String Regex: (?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 mode Choice routed_poYes description String max: 256 No NetAsCode Routed PO Interfacecopy_description Boolean true, falseNo falsevrf String No mtu Integer min: 1500, max: 9216 No 9216speed String Regex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$ No autoenabled Boolean true, falseNo trueipv4_address IP No ipv4_route_tag Integer min: 0, max: 4294967295 No secondary_ipv4_addresses List [secondary_ipv4_addresses]No ipv6_address IP No ipv6_route_tag Integer min: 0, max: 4294967295 No secondary_ipv6_addresses List [secondary_ipv6_addresses]No enable_qos Boolean true, falseNo falseqos_policy String No queuing_policy String No pc_mode Choice active, on, passiveNo activemembers List String[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$] No freeform_config String No
Name Type Constraint Mandatory Default Value name String Regex: (?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 mode Choice routed_poYes description String max: 256 No NetAsCode Routed PO Interfacevrf String No mtu Integer min: 1500, max: 9216 No 9216speed String Regex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$ No autoenabled Boolean true, falseNo trueipv4_address IP No ipv4_route_tag Integer min: 0, max: 4294967295 No secondary_ipv4_addresses List [secondary_ipv4_addresses]No ipv6_address IP No ipv6_route_tag Integer min: 0, max: 4294967295 No secondary_ipv6_addresses List [secondary_ipv6_addresses]No pc_mode Choice active, on, passiveNo activemembers List String[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$] No freeform_config String No
Name Type Constraint Mandatory Default Value ip_address IP Yes route_tag Integer min: 0, max: 4294967295 No
Name Type Constraint Mandatory Default Value ip_address IP Yes route_tag Integer min: 0, max: 4294967295 No
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.
description : ' Routed Port-channel Interface 1 '
ipv4_address : 192.168.57.9/30
description : ' Routed Port-channel Interface 2 '
ipv4_address : 192.168.111.1/30