Skip to main content

Loopback

Diagram

Classes

topology_switch_loopback_interface (vxlan.topology.switches.interfaces)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: (?i)^(lo|loopback)([0-9]|[1-9][0-9]{1,2}|10[0-1][0-9]|102[0-3])$Yes
modeChoiceloopback, fabric_loopback, mpls_loopbackYes
descriptionStringmax: 256NoNetAsCode Loopback Interface
vrfStringNo
enabledBooleantrue, falseNotrue
ipv4_addressIPNo
ipv4_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv4_addressesList[secondary_ipv4_addresses]No
ipv6_addressIPNo
ipv6_route_tagIntegermin: 0, max: 4294967295No
secondary_ipv6_addressesList[secondary_ipv6_addresses]No
freeform_configStringNo

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

NameTypeConstraintMandatoryDefault Value
ip_addressIPYes
route_tagIntegermin: 0, max: 4294967295No

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

NameTypeConstraintMandatoryDefault Value
ip_addressIPYes
route_tagIntegermin: 0, max: 4294967295No

Examples

vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: lo0
mode: loopback
description: 'Loopback Interface 1'
enabled: true
vrf: red
ipv4_address: 10.1.1.1
ipv4_route_tag: 12345
ipv6_address: 2021:10:1:1::1