1.

Differentiate between hard reset and soft reset in the context of BGP.

Answer»

Following are the differences between hard reset and soft reset in the context of BGP:

BasisHard ResetSoft Reset
GoalThe TCP session with the BGP neighbour is killed by Hard Reset, and it must be restarted. It terminates the TCP connection between the peers, re-establishes the connection with a BGP open message, and resumes normal peer-to-peer message exchanges.

There are TWO types of soft resets:

1. Soft reset with Route refresh: A soft reset with Route refresh allows BGP peers to seek an update without destroying the neighbour relationship.

2. Soft-reconfiguration: Because the route-refresh request is not issued to the BGP neighbour, soft-reconfiguration stores a copy of BGP routes SENT in the BGP update from our peer. 

DirectionThe direction of connection in hard reset can be both in and out.The direction of connection in soft reset is either in or out.
Utilization of memoryIt does not necessitate any additional RAM to store another table.It necessitates more RAM because the router now stores two BGP tables for each neighbour instead of one.
Impact The hard reset has the potential to DRASTICALLY impair network connectivityOnly those prefixes affected by the policy change will be affected by the soft reset.
Use CaseWhen a soft reset fails to resolve the problem, a hard reset should be utilised as a final resort.The soft technique is the most popular and widely employed.
PrerequisiteThere are no requirements for this activity.In soft reset with the Route refresh functionality, both peers MAY be required to provide the Route Refresh capability.
Rate Of Convergence Because processing the entire table takes a lengthy time, it necessitates an extremely long convergence time.Its convergence time is significantly less than that of a hard reset.
Commands Usedclear ip bgp {* | neighbor ip | peer-group}

clear ip bgp {neighbor ip} soft out

clear ip bgp {neighbor ip} soft in 



Discussion

No Comment Found