Got it

NE40E BGP ipv6 hold timer expired in vpn-instance

Latest reply: Dec 25, 2018 10:07:36 819 4 0 0 0
Issue Description

#

BGP ipv6 configuration on NE40E - V600R009C20SPC600

bgp 65005

  ipv6-family
 vpn-instance INTERNET

  peer 2020:2020:XXXX:A::1 as-number 65000

  peer 2020:2020:XXXX:A::1 timer keepalive 10 hold 180

  peer 2020:2020:XXXX:A::1 route-policy RP-BGP-v6-INEA-1 import

#

Huawei Physical interface:

GigabitEthernet1/1/4 current state : UP

Line protocol current state : DOWN

Link quality grade : GOOD

Description:HUAWEI, GigabitEthernet1/1/4 Interface

Route Port,The Maximum Transmit Unit is 1500

Huawei Subinterface:

GigabitEthernet1/1/4.10 current state : UP

Line protocol current state : UP

Last line protocol up time : 2017-11-27 00:19 UTC+01:00

Link quality grade : GOOD

Description:HUAWEI, GigabitEthernet1/1/4.10 Interface

Route Port,The Maximum Transmit Unit is 1500

 

BGP Session flapping in the logs:

%BGP/3/STATE_CHG_UPDOWN(l)[18]:The status of the peer
2020:2020:XXXX:A::1 changed from ESTABLISHED to IDLE. (InstanceName=INTERNET,
StateChangeReason=Hold Timer Expired)

%BGP/3/STATE_CHG_UPDOWN(l)[19]:The status of the peer
2020:2020:XXXX:A::1 changed from OPENCONFIRM to ESTABLISHED.
(InstanceName=INTERNET, StateChangeReason=Up)

%BGP/3/STATE_CHG_UPDOWN(l)[22]:The status of the peer
2020:2020:XXXX:A::1 changed from ESTABLISHED to IDLE. (InstanceName=INTERNET,
StateChangeReason=Hold Timer Expired)

%BGP/3/STATE_CHG_UPDOWN(l)[24]:The status of the peer
2020:2020:XXXX:A::1 changed from OPENCONFIRM to ESTABLISHED.
(InstanceName=INTERNET, StateChangeReason=Up)

%BGP/3/STATE_CHG_UPDOWN(l)[26]:The status of the peer
2020:2020:XXXX:A::1 changed from ESTABLISHED to IDLE. (InstanceName=INTERNET,
StateChangeReason=Hold Timer Expired)

%BGP/3/STATE_CHG_UPDOWN(l)[28]:The status of the peer
2020:2020:XXXX:A::1 changed from OPENCONFIRM to ESTABLISHED.
(InstanceName=INTERNET, StateChangeReason=Up)

 

transparent.gif Handling Process

 

[NE40E]displ bgp vpnv6 vpn-instance INTERNET peer 2020:2020:XXXX:A::1 verbose

        BGP Peer is 2020:2020:XXXX:A::1,  remote AS 65000

        Type: EBGP link

        BGP version 4,Remote router ID 10.253.33.100

        Update-group ID: 1

        BGP current state: Established, Up for 00h01m01s

        BGP current event:  KATimerExpired

        BGP last  state: OpenConfirm

        BGP Peer Up count:  64

juniper@juniper> show bgp neighbor 2020:2020:XXXX:A::2

Peer: 2020:2020:XXXX:A::2+49287 AS 65005 Local:
2020:2020:XXXX:A::1+179 AS 65000

  Description: IDC-v6-TESTY

  Type: External    State: Established    Flags: <WriteActive>

  Last State: OpenConfirm  

  Last Event: RecvKeepAlive

  Last Error: Hold Timer Expired Error

  Export: [ ipv6-route-filter ] Import: [ IDC-bgp-v6-in ]

  Options:
< Preference LogUpDown AddressFamily PeerAS Refresh>

  Options: <MtuDiscovery>

  Address families configured: inet6-unicast

  Holdtime: 90
Preference: 170

  Number of flaps: 109

Logs from Juniper:

juniper: bgp_read_v4_message:10805: NOTIFICATION received
from 2020:2020:XXXX:A::2 (External AS 65005): code 4 (Hold Timer Expired
Error), socket buffer sndcc: 16255 rcvcc: 0 TCP state: 4, snd_una: 3747744809
snd_nxt: 3747747785 snd_wnd: 32768 rcv_nxt: 737110738 rcv_adv: 737127122, hold
timer out 90s, hold timer remain 59.998002s

juniper: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer
2020:2020:XXXX:A::2 (External AS 65005) changed state from Established to Idle
(event RecvNotify) (instance master)

juniper: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer
2020:2020:XXXX:A::2 (External AS 65005) changed state from OpenConfirm to
Established (event RecvKeepAlive) (instance master)

juniper: bgp_read_v4_message:10805: NOTIFICATION received
from 2020:2020:XXXX:A::2 (External AS 65005): code 4 (Hold Timer Expired
Error), socket buffer sndcc: 16273 rcvcc: 0 TCP state: 4, snd_una: 2817548179
snd_nxt: 2817551155 snd_wnd: 32768 rcv_nxt: 2609362903 rcv_adv: 2609379266,
hold timer out 90s, hold timer remain 59.879083s

juniper: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer
2020:2020:XXXX:A::2 (External AS 65005) changed state from Established to Idle
(event RecvNotify) (instance master)

juniper: RPD_BGP_NEIGHBOR_STATE_CHANGED: BGP peer
2020:2020:XXXX:A::2 (External AS 65005) changed state from OpenConfirm to
Established (event RecvKeepAlive) (instance master)

Juniper has not reported hold timer expired.

Huawei is reporting to juniper: : NOTIFICATION received from
2020:2020:XXXX:A::2 (External AS 65005): code 4 (Hold Timer Expired Error)

The physical interface on juniper:

 

juniper@juniper> show interfaces ae3

Physical interface: ae3, Enabled, Physical link is Up

  Interface index: 131, SNMP ifIndex: 510

  Description: [m0] huawei

  Link-level type: Flexible-Ethernet, MTU: 9192, Speed: 10Gbps,
BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source
filtering: Disabled,

  Flow control: Disabled

  Pad to minimum frame size: Disabled

  Minimum links needed: 1, Minimum bandwidth needed: 1bps

  Device flags   : Present Running

  Interface flags: SNMP-Traps Internal: 0x4000

  Current address: 88:a2:5e:37:b7:c3, Hardware address: 88:a2:5e:37:b7:c3

  Last flapped   : 2017-11-27 00:19 CEST (17w3d 12:38 ago)

  Input rate     : 4208240 bps (2021 pps)

  Output rate    : 12120640 bps (1905 pps)

Sub-interface:

juniper@juniper> show interfaces ae3.240

  Logical interface ae3.240 (Index 485) (SNMP ifIndex 718)

    Description: juniper

    Flags: Up SNMP-Traps 0x4000

VLAN-Tag [ 0x8100.240 ] 

  Encapsulation: ENET2

    Statistics        Packets        pps         Bytes          bps

    Bundle:

        Input :      16236272          4   
2649032673         2344

        Output:      15120248          1   
2161361040         8376

    Adaptive
Statistics:

        Adaptive
Adjusts:          0

        Adaptive
Scans  :          0

      Adaptive Updates:          0

    Protocol inet, MTU: 9170

      Flags:
Sendbcast-pkt-to-re

      Addresses,
Flags: Is-Preferred Is-Primary

        Destination:
192.168.0.0/30, Local: 192.168.0.1, Broadcast: 192.168.0.3

   Protocol inet6, MTU: 9170

     Addresses, Flags: Is-Preferred Is-Primary

        Destination: 2020:2020:XXXX:A::/64, Local: 2020:2020:XXXX:A::1

      Addresses,Flags: Is-Preferred

        Destination:fe80::/64, Local: fe80::8aa2:5e00:f037:b7c3

    Protocol multiservice, MTU: Unlimited

transparent.gif Solution

Changed the MTU to 1500bytes to
match the Huawei side:

GigabitEthernet1/1/4.10 current state : UP

Line protocol current state : UP

Last line protocol up time : 2017-11-27 00:19
UTC+01:00

Link quality grade : GOOD

Description:HUAWEI, GigabitEthernet1/1/4.10
Interface

Route Port,The Maximum Transmit Unit is 1500

After BGP session came UP and no more BGP session flapping
issue anymore.

  • x
  • convention:

xiaomumu
Created Dec 24, 2018 01:49:03

This post was last edited by xiaomumu at 2018-12-27 02:31. The NE40E BGP ipv6 keeps the timer expired in vpn-instance, which is a good case list
View more
  • x
  • convention:

bahjat1990
Created Dec 24, 2018 15:28:19

Thanks you
View more
  • x
  • convention:

JoneSnow
Created Dec 25, 2018 06:58:09

It's written in detail, but can you illustrate it with specific drawings and projects?
View more
  • x
  • convention:

3li
Created Dec 25, 2018 10:07:36

Thanks you
View more
  • x
  • convention:

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.