show bgp ip flowspec

Displays Border Gateway Protocol flow specification (BGP flowspec) configuration information.

Syntax

show bgp ip flowspec
show bgp ip flowspec attribute-entries
show bgp ip flowspec routes [ asn-number | age | best | detail | local | neighbor | no-best | not-installed-best | summary | vrf vrf-name ]
show bgp ip flowspec summary

Parameters

attribute-entries
Specifes the the display of AS-path attribute-entry information for BGP flowspec.
routes
Specifies the display of route configuration information for BGP flowspec.
asn-number
Displays route information starting from the specified autonomous system number (ASN). The range od from 1 through 4294967295.
age
Displays recently updated route information.
best
Displays information about routes that are selected as best routes.
detail
Displays detailed route information.
local
Displays information about selected local routes.
neighbor
Displays routes from BGP neighbors.
no-best
Displays information about routes that do not have a best path.
not-installed-best
Displays best routes that are not installed in the IP route table.
summary
Displays summary information for BGP flowspec routes.
vrf vrf-name
Displays route information for the specified VRF instance.
summary
Specifies the display of summary information for BGP flowspec.

Modes

Privileged EXEC mode

Usage Guidelines

For a flowspec route (which is a combination of all match components), specify the detail option to display all match components and traffic actions. When the detail option is not specified, traffic-action configuration information is not displayed and only a limited length of match component imformation is displayed for the route.

Examples

The following example shows output from the show bgp ip flowspec routes command.

device# show bgp ip flowspec routes 

Total number of BGP Routes: 1
Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED
       E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH m:NOT-INSTALLED-MULTIPATH
       S:SUPPRESSED F:FILTERED s:STALE
       Flowspec                                                                  MED    LocPrf  Weight Status
1       Dst:91.92.93.0/24 Src:81.82.83.0/24 Protocol:!=56|=34 Port:>=500...      0      100     32768  BL
         AS_PATH:

The following example shows summary information for the show bgp ip flowspec routes command.

device# show bgp ip flowspec routes summary

  Total number of BGP routes (NLRIs) Installed       : 2
  Distinct BGP destination networks                  : 2
  Filtered bgp routes for soft reconfig              : 0
  Routes originated by this router                   : 0
  Routes selected as BEST routes                     : 2
  Routes Installed as BEST routes                    : 2
  BEST routes not installed in IP forwarding table   : 0
  Static routes not installed in IP forwarding table : 0
  Unreachable routes (no IGP route for NEXTHOP)      : 0
  IBGP routes selected as best routes                : 0
  EBGP routes selected as best routes                : 2
  BEST routes not valid for IP forwarding table      : 0