Routed Port-Channel
Diagram
Classes
topology_switch_routed_po_interface (vxlan.topology.switches.interfaces)
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_po | Yes | |
description | String | max: 256 | No | NetAsCode Routed PO Interface |
vrf | String | No | ||
mtu | Integer | min: 1500 , max: 9216 | No | 9216 |
speed | String | Regex: (?i)^(auto|100mb|1gb|10gb|25gb|40gb|100gb|200gb|400gb|800gb)$ | No | auto |
enabled | Boolean | true , false | No | true |
ipv4_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 , passive | No | active |
members | List | String[Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$ ] | No | |
freeform_config | String | No |
secondary_ipv4_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_po_interface)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip_address | IP | Yes | ||
route_tag | Integer | min: 0 , max: 4294967295 | No |
secondary_ipv6_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_po_interface)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip_address | IP | Yes | ||
route_tag | Integer | min: 0 , max: 4294967295 | No |
Examples
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: po111
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