Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

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>]




vrf <vrf-name>

Optional. Specifies the name of the VRF name.

route-map <route-map>

Optional. Specifies the route-map to filter the Type-5 IPv4 routes while advertising.


  • 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 l2vpn advertise ipv4-unicast route-map map1
admin@Xorplus# commit
  • No labels