diff options
| author | Russ White <russ@riw.us> | 2021-09-01 12:55:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 12:55:45 -0400 |
| commit | ce4f3813f0305c131c999dac339e395e9507a7ff (patch) | |
| tree | 34d4153f8ef5416b00839f543ecbd48dcebc63d1 /lib/routemap_cli.c | |
| parent | c316fa25058df97a2513d444ebc528d73179ea29 (diff) | |
| parent | 48753f731890091399152e14a0cb28e9333d3efc (diff) | |
Merge pull request #9439 from ton31337/feature/set_ext_community_to_none
bgpd: Route-map `set extcommunity none`
Diffstat (limited to 'lib/routemap_cli.c')
| -rw-r--r-- | lib/routemap_cli.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/routemap_cli.c b/lib/routemap_cli.c index 045a8cddd8..cadad15fa7 100644 --- a/lib/routemap_cli.c +++ b/lib/routemap_cli.c @@ -1223,6 +1223,11 @@ void route_map_action_show(struct vty *vty, struct lyd_node *dnode, strlcat(str, " non-transitive", sizeof(str)); vty_out(vty, " set extcommunity bandwidth %s\n", str); + } else if (IS_SET_EXTCOMMUNITY_NONE(action)) { + if (yang_dnode_get_bool( + dnode, + "./rmap-set-action/frr-bgp-route-map:extcommunity-none")) + vty_out(vty, " set extcommunity none\n"); } else if (IS_SET_AGGREGATOR(action)) { vty_out(vty, " set aggregator as %s %s\n", yang_dnode_get_string( |
