diff options
| author | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-04-13 08:31:45 -0700 |
|---|---|---|
| committer | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-05-17 00:05:19 -0700 |
| commit | 4e65109c7f318bb8cfc4deca2c47fe824951cbdb (patch) | |
| tree | c0138d03555a8b5b9eb33c79ee3cb7b10e580e62 /pimd/pim6_cmd.c | |
| parent | 09a754ead1fed57665ff802d6a8e3ccdcdd337cb (diff) | |
pim6d: Add 'clear ipv6 mroute [vrf NAME] count' CLI
Adding clear ipv6 mroute count command for resetting
multicast routes and count.
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim6_cmd.c')
| -rw-r--r-- | pimd/pim6_cmd.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pimd/pim6_cmd.c b/pimd/pim6_cmd.c index 0a913f812d..5aa53d52f9 100644 --- a/pimd/pim6_cmd.c +++ b/pimd/pim6_cmd.c @@ -1992,6 +1992,18 @@ DEFPY (clear_ipv6_pim_oil, return CMD_SUCCESS; } +DEFPY (clear_ipv6_mroute_count, + clear_ipv6_mroute_count_cmd, + "clear ipv6 mroute [vrf NAME]$name count", + CLEAR_STR + IPV6_STR + MROUTE_STR + VRF_CMD_HELP_STR + "Route and packet count data\n") +{ + return clear_ip_mroute_count_command(vty, name); +} + void pim_cmd_init(void) { if_cmd_init(pim_interface_config_write); @@ -2102,4 +2114,5 @@ void pim_cmd_init(void) install_element(ENABLE_NODE, &clear_ipv6_pim_statistics_cmd); install_element(ENABLE_NODE, &clear_ipv6_mroute_cmd); install_element(ENABLE_NODE, &clear_ipv6_pim_oil_cmd); + install_element(ENABLE_NODE, &clear_ipv6_mroute_count_cmd); } |
