Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How do I clear a BGP session in ScreenOS?

0

0

Article ID: KB11973 KB Last Updated: 30 May 2019Version: 4.0
Summary:

How to perform both a hard and soft reset of a BGP session in ScreenOS.

Symptoms:
Symptoms:
  • Changes to BGP route map or access-list need to be applied
  • Peer is not being updated with new routes
Solution:

Whenever a change is made in BGP, whether it be a route map change, access-list, community list, etc., the BGP session needs to be reset in order for the config change to take effect. 


In ScreenOS release 5.3 and later, this can be done via a 'soft reset'.  In a 'soft reset', a refresh is performed and the BGP TCP connection remains established.  See below for an example on how to perform a BGP soft reset:

clear vrouter <vrouter> protocol bgp neighbor <neighbor IP> soft-in/soft-out

Note:  The 'soft-in' option means you're accepting changes in-bound from the peer device.  The 'soft-out' option means you're applying changes out-bound to the peer device.

 

Prior to ScreenOS release 5.3, any changes would only take affect after a hard reset.    With a 'hard reset', the BGP TCP connection is broken and then reestablished.  There are two ways to perform a hard reset in ScreenOS.  See below for examples:

unset/set vrouter <vrouter> protocol bgp neighbor <neighbor IP> enable

OR

exec vrouter <vrouter> protocol bgp neighbor <neighbor IP> disconnect/connect

 

 

Modification History:
2019-05-22: Content reviewed for accuracy

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search