To save configuration changes, you must commit changes when the system prompts you.Note
Enable Flowspec on BGP Side
You must enable the address family for propagating the BGP flowspec policy on both the Client and Server
using the following steps:
SUMMARY STEPS
1.
configure
2.
router bgp as-number
3.
address-family { ipv4 | vpnv4 } flowspec
4.
exit
5.
neighbor ip-address
6.
remote-as as-number
7.
address-family { ipv4 } flowspec
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 100
Step 2
Specifies either the IPv4, vpn4 address family and enters
address family configuration submode, and initializes the
global address family for flowspec policy mapping.
address-family { ipv4 | vpnv4 } flowspec
Example:
RP/0/RSP0/CPU0:router(config-bgp)#
address-family ipv4 flowspec
Step 3
Returns the router to BGP configuration mode.exit
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)# exit
Step 4
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)#neighbor
1.1.1.1
Step 5
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
213
Implementing BGP Flowspec
How to Configure BGP Flowspec