Clearing traffic counters, Clearing route flap dampening statistics – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 137

Multi-Service IronWare Routing Configuration Guide
109
53-1003033-02
Filtering
You can specify a single neighbor or a peer group.
To close a neighbor session and thus flush all the routes exchanged by the device and the neighbor,
enter the following command.
Brocade# clear ip bgp neighbor all
Syntax: clear ip bgp neighbor all | ip-addr | peer-group-name | as-num [soft-outbound | soft [in |
out]]
The all | ip-addr | peer-group-name | as-num parameters specify the neighbor. The ip-addr
parameter specifies a neighbor by its IP interface with the device. The peer-group-name specifies
all neighbors in a specific peer group. The as-num parameter specifies all neighbors within an AS
and has a range of 1 – 4294967295. The all keyword specifies all neighbors.
To resend routes to a neighbor without closing the neighbor session, enter a command such as the
following.
Brocade# clear ip bgp neighbor 10.0.0.1 soft out
Clearing and resetting BGP4 routes in the IP route table
To clear BGP4 routes from the IP route table and reset the routes, enter a command such as the
following.
Brocade# clear ip bgp routes
Syntax: clear ip bgp routes [ip-addr/prefix-length]
Clearing traffic counters
You can clear the counters (reset them to 0) for BGP4 messages.
To clear the BGP4 message counter for all neighbors, enter the following command.
Brocade# clear ip bgp traffic
Syntax: clear ip bgp traffic
To clear the BGP4 message counter for a specific neighbor, enter a command such as the
following.
Brocade# clear ip bgp neighbor 10.0.0.1 traffic
To clear the BGP4 message counter for all neighbors within a peer group, enter a command such
as the following.
Brocade# clear ip bgp neighbor PeerGroup1 traffic
Syntax: clear ip bgp neighbor all | ip-addr | peer-group-name | as-num traffic
The all | ip-addr | peer-group-name | as-num parameters specify the neighbor. The ip-addr
parameter specifies a neighbor by its IP interface with the device. The peer-group-name specifies
all neighbors in a specific peer group. The as-num parameter specifies all neighbors within the
specified AS. The all parameter specifies all neighbors.
Clearing route flap dampening statistics
Clearing the dampening statistics for a route does not change the dampening status of the route.