diff options
author | Russ White <russ@riw.us> | 2023-02-21 14:01:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 14:01:03 +0100 |
commit | ba755d35e508c2452e5459bdd7c0dd67a70a88a4 (patch) | |
tree | adc08f46788b8012240faec23ae7e7271bb0d40d /vtysh/vtysh.c | |
parent | Merge pull request #12849 from opensourcerouting/fix/tests_enum (diff) | |
parent | bgpd: handle case where passed RD is null (diff) | |
download | frr-ba755d35e508c2452e5459bdd7c0dd67a70a88a4.tar.xz frr-ba755d35e508c2452e5459bdd7c0dd67a70a88a4.zip |
Merge pull request #12248 from pguibert6WIND/bgpasdot
lib, bgp: add initial support for asdot format
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r-- | vtysh/vtysh.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index a17ee812e..200427fb6 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -1673,10 +1673,14 @@ DEFUNSH(VTYSH_ZEBRA, srv6_locator, srv6_locator_cmd, #ifdef HAVE_BGPD DEFUNSH(VTYSH_BGPD, router_bgp, router_bgp_cmd, - "router bgp [(1-4294967295) [<view|vrf> VIEWVRFNAME]]", + "router bgp [ASNUM [<view|vrf> VIEWVRFNAME] [as-notation <dot|dot+|plain>]]", ROUTER_STR BGP_STR AS_STR "BGP view\nBGP VRF\n" - "View/VRF name\n") + "View/VRF name\n" + "Force the AS notation output\n" + "use 'AA.BB' format for AS 4 byte values\n" + "use 'AA.BB' format for all AS values\n" + "use plain format for all AS values\n") { vty->node = BGP_NODE; return CMD_SUCCESS; |