
194
this check. Set the parameter to 0 if you don’t want to check.
Example:
Switch(config-router)# bgp scan-time 30
1.8.3.27 clear ip bgp
Command:
clear ip bgp
[view
<NAME>] {<*>|<as-id>| external|peer-group
<NAME>|<ip-address>} [<ADDRESS-FAMILY>] [in [prefix-filter] |out|soft [in|out]]
Function:
Clear up BGP links or states.
Parameter:
all.
<as-id>
: AS number.
<NAME>
: Respectively BGP instance name and peer group name.
<ip-address>
: IP address.
<ADDRESS-FAMILY>
: Address family, such as “ipv4 unicast”.
Default:
None.
Command Mode:
Admin mode.
Usage Guide:
Clearing up BGP state in different parameters (such as AS number, peer group
name, IPv4 address, address-family, external neighbor), or the inbound or outbound messages.
Also it is optional to use the saved ORF as soft reconfiguration, or use the soft in|out commands
for in or out soft reconfiguration if it is already set.
Example:
When soft reconfiguration is set, use this command for soft reconfiguration.
Switch# clear ip bgp * soft in
Will clear up all established connections.
Switch# clear ip bgp *
1.8.3.28 clear ip bgp dampening
Command: clear ip bgp [<ADDRESS-FAMILY>] dampening [<ip-address>|<ip-address/M>]
Function:
Used for resetting BGP routing dampening.
Parameter: <ADDRESS-FAMILY>
: address-family, such as “ipv4 unicast”.
<ip-address>
: IP address.
<ip-address/M>
: IP address and mask.
Default:
None.
Command Mode:
Admin mode.
Usage Guide:
It is possible to clear BGP routing dampening messages and state by different
parameters (such as address-family or IPv4 address).
Example:
Switch#clear ip bgp ipv4 unicast dampening
1.8.3.29 clear ip bgp flap-statistics