distribute

Enables advertisement of Border Gateway Protocol flow specification (BGP flowspec) rules that are configured under a route map.

Syntax

distribute route-map-name
no distribute route-map-name

Command Default

The advertisement of BGP flowspec rules is disabled.

Parameters

route-map-name
Name of a route map that is configured with the flowspec rules to be advertised.

Modes

BGP address-family IPv4 flowspec configuration mode

Usage Guidelines

The no form of the command disables advertisement of BGP flowspec rules.

Examples

The following example shows how to enable advertisement of flowspec rules configured under a route map named route_map_flowspec1 for the IPv4 address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv4 flowspec
device(config-bgp-ipv4fs)# distribute route_map_flowspec1