BGP distributes flowspec rules when a route map that is configured with flowspec rules is passed to BGP for advertisement by BGP neighbors.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv4 flowspec
device(config-bgp-ipv4fs)# distribute flowspec-map
The following example summarizes the commands in this task.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 flowspec device(config-bgp-ipv4fs)# distribute flowspec-map