<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">I am in the initial build stages of a BIRD deployment for route control and black holing.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I built a couple functions that display the protocol info, etc.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">When I add a route in the Ubuntu command line, I get this:</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">[ UBUNTU CLI ]</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default"><font face="tahoma, sans-serif">$ sudo ip route add blackhole x.x.x.x/32 protocol LOCAL realm 1020 scope Internet table 120</font><br></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default" style="font-family:tahoma,sans-serif">[ SYSLOG - KERNEL IMPORT ]</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default"> ** Kernel || Import **</div><div class="gmail_default"> ** Protocol:             kernel_TEST</div><div class="gmail_default"> ** Distribution:         Local</div><div class="gmail_default"> ** Control Type:         Internet</div><div class="gmail_default"> ** Realm Name:           Test Lab</div><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default"> ** Source:               RTS_INHERIT</div><div class="gmail_default"> ** Destination:          RTD_BLACKHOLE</div><div class="gmail_default"> ** Scope:                SCOPE_UNIVERSE</div><div class="gmail_default"> ** Cast:                 RTC_UNICAST</div><div class="gmail_default"> ** Network:              x.x.x.x/32</div><div class="gmail_default"> ** Network Length:       32</div><div class="gmail_default"> ** Preference:           10</div><div class="gmail_default"> ** From:                 x.x.x.x</div><div class="gmail_default"> ** Gateway:              0.0.0.0</div><div class="gmail_default"> ** Protocol:             kernel_TEST</div><div class="gmail_default"> ** ifname:</div><div class="gmail_default"> ** ifindex:              0</div><div class="gmail_default"> ** Metric:               (void)</div><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default"> ** krt_source:           200</div><div class="gmail_default"> ** krt_metric:           0</div><div class="gmail_default"> ** krt_prefsrc:          (void)</div><div class="gmail_default"> ** krt_realm:            1020</div><div class="gmail_default"> ** krt_scope:            111</div><div class="gmail_default"> =`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div></div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">​[ SYSLOG - BGP EXPORT ]</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** BGP || Export **</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Protocol:             kernel_TEST</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Control Type:         Internet</div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Source:               RTS_INHERIT</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Destination:          RTD_BLACKHOLE</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Scope:                SCOPE_UNIVERSE</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Cast:                 RTC_UNICAST</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Network:              x.x.x.x/32</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Network Length:       32</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Preference:           10</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** From:                 x.x.x.x</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Gateway:              0.0.0.0</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Protocol:             kernel_TEST</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** ifname:</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** ifindex:              0</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** Metric:               (void)</div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_path:             (path 65499)</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_path: [FIRST]     65499</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_path: [LAST]      65499</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_local_pref:       100</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_med:              (void)</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_origin:           0</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_next_hop:         x.x.x.x</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_atomic_aggr:      (void)</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_community:        (clist (65499,999))</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_ext_community:    (eclist )</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_large_community:  (lclist )</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_originator_id:    x.x.x.x</div><div class="gmail_default" style="font-family:tahoma,sans-serif">** bgp_cluster_list:     (clist )</div><div class="gmail_default" style="font-family:tahoma,sans-serif">=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=`=​</div><br></div><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">​Why doesn't the protocol variable update to the name of the BGP protocol in my config?​</div></div><div dir="ltr"><br><font face="tahoma,sans-serif">Sent from my Verizon Wireless 4G LTE Droid Turbo 2.<br></font></div></div></div></div></div>
</div>