[j-nsp] bgp peer flapping

adamv0025 at netconsultings.com adamv0025 at netconsultings.com
Thu Apr 27 12:11:18 EDT 2017


Hi Alexandre,

To prove that it's not happening in 15.1 I'd need the following simple test
to be done with no session reset:

show protocols bgp group test | display set 
set protocols bgp group test type external
set protocols bgp group test family inet unicast
set protocols bgp group test export TEST_POLICY_1
set protocols bgp group test peer-as 64512
set protocols bgp group test neighbor 1.1.1.1 export TEST_POLICY_2
set protocols bgp group test neighbor 2.2.2.2 export TEST_POLICY_2

run show bgp summary | match "1.1.1.1|2.2.2.2"    
1.1.1.1               64512          0          0       0       0
1:25 Idle  <<<same time
2.2.2.2               64512          0          0       0       0
1:25 Idle  <<<same time


run show bgp group test 
Group Type: External                               Local AS: 1234
  Name: test            Index: 4                   Flags: <>
  Export: [ TEST_POLICY_2 ] 
  Holdtime: 0
  Total peers: 2        Established: 0
  1.1.1.1
  2.2.2.2
  Trace options:  all
  Trace file: /var/log/bgp-trace size 131072 files 10

  
delete protocols bgp group test neighbor 1.1.1.1 export TEST_POLICY_2 
commit

show protocols bgp group test | display set

set protocols bgp group test type external
set protocols bgp group test family inet unicast
set protocols bgp group test export TEST_POLICY_1
set protocols bgp group test peer-as 64512
set protocols bgp group test neighbor 1.1.1.1
set protocols bgp group test neighbor 2.2.2.2 export TEST_POLICY_2

run show bgp summary | match "1.1.1.1|2.2.2.2"

1.1.1.1               64512          0          0       0       0
25 Idle  <<<session when I commited the change
2.2.2.2               64512          0          0       0       0
3:30 Idle 

- This is due to split as seen below:

run show bgp group test 
Group Type: External                               Local AS: 1234
  Name: test            Index: 4                   Flags: <>
  Export: [ TEST_POLICY_2 ] 
  Holdtime: 0
  Total peers: 1        Established: 0
  2.2.2.2
  Trace options:  all
  Trace file: /var/log/bgp-trace size 131072 files 10

Group Type: External                               Local AS: 1234
  Name: test            Index: 5                   Flags: <>
  Export: [ TEST_POLICY_1 ] 
  Holdtime: 0
  Total peers: 1        Established: 0
  1.1.1.1
  Trace options:  all
  Trace file: /var/log/bgp-trace size 131072 files 10
  
  


adam

netconsultings.com
::carrier-class solutions for the telecommunications industry::




More information about the juniper-nsp mailing list