]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: add [no] bgp snmp traps rfc4273 command
authorFrancois Dumontet <francois.dumontet@6wind.com>
Tue, 29 Aug 2023 15:53:26 +0000 (17:53 +0200)
committerFrancois Dumontet <francois.dumontet@6wind.com>
Tue, 24 Oct 2023 15:16:47 +0000 (17:16 +0200)
commit83ca9a605eb51b675fa19247acf23e93c7abf590
treeeec42debfe3bfbaa07481cbfb4c1eed41d4de4af
parenta681f525b94dce9a0b80b08b68debc6fb361fbad
bgpd: add [no] bgp snmp traps rfc4273 command

There is no cli command to prevent the router to send traps
implemented in the rfc4273. If not done, when introducing
the traps from bgp4v2mib, traps will be send for each of
the two mibs: there will be redundancy in the sent information.

Add a new command:
- [no] bgp snmp traps rfc4273

Using this command will allow or not the notification of
the following traps:
- bgpEstablishedNotification
- bgpBackwardTransNotification

Signed-off-by: Francois Dumontet <francois.dumontet@6wind.com>
bgpd/bgp_snmp.c
bgpd/bgp_snmp.h
bgpd/bgp_snmp_bgp4.c
bgpd/bgp_vty.c
bgpd/bgpd.h
bgpd/subdir.am