beautypg.com

27 bgp scan-time, 28 clear ip bgp, Bgp scan – PLANET XGS3-24040 User Manual

Page 525: Time, Clear ip bgp

background image


35-238

35.27 bgp scan-time

Command: bgp scan-time <0-60>

no bgp scan-time [<0-60>]

Function: Set the time interval of the periodical next-hop validation; the “no bgp scan-time [<0-60>]

command restores to the default value.

Parameter: <0-60>: Validation time interval.

Default: Default interval is 60s.

Command Mode: BGP route mode

Usage Guide: Validate the next-hop of BGP route, this command is for configuring the interval of this

check. Set the parameter to 0 if you don’t want to check.

Example:

Switch(config-router)# bgp scan-time 30

35.28 clear ip bgp

Command: clear ip bgp [view ] {<*>|| external|peer-group |}

[] [in [prefix-filter] |out|soft [in|out]]

Function: Clear up BGP links or states.

Parameter: *: all.

: AS number.

: Respectively BGP instance name and peer group name.

: IP address.

: 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 *