The Routed Ethernet Port configuration allows to define the multiple attributes that an routed interface can have.
Diagram Classes topology_switch_routed_interface (vxlan.topology.switches.interfaces) Name Type Constraint Mandatory Default Value name String Regex: (?i)^(?:e|eth(?:ernet)?)\d(?:\/\d+){1,2}$
Yes mode Choice routed
Yes description String max: 256
No NetAsCode Routed 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 freeform_config String No
secondary_ipv4_addresses (vxlan.topology.switches.interfaces.topology_switch_routed_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_interface) Name Type Constraint Mandatory Default Value ip_address IP Yes route_tag Integer min: 0
, max: 4294967295
No
Example 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
.
description : ' Routed Interface 1 '
ipv4_address : 192.168.57.5/30
description : ' Routed Interface 2 '
ipv4_address : 192.168.111.1/30