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

[EX] SNMP OID's for BGP monitoring



Article ID: KB18282 KB Last Updated: 04 Mar 2017Version: 2.0
How to check the peer identifier, bgp state, local address by using SNMP MIBs.  The bgpPeerTable gives us information about the Peer identifier, bgpstate, local address, Adminstatus, BGP peer state, BGP peer Updates, BGP holddown time, etc.

SNMP OID's for BGP monitoring

From the configuration prompt, execute the below mentioned command to get the snmp values:

Below is a full sample showing how to retrieve identifier, state, admin status, etc.
[edit protocols bgp]
root# run show snmp mib walk bgpPeerTable

root#run snmp mib walk bgppeertable

bgpPeerIdentifier. =
bgpPeerState. = 6
bgpPeerState. = 6
bgpPeerAdminStatus. = 2
bgpPeerNegotiatedVersion. = 4
bgpPeerLocalAddr. =
bgpPeerLocalPort. = 65191
bgpPeerRemoteAddr. =
bgpPeerRemotePort. = 179
bgpPeerRemoteAs. = 10
bgpPeerInUpdates. = 2
bgpPeerOutUpdates. = 0
bgpPeerInTotalMessages. = 84
bgpPeerOutTotalMessages. = 87
bgpPeerLastError. = 06 06
bgpPeerFsmEstablishedTransitions. = 2
bgpPeerFsmEstablishedTime. = 1124
bgpPeerConnectRetryInterval. = 32
bgpPeerHoldTime. = 90
bgpPeerKeepAlive. = 30
bgpPeerHoldTimeConfigured. = 90
bgpPeerKeepAliveConfigured. = 30
bgpPeerMinASOriginationInterval. = 1
bgpPeerMinRouteAdvertisementInterval. = 1
bgpPeerInUpdateElapsedTime. = 1124

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