clear ip bgp

Reset BGP sessions. The soft parameter (BGP Soft Reconfiguration) clears the policies without resetting the TCP connection.

S6000

Syntax

Parameters

clear ip bgp [vrf vrf-name] [* <1–4294967295> <0.1– 65535.65535> A.B.C.D {soft {in out}} X:X:X:X::X {soft {in

out}} dampening flap-statistics ipv4 ipv6 peer- group]

vrf vrf-name

Enter the keyword vrf and then the name of the VRF to

 

clear all BGP sessions corresponding to that VRF.

 

NOTE: Use this attribute to clear a BGP instance

 

corresponding to either a specific address family in a

 

default VRF or an IPv4 address family in a a non-default

 

VRF.

*

Enter an asterisk ( * ) to reset all BGP sessions.

<1-429496729

Enter <1-4294967295> to clear peers with the AS number.

5>

 

<0.1-65535.65

Enter <0.1-65535.65535> to clear peers with the AS number

535>

in dot format.

A.B.C.D

Enter the BGP neighbor address in the A.B.C.D format to

 

clear.

X:X:X:X::X

Enter the BGP neighbor address in the X:X:X:X::X format to

 

clear.

soft

(OPTIONAL) Enter the keyword soft to configure and

 

activate policies without resetting the BGP TCP session, that

 

is, BGP Soft Reconfiguration.

 

NOTE: If you enter the clear ip bgp ip-address

 

soft command, both inbound and outbound policies

 

are reset.

in

(OPTIONAL) Enter the keyword in to activate only inbound

 

policies.

out

(OPTIONAL) Enter the keyword out to activate only

 

outbound policies.

 

NOTE: You must execute the clear ip bgp soft

 

out command when ever there is a change in the local

 

policy. If you do not run this command after a local

 

policy change, then these policy changes are not

 

reflected in the responses to the peer’s route refresh

 

messages.

362

Border Gateway Protocol

Page 362
Image 362
Dell 9.7(0.0) manual Clear ip bgp, 429496729, 65535.65