The command set protocol bgp evpn advertise ipv6 unicast is used to configure the device to announce IPv6 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 IPv6 Type-5 route advertisement. If the route map filter is not used, all the IPv6 routes in the BGP RIB are included in the advertisement. The other optional parameters are vrf to specify a VRF for this command to take effect on and l2vpn to specify only layer 2 EVPN.
To delete this configuration, run the command delete set protocol bgp evpn advertise ipv6 unicast.
Command Syntax
set protocol bgp [vrf <text>] [l2vpn] evpn advertise ipv6 unicast [route-map <route-map>]
delete protocol bgp [vrf <text>] [l2vpn] evpn advertise ipv6 unicast [route-map <route-map>]
Parameter
Parameter | Description |
vrf <text> | Optional. Specifies the name of the VRF. |
l2vpn | Optional. Specifies whether the configuration affects only layer 2 EVPN. |
route-map <route-map> | Specifies a route map filter for the IPv6 Type-5 route advertisement. |
Example
- Configure the device to advertise layer 2 EVPN Type-5 IPv6 routes in VRF BLUE and apply route-map map1.
admin@Xorplus# set protocol bgp vrf BLUE l2vpn advertise ipv6 route-map map1 admin@Xorplus# commit