
195
Command:
clear ip bgp [<ADDRESS-FAMILY>] flap-statistics
[<ip-address>|<ip-address/M>]
Function:
For resetting BGP routing dampening statistics messages.
Parameter: <ADDRESS-FAMILY>
: address-family such as “ipv4 unicast”.
<ip-address/M>
: IP address and mask.
Default:
None.
Command Mode:
Admin mode.
Usage Guide:
It is possible to clear BGP routing dampening statistic messages and state by
different parameters (such as address-family or IPv4 address).
Example:
Switch#clear ip bgp ipv4 unicast flap-statistics
1.8.3.30 distance
Command: distance <1-255> <ip-address/M> [<WORD>]
no distance <1-255> <ip-address/M> [<WORD>]
Function:
Set the manage distance of the routing prefix. The “
no distance <1-255>
<ip-address/M> [<WORD>]
” command restores to the default value.
Parameter: <1-255>
: Manage distance.
<ip-address/M>
: Routing prefix.
<WORD>
: Access-list name.
Default:
Not set.
Command Mode:
BGP route mode.
Usage Guide:
Set the manage distance for specified BGP route as the path selecting basis.
Example:
Switch(config-router)# distance 90 10.1.1.64/32
1.8.3.31 distance bgp
Command: distance bgp <1-255> <1-255> <1-255>
no distance bgp [<1-255> <1-255> <1-255>]
Function:
Set the BGP protocol manage distance. The “
no distance bgp [<1-255> <1-255>
<1-255>]
” command restores the manage distance to default value.
Parameter:
Respectively the EBGP, IBGP and LOCAL manage distance of the BGP
Default:
Default EBGP is 20, others are 200.
Command Mode:
BGP route mode.
Usage Guide:
Set the manage distance for BGP routing as the NSM path selecting basis.
Example:
Switch(config-router)# distance bgp 15 150 150