Support Support Downloads Knowledge Base Juniper Support Portal 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

[ScreenOS] How To define the local BGP router ID



Article ID: KB5939 KB Last Updated: 14 Nov 2012Version: 4.0
This article provides information on how to defin the local BGP router ID.
  • Unable to define the local BGP router ID.

  • How to define the local BGP router ID.


  • NetScreen firewall

  • ScreenOS

Applicable Products:

Firewalls ISG/NS/SSG Series

Applicable ScreenOS version:

All ScreenOS versions.


By default, the local BGP router ID is dynamically assigned by using the highest IP address of the all the interfaces on the current NetScreen device. To define it, use the set vrouter router-id x.x.x.x command via the CLI. For example:

ns500-> set vrouter untrust-vr router-id

To check it, type get protocol bgp at the Virtual Router domain level or get vr untrust protocol bgp at the root level:

ns500(untrust-vr)-> get protocol bgp
Admin State:           enable   
Local Router ID:  <-- LOOK HERE
Local AS number:       10
Hold time:             180
Keepalive interval:    60 = 1/3 hold time, default
Local MED is:          0
Always compare MED:    disable
Local preference:      100
Route Flap Damping:    disable
IGP synchronization:   disable
Route reflector:       disable
Cluster ID:            not set (ID = 0)
Confederation based on RFC 1965
Confederation:         disable (confederation ID = 0)
Member AS:             none
Origin default route:  disable
Ignore default route:  disable

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