Got it

How to check a BGP neighbors in vpn-instances by SNMP.

Latest reply: Dec 27, 2018 01:49:20 2359 13 10 0 0

Issue Description

software version:V800R009C10SPC200


Customer wan’s to check by SNMP all BGP peers, including peers in VPN-instances (in yellow ).

Right now he uses OID 1.3.6.1.2.1.15.3.1.2 , and that OID returns only last two peers (green color).

<br2.z20>display bgp vpnv4 all peer

BGP local router ID : 10.20.255.130

Local AS number : 44386

Total number of peers : 5                 Peers in established state : 5

 

 Peer of IPv4-family for vpn instance :

 VPN-Instance INTERNET, Router ID 10.20.255.130:

 Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv

 10.20.255.129   4       65321   232869   217061     0 3147h49m Established        2

 81.211.78.21    4        3216 11367450   124590     0 1806h32m Established     1329

 VPN-Instance INTRANET, Router ID 10.20.255.130:

 Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv

 10.20.255.129   4       65321   235791   229054     0 3144h21m Established      430

 198.18.150.6    4       44386    47010    48505     0 0674h02m Established      344

 198.18.150.13   4       44386   258080   293310     0 0673h01m Established      344

<br2.z20>display bgp peer

BGP local router ID : 10.20.255.130

Local AS number : 44386

Total number of peers : 2                 Peers in established state : 1

 Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv

 10.20.255.129   4       65321   429984   233069     0 3379h15m Established        6

 81.211.78.21    4        3216        0        0     0 3312h34m        Idle        0

transparent.gif Handling Process

refer to product document and reproduce the issue in label.

#

ipv4-family vpn-instance ABIS_DASN_BSC_01

 network 0.0.0.0 route-policy default-route-prefer-value

 peer 1.1.1.99 as-number 100

 peer 1.1.1.149 as-number 100

#

[~139.100-CX-bgp-ABIS_DASN_BSC_01]disp bgp vpnv4 vpn-instance ABIS_DASN_BSC_01 peer

BGP local router ID : 1.1.1.100

Local AS number : 100

VPN-Instance ABIS_DASN_BSC_01, Router ID 1.1.1.100:

Total number of peers : 2                 Peers in established state : 0

 Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State  PrefRcv

 1.1.1.99        4         100        0        0     0 00:03:01      Active        0

 1.1.1.149       4         100        0        0     0 00:11:00      Active        0

C:\usr\bin>snmpwalk.exe -c Huawei@123 -v2c 189.46.139.100 1.3.6.1.4.1.2011.5.25.

177.1.1.1.1.6

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.0.1.1.1.4.1.1.1.99 = STRING: "Pu

blic"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.0.1.1.1.4.1.1.1.149 = STRING: "P

ublic"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.0.1.1.1.4.12.0.0.1 = STRING: "Pu

blic"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.0.1.128.1.4.1.1.1.103 = STRING:

"VPNV4"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.0.1.128.1.4.1.1.1.149 = STRING:

"VPNV4"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.1.1.6.1.1.1.1.4.1.1.1.149 = STRING: "A

BIS_DASN_BSC_01"

C:\usr\bin>snmpwalk.exe -c Huawei@123 -v2c 189.46.139.100 1.3.6.1.4.1.2011.5.25.

177.1.1.2.1.4

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.0.1.1.1.4.1.1.1.99 = STRING: "1.

1.1.99"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.0.1.1.1.4.1.1.1.149 = STRING: "1

.1.1.149"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.0.1.1.1.4.12.0.0.1 = STRING: "12

.0.0.1"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.0.1.128.1.4.1.1.1.103 = STRING:

"1.1.1.103"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.0.1.128.1.4.1.1.1.149 = STRING:

"1.1.1.149"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.1.1.1.1.4.1.1.1.99 = STRING: "1.

1.1.99"

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.4.1.1.1.1.4.1.1.1.149 = STRING: "1

.1.1.149"

C:\usr\bin>snmpwalk.exe -c Huawei@123 -v2c 189.46.139.100 1.3.6.1.4.1.2011.5.25.

177.1.1.2.1.5

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.0.1.1.1.4.1.1.1.99 = INTEGER: 3

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.0.1.1.1.4.1.1.1.149 = INTEGER: 3

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.0.1.1.1.4.12.0.0.1 = INTEGER: 6

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.0.1.128.1.4.1.1.1.103 = INTEGER:

6

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.0.1.128.1.4.1.1.1.149 = INTEGER:

3

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.1.1.1.1.4.1.1.1.99 = INTEGER: 3

SNMPv2-SMI::enterprises.2011.5.25.177.1.1.2.1.5.1.1.1.1.4.1.1.1.149 = INTEGER: 3


transparent.gif Solution

It is an inquiry issue and sends the right OID to the customer, for details OID please refer below:


http://support.huawei.com/hedex/pages/EDOC100017018231189709/03/EDOC100017018231189709/03/resources/software/nev8r9_vrpv8r15/user/en-us_topic_0097924040.html?ft=0&fe=10&hib=8.5.10.2.1.3.1&id=EN-US_TOPIC_0097924040&text=hwBgpPeerAddrFamilyTable&docid=EDOC1000170182


  • x
  • convention:

Mark.hu
Created Oct 27, 2018 07:58:39

This post was last edited by Mark.hu at 2018-10-30 09:03. BGP is a very difficult agreement for me. I have a lot of questions about this, so I can't understand your solution. Can you share it with me when you encounter this problem? When you When you encounter this problem, where is your first thought, how should you operate it?
View more
  • x
  • convention:

Finn92
Created Oct 27, 2018 07:58:50

This post was last edited by Finn92 at 2018-10-31 08:55.

and hope you know below basic inforamtion :

 

Roles in Transmitting BGP Messages

Speaker: The device that sends BGP messages is called a BGP speaker. The speaker receives or generates new routing information, and then advertises the routing information to other BGP speakers. When receiving a new route from another AS, a BGP speaker compares the route with the current route. If the route takes precedence over the existing route, or the route is new, the speaker advertises this route to all other BGP speakers except the BGP speaker that sent this route.

Peer: BGP speakers that exchange messages with each other are called peers. Multiple peers compose a peer group.

 

View more
  • x
  • convention:

GongXiaochuan
Created Oct 27, 2018 07:58:50

This post was last edited by GongXiaochuan at 2018-10-30 06:44.

using SNMP to read the device MIB OID to collect information , some OID should be secure, cannot provide without sign the NDA

View more
  • x
  • convention:

littlestone
Created Oct 27, 2018 07:59:51

This post was last edited by littlestone at 2018-10-30 01:43.

802.1x access authentication, MAC access authentication, portal authentication can support the wired users and WLAN wireless access users to authenticate, and PSK certification, WAPI certificate authentication is specifically for WLAN wireless users to provide a way to certification

View more
  • x
  • convention:

yangyong
Created Oct 27, 2018 08:01:51

This post was last edited by yangyong at 2018-10-31 07:07. check a BGP neighbors in vpn-instances by SNMP. The RMS-SNMP01A is an optional communications card which is designed for the
UPS2000-G-(6 kVA–20 kVA) and UPS2000-A-(6 kVA–10 kVA) series.
In this document, Simple Network Management Protocol (SNMP) card is short for
RMS-SNMP01A.
View more
  • x
  • convention:

Skay
Created Oct 27, 2018 08:02:06

  • x
  • convention:

SupperRobin
Created Oct 27, 2018 08:02:55

This post was last edited by SupperRobin at 2018-10-31 06:13.

bgpPeerConnectRetryInterval: When you modify the value of this object, the value cannot exceed the upper and lower limits, that is, from 1 to 65535, The recommended value is 120.bgpPeerHoldTimeConfigured: When you modify the value of this object, the value must be more than 3. The recommended value is 90.bgpPeerKeepAliveConfigured: Its value depends on the value of bgpPeerHoldTimeConfigured. The value cannot exceed one third of the value of bgpPeerHoldTimeConfigured. The recommended value is 30.

bgpPeerMinASOriginationInterval and bgpPeerMinRouteAdvertisementInterval: The values of the two objects depend on the value range (from 0 to 600) implemented through command lines.

View more
  • x
  • convention:

No.9527
Created Oct 27, 2018 08:06:57

This post was last edited by No.9527 at 2018-10-31 03:45.

BGP is an inter-AS dynamic routing protocol. BGP running within an AS is called Internal BGP (IBGP), and BGP running between ASs is called External BGP (EBGP).

Whether to apply BGP to routing information transmission between ASs depends on the following conditions:

  • If at least one of the following conditions is met, BGP can be used:

    • Data packets are allowed to be transmitted from one AS to another AS.

    • Multiple connections to external ISPs and Internet exist in ASs.

    • Data flows entering or leaving ASs must be controlled.

  • If one of the following conditions is met, BGP does not need to be used:

    • Users are connected to only one ISP network.

    • The ISP does not need to provide Internet access services for users.

    • ASs adopt default routes between each other.

View more
  • x
  • convention:

faysalji
Author Created Oct 27, 2018 17:21:43

Thanks for sharing the case
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.