Before configuring distribution, complete
the following tasks:
-
From privileged EXEC mode,
enter global configuration mode.
device# configure terminal
-
Enable BGP and enter BGP configuration mode.
device(config)# router bgp
-
Enter BGP address-family IPv4 flowspec configuration mode.
device(config-bgp-router)# address-family ipv4 flowspec
-
Distribute a route map that is already configured with the BGP flowspec rules.
device(config-bgp-ipv4fs)# distribute flowspec-map
This example shows how to distribute a route map named flowspec-map under the
BGP flowspec IPv4 address family.
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