set protocols bgp evpn advertise ipv4-unicast

The set protocols bgp evpn advertise ipv4-unicast command is used to announce IPv4 prefixes in the BGP RIB as EVPN Type-5 routes. Add the optional parameter route-map if you want to add a route map filter to the IPv4 Type-5 route advertisement. If the route map filter is not used, all the IPv4 routes in the BGP RIB are included in the advertisement. Optional parameter vrf can be used if you want the command to take effect on a specific VRF.

The delete protocols bgp evpn advertise ipv4-unicast command can be used to remove this configuration.


Command Syntax

set protocols bgp [vrf <vrf-name>]  evpn advertise ipv4-unicast [route-map <route-map>]

delete protocols bgp [vrf <vrf-name>] evpn advertise ipv4-unicast [route-map <route-map>]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies the name of the VRF name. The value is a string.

route-map <route-map>

Optional. Specifies the route-map to filter the Type-5 IPv4 routes while advertising. The value is a string.


Example

  • Configure the device to announce the IPv4 prefixes in VRF BLUE for EVPN and apply the map1 route-map filter.
admin@Xorplus# set protocols bgp vrf BLUE advertise ipv4-unicast route-map map1
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.