clear bgp ip flowspec neighbor

Removes and re-installs Border Gateway Protocol flow specification (BGP flowspec) information for BGP neighbors.

Syntax

clear bgp ip flowspec neighbor { asn-number | ip-address | peer-group | dynamic |all } [ soft ] [ soft-outbound ] [ vrf vrf-name ]

Parameters

asn-number
Specifies the autonomous system number of the neighbors.
ip-address
Specifies a neighbor IP address in IPv4 format.
peer-group
Specifies a neighbor peer group.
dynamic
Specifies dynamic BGP flowspec neighbors.
all
Clears all BGP flowspec neighbors.
soft
Causes a soft reconfiguration.
soft-outbound
Causes a soft reconfiguration and advertisement only of updated routes.
vrf vrf-name
Specifies a neighbor VRF instance.

Modes

Privileged EXEC mode

Examples

This example shows how to refresh BGP flowspec information for all BGP flowspec neighbors.

device# clear bgp ip flowspec neighbor all

2018/10/12-00:37:02, [BGP-1006], 96176,, INFO, Avalanche-P6,  BGP: 10.50.50.254 DOWN (User Reset Peer Session).
2018/10/12-00:37:02, [BGP-1006], 96177,, INFO, Avalanche-P6,  BGP: 10.51.51.254 DOWN (User Reset Peer Session).
2018/10/12-00:37:13, [BGP-1005], 96178,, INFO, Avalanche-P6,  BGP: 10.50.50.254 UP (ESTABLISHED).
2018/10/12-00:37:13, [BGP-1005], 96179,, INFO, Avalanche-P6,  BGP: 10.51.51.254 UP (ESTABLISHED).
This example shows how to clear all dynamic BGP flowspec neighbors.
device# clear bgp ip flowspec neighbor dynamic all