Created
January 8, 2017 07:04
-
-
Save tbaschak/6ab637e213741039cec87579ff42a2ef to your computer and use it in GitHub Desktop.
adds show rib community command to openbsd bgplg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- bgplg.h.orig 2017-01-08 00:54:08.000000000 -0600 | |
+++ bgplg.h 2017-01-08 01:00:11.000000000 -0600 | |
@@ -47,6 +47,8 @@ | |
{ BGPCTL, "show", "ip", "bgp", "peer-as", NULL } }, \ | |
{ "show ip bgp empty-as", 0, 0, NULL, \ | |
{ BGPCTL, "show", "ip", "bgp", "empty-as", NULL } }, \ | |
+ { "show rib community", 1, 1, "<community>", \ | |
+ { BGPCTL, "show", "rib", "community", NULL } }, \ | |
{ "show ip bgp summary", 0, 0, NULL, \ | |
{ BGPCTL, "show", "ip", "bgp", "summary", NULL } }, \ | |
{ "show ip bgp detail", 1, 1, "<prefix>", \ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment