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.
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>]
Optional. Specifies the name of the VRF name. The value is a string.
Optional. Specifies the route-map to filter the Type-5 IPv4 routes while advertising. The value is a string.
- Configure the device to announce the IPv4 prefixes in VRF BLUE for EVPN and apply the map1 route-map filter.