White Papers

Table Of Contents
clear ip bgp
Reset BGP sessions. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting the TCP connection.
Syntax
clear ip bgp * | as-number | ip-address [flap-statistics | soft [in | out]]
Parameters
* Enter an asterisk ( * ) to reset all BGP sessions.
as-number
Enter the AS number to reset all neighbors belonging to that AS. The range is from
0 to 65535 (2 byte), from 1 to 4294967295 (4 byte), or from 0.1 to 65535.65535
(dotted format).
ip-address
Enter an IP address in dotted decimal format to reset all prefixes from that
neighbor.
flap-statistics (OPTIONAL) Enter the keyword flap-statistics to reset the flap statistics on
all prefixes from that neighbor.
soft (OPTIONAL) Enter the keyword soft to configure and activate policies without
resetting the BGP TCP session, that is, BGP Soft Reconfiguration.
NOTE: If you enter the clear ip bgp ip-address soft command,
both inbound and outbound policies are reset.
in (OPTIONAL) Enter the keyword in to activate only inbound policies.
out (OPTIONAL) Enter the keyword out to activate only outbound policies.
Command Modes EXEC Privilege
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Related
Commands
bgp recursive-bgp-next-hop disables next-hop resolution through other routes learned by the BGP.
bgp soft-reconfig-backup turns on BGP Soft Reconfiguration.
clear ip bgp dampening
Clear information on route dampening and return the suppressed route to the Active state.
Syntax
clear ip bgp dampening [ip-address mask]
Parameters
ip-address mask
(OPTIONAL) Enter an IP address in dotted decimal format and the prefix mask in
slash format (/x) to clear dampening information only that BGP neighbor.
Command Modes EXEC Privilege
Supported Modes FullSwitch
Command
History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage
Information
After you enter this command, the software deletes the history routes and returns the suppressed routes
to the Active state.
Border Gateway Protocol IPv4 (BGPv4) 277