diff options
author | denis <denis@cvs.openbsd.org> | 2018-10-24 13:18:53 +0000 |
---|---|---|
committer | denis <denis@cvs.openbsd.org> | 2018-10-24 13:18:53 +0000 |
commit | f00d0d6e3fe794b627b95b3b87a21b40f08dd20d (patch) | |
tree | c22785df285851489edff58f956119b58e9ec185 /usr.bin/bgplg/bgplg.h | |
parent | 4882e49c5a80ee1b97e2c4c5761fd37c59f4d1e4 (diff) |
add 'show ip bgp ovs' and 'show ip bgp ext-community' commands
OK sthen@
Diffstat (limited to 'usr.bin/bgplg/bgplg.h')
-rw-r--r-- | usr.bin/bgplg/bgplg.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/bgplg/bgplg.h b/usr.bin/bgplg/bgplg.h index cdc896c9e90..13fadc8d6ab 100644 --- a/usr.bin/bgplg/bgplg.h +++ b/usr.bin/bgplg/bgplg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgplg.h,v 1.15 2018/10/24 09:02:48 denis Exp $ */ +/* $OpenBSD: bgplg.h,v 1.16 2018/10/24 13:18:52 denis Exp $ */ /* * Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org> @@ -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, \ |