21 clear bgp, 22 clear bgp a.b.c.d|x:x::x:x – CANOGA PERKINS 9175 Command Reference User Manual

Page 259

Advertising
background image

CanogaOS Command Reference

16-14

TIME= <0-60> Scanning interval in seconds. The default scanning interval is 60 seconds.

Command Mode

Router mode

Usage

Use this command to configure scanning intervals of BGP routers. This interval is the period after which router

checks the validity of the routes in its database.

To disable BGP scanning, set the scan time interval to 0 seconds.

Examples

Switch# configure terminal

Switch(config) router bgp 100

Switch(config-router) bgp scan-time 10

16.21 clear bgp *

Use this command to reset the BGP connection for all peers.

Command Syntax

clear bgp * (IN|out|SOFT)

clear bgp ipv6 * (IN|out|SOFT)

* = Clears all bgp peers

IN = in (prefix-filter)

in = Indicates that incoming advertised routes will be cleared.

prefix-filters = Pushes out prefix-list ORF and does inbound soft reconfiguration.

out = Indicates that outgoing advertised routes will be cleared.

SOFT = soft (in|out) Indicates that both incoming and outgoing routes will be cleared.

Command Mode

Privileged Exec mode

Examples

Switch# clear bgp * soft in

Switch# clear bgp ipv6 * in prefix-filter

16.22 clear bgp A.B.C.D|X:X::X:X

Use this command to reset the BGP connection for specified peers.

Command Syntax

clear bgp A.B.C.D|X:X::X:X (IN|out|SOFT)

Advertising