This diff adds 2 missing commands :
- show ip bgp ovs
- show ip bgp ext-community

Index: bgplg.h
===================================================================
RCS file: /cvs/src/usr.bin/bgplg/bgplg.h,v
retrieving revision 1.15
diff -u -p -r1.15 bgplg.h
--- bgplg.h     24 Oct 2018 09:02:48 -0000      1.15
+++ bgplg.h     24 Oct 2018 10:44:56 -0000
@@ -51,6 +51,10 @@ struct cmd {
            { BGPCTL, "show","ip", "bgp", "community", NULL } },        \
        { "show ip bgp detail community", 1, 1, "<community>",    \
            { BGPCTL, "show","ip", "bgp", "detail", "community", NULL } },\
+       { "show ip bgp ext-community", 2, 2, "<ext-community>",   \
+           { BGPCTL, "show","ip", "bgp", "ext-community", NULL } },    \
+       { "show ip bgp detail ext-community", 2, 2, "<ext-community>",\
+           { BGPCTL, "show","ip", "bgp", "detail", "ext-community", NULL } },\
        { "show ip bgp large-community", 1, 1, "<large-community>",\
            { BGPCTL, "show","ip", "bgp", "large-community", NULL } },  \
        { "show ip bgp detail large-community", 1, 1, 
"<large-community>",\
@@ -63,6 +67,8 @@ struct cmd {
            { BGPCTL, "show","ip", "bgp", "in", "neighbor", NULL } },   \
        { "show ip bgp out", 1, 1, "<neighbor>",                  \
            { BGPCTL, "show","ip", "bgp", "out", "neighbor", NULL } },  \
+       { "show ip bgp ovs", 1, 1, "<state>",                     \
+           { BGPCTL, "show","ip", "bgp", "ovs", NULL } },              \
        { "show ip bgp memory", 0, 0, NULL,                             \
            { BGPCTL, "show", "ip", "bgp", "memory", NULL } },          \
        { "show neighbor", 0, 1, NULL,                                  \

Reply via email to