[zebra 23056] Restricting show ip bgp summary command

Anant Tamgole <[email protected]> Thu, 2 Aug 2007 04:15:00 -0700 (PDT)
Newsgroups gmane.network.zebra
Message-ID <[email protected]>
Hi,
 
How can I restrict 'show ip bgp summary' from bgpd deamon.
 
We want to have a public route server with a small set of show bgp commands
 
I have presently modified bgp_vty.c and commented out following lines.
Is it correct way to do. Any implications.

  /* install_element (VIEW_NODE, &show_ip_bgp_neighbors_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbors_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_neighbors_peer_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_ipv4_neighbors_peer_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_neighbors_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_neighbors_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_vpnv4_all_neighbors_peer_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_vpnv4_rd_neighbors_peer_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_instance_neighbors_cmd); */
  /* install_element (VIEW_NODE, &show_ip_bgp_instance_neighbors_peer_cmd); */

 
Anant


       
____________________________________________________________________________________Ready for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

_______________________________________________
Zebra mailing list
[email protected]
http://ml.zebra.org/mailman/listinfo/zebra