
Purpose
Command or Action
Enters the flowspec configuration mode.
flowspec
Example:
Step 2
RP/0/RP0/CPU0:router(config)# flowspec
(Optional) Installs the flowspec policy on all interfaces.
local-install interface-all
Example:
Step 3
RP/0/RP0/CPU0:router(config-flowspec)#
local-install interface-all
Specifies either an IPv4 address family and enters address
family configuration submode.
address-family ipv4
Example:
Step 4
RP/0/RP0/CPU0:router(config-flowspec)#
address-family ipv4
(Optional) Installs the flowspec policy on all interfaces
under the subaddress family.
local-install interface-all
Example:
Step 5
RP/0/RP0/CPU0:router(config-flowspec-af)#
local-install interface-all
Attaches a policy map to an IPv4 interface to be used as the
service policy for that interface.
service-policy type pbr policy-name
Example:
Step 6
RP/0/RP0/CPU0:router(config-flowspec-af)#
service-policy type pbr policys1
commit
Step 7
Returns the router to flowspec configuration mode.
exit
Example:
Step 8
RP/0/RP0/CPU0:router(config-flowspec-vrf-af)# exit
(Optional) Displays flowspec policy applied on an interface.
show flowspec
{
afi-all
|
client
|
ipv4
|
summary
|
vrf
Step 9
Example:
RP/0/RP0/CPU0:routershow flowspec vrf vrf1 ipv4
summary
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
117
Implementing BGP Flowspec
Link BGP Flowspec to ePBR Policies