Clear commands

damping

Syntax

damping [[ip-prefix/ip/mask] [neighbor ip-address]] | [group name]

Context

clear>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears or resets the route damping information for received routes.

Parameters

ip-prefix/mask

Clears damping information for entries for the specified IP address.

Values

ipv4-prefix:

a.b.c.d (host bits must be 0)

ipv4-prefix-length:

0 to 32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

ipv6-prefix-length:

0 to 128

ip-address

Clears damping information for entries received from the BGP neighbor.

Values

a.b.c.d

group name

Clears damping information for entries received from any BGP neighbors in the peer group, up to 32 characters.

flap-statistics

Syntax

flap-statistics [[ip-prefix/mask] [neighbor ip-address]] | [group group-name] | [regex reg-exp] | [policy policy-name]

Context

clear>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears route flap statistics.

Parameters

ip-prefix/mask

Clears route flap statistics for entries that match the specified IP address.

Values

ip-prefix:

a.b.c.d (host bits must be 0)

mask:

0 to 32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x: [0 to FFFF]H

d: [0 to 255]D

ipv6-prefix-length:

0 to 128

ip-address

Clears route flap statistics for entries received from the specified BGP neighbor.

Values

a.b.c.d

group group-name

Clears route flap statistics for entries received from any BGP neighbors in the specified peer group, up to 32 characters.

regex reg-exp

Clears route flap statistics for all entries which have the regular expression and the AS path that matches the regular expression, up to 80 characters.

policy policy-name

Clears route flap statistics for entries that match the specified route policy, up to 32 characters.

neighbor

Syntax

neighbor {ip-address | as as-number | external | all} [soft | soft-inbound]

neighbor{ip-address | as as-number | external | all} statistics

neighbor ip-address end-of-rib

Context

clear>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command resets the specified BGP peers. This can cause existing BGP connections to be shut down and restarted.

Parameters

ip-address

Resets the BGP neighbor with the specified IP address.

Values

ipv4-address: a.b.c.d

as as-number

Resets all BGP neighbors with the specified peer AS.

Values

1 to 65535

external

Keyword to reset all eBGP neighbors.

all

Keyword to reset all BGP neighbors.

soft

The specified BGP neighbors reevaluate all routes in the Local-RIB against the configured export policies.

soft-inbound

The specified BGP neighbors reevaluate all routes in the RIB-In against the configures import policies.

statistics

Keyword to clear the BGP neighbor statistics.

end-of-rib

Keyword to clear the Routing Information Base (RIB).

protocol

Syntax

protocol

Context

clear>router>bgp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command resets the entire BGP protocol.