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 To: Test BGP peer tcp connection

0

0

Article ID: KB5934 KB Last Updated: 02 Jul 2010Version: 3.0
Summary:
How To: Test BGP peer tcp connection
Symptoms:
NetScreen-500 ScreenOS 4.0.0r3 EBGP connection
Solution:

In order to test BGP peer connection, use the "exec vrouter protocol bgp neighbor x.x.x.x tcp-connect" command.

Example:

step1)
ns500-> exec vrouter untrust-vr protocol bgp neighbor 10.1.1.2 tcp-connect
open socket 12
connecting to 10.1.1.2 @ port 179 via socket 12
please wait as this may take a while.
failed to connect to 10.1.1.2 @ port 179 via socket 12
close socket 12

NOTE: If the BGP connection status is ESTABLISH, this test will fail.

step2)
ns500-> exec vrouter untrust-vr protocol bgp neighbor 10.1.1.2 disconnect
start to close the connection

step3)
ns500-> exec vrouter untrust-vr protocol bgp neighbor 10.1.1.2 tcp-connect
open socket 13
connecting to 10.1.1.2 @ port 179 via socket 13
please wait as this may take a while.
successfully connected to 10.1.1.2 @ port 179 via socket 13
close socket 13

Here is the problem or goal:

  • How to test BGP peer tcp connection

Problem Environment:

  • NetScreen-500
  • ScreenOS 4.0.0r3
  • EBGP connection

Applicable Products:

  • NetScreen-5XT
  • NetScreen-25
  • NetScreen-50
  • NetScreen-100
  • NetScreen-204
  • NetScreen-208
  • NetScreen- 500
  • NetScreen-5200

Applicable ScreenOS:

  • 4.0.0


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