Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Parameter

Parameter

Description

vrf  <text><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.

...

Code Block
admin@Xorplus# set protocols bgp vrf BLUE l2vpn advertise ipv4 -unicast route-map map1
admin@Xorplus# commit