BGP and BGP4+ Commands

clear ip bgp * (BGP)

Use this command to reset all BGP connections, either by fully resetting sessions or by performing soft resets. If VRF-Lite is configured, you can reset BGP connections for all VRF instances or for a specified VRF instance.

Syntax clear ip bgp * clear ip bgp * in clear ip bgp * out

clear ip bgp * soft [inout] clear ip bgp * in [prefix-filter]

Syntax [VRF] clear ip bgp * [vrf <vrf-name>] clear ip bgp * [vrf <vrf-name>] in clear ip bgp * [vrf <vrf-name>] out

clear ip bgp * [vrf <vrf-name>] soft [inout] clear ip bgp * in [prefix-filter]

 

Parameter

Description

 

 

 

*

Clears all bgp peers.

 

 

 

 

in

Indicates that incoming advertised routes will be cleared.

 

 

 

 

prefix-filter

Specifies that a prefix-list will be sent, by the ORF mechanism, to

 

 

those neighbors with which the ORF capability has been

 

 

negotiated. The neighbors will be triggered to resend updates,

 

 

which match the prefix-list filter, to the local router. The local

 

 

router will then perform a soft reconfiguration.

 

 

 

 

out

Indicates that outgoing advertised routes will be cleared.

 

 

 

 

soft in

Soft inbound reset causes the neighbors to resend all their

 

 

updates to the local switch, without resetting the connection or

 

 

clearing the entries in the local switch. So, the local switch stores

 

 

new updates, and uses them to systematically replace existing

 

 

table entries. This process can use a considerable amount of

 

 

memory.

 

 

 

 

soft out

Soft outbound reset causes the switch to simply resend all its

 

 

updates to the specified neighbor(s), without resetting the

 

 

connection, or clearing table entries.

 

 

 

 

vrf

Applies the command to the specified VRF instance.

 

 

 

 

<vrf-name>

The name of the VRF instance.

 

 

 

Mode Privileged Exec

 

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.50

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 148
Image 148
Allied Telesis BGP4, VERSION 5.4.3-2.6 manual Clear ip bgp * BGP, Vrf