set vxlans l3-vni
The command set vxlans l3-vni is used to add the L3 VNI ID to VXLAN routing. It will advertise the Type-2 host advertisements and Type-5 prefix routes for the VNI. The optional argument prefix-routes-only can be added to the command to advertise the prefix routes only. This configuration is used in EVPN Asymmetric routing to sync external routes between devices.
Run the command delete vxlans l3-vni to remove this configuration from the system.
Command Syntax
set vxlans [vrf <vrf-name>] l3-vni <vni-id> [prefix-routes-only]
delete vxlans [vrf <vrf-name>] l3-vni <vni-id> [prefix-routes-only]
Parameters
vrf <vrf-name> | Optional, specifies the VRF name. |
l3-vni <vni-id> | Specifies the layer 3 VNI ID. |
Example
This example demonstrates how to enable advertisement of Type-2 and Type-5 routes for a given VRF and VNI ID.
admin@XorPlus# set vxlans vrf vrf1 l3-vni 100
Copyright © 2024 Pica8 Inc. All Rights Reserved.