To enable originating default Type-5 routes, run the command set protocol bgp evpn default-originate. Both the IPv4 and IPv6 default Type-5 routes are supported to be originated. Optional parameter vrf can be used to specify a VRF, if no VRF is specified the command takes effect on the default VRF. The other optional parameter is l2vpn to specify that the command affects layer 2 VPN.
The command delete protocol bgp evpn default-originate can be used to remove this configuration.
Command Syntax
set protocol bgp [vrf <text>] [l2vpn] evpn default-originate <ipv4|ipv6>
delete protocol bgp [vrf <text>] [l2vpn] evpn default-originate <ipv4|ipv6>
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies the name of the VRF. |
l2vpn | Optional. Specifies that the configuration applies to layer 2 VPN. |
default-originate (ipv4|ipv6) | Specifies whether IPv4 or IPv6 Type-5 routes are to be originated. |
Example
- Configure the device to originate the IPv4 default Type-5 routes for VRF BLUE.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn evpn default-originate ipv4 admin@Xorplus# commit