diff options
| author | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-01-18 07:24:11 -0800 |
|---|---|---|
| committer | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-04-05 00:00:10 -0700 |
| commit | c889adcb263f8126ffe34f5def48e73f2defc92f (patch) | |
| tree | 8a6e0b1d84acae4c1caebf0eed7bef00ade236b8 /pimd/pim6_cmd.c | |
| parent | c8b3d45de274f6941638a342f2d502b377e2ee7e (diff) | |
pim6d: Adding ipv6 mld last-member-query-count CLI
Adding the Interface level config command
ipv6 mld last-member-query-count (1-255)
This command can be use to tune the number of Multicast-Address- Specific Queries
sent before the router assumes there are no remaining listeners for an address on a link.
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim6_cmd.c')
| -rw-r--r-- | pimd/pim6_cmd.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pimd/pim6_cmd.c b/pimd/pim6_cmd.c index 132ac59354..68d9239e5d 100644 --- a/pimd/pim6_cmd.c +++ b/pimd/pim6_cmd.c @@ -648,6 +648,29 @@ DEFPY (interface_no_ipv6_mld_query_max_response_time, return gm_process_no_query_max_response_time_cmd(vty); } +DEFPY (interface_ipv6_mld_last_member_query_count, + interface_ipv6_mld_last_member_query_count_cmd, + "ipv6 mld last-member-query-count (1-255)$lmqc", + IPV6_STR + IFACE_MLD_STR + IFACE_MLD_LAST_MEMBER_QUERY_COUNT_STR + "Last member query count\n") +{ + return gm_process_last_member_query_count_cmd(vty, lmqc_str); +} + +DEFPY (interface_no_ipv6_mld_last_member_query_count, + interface_no_ipv6_mld_last_member_query_count_cmd, + "no ipv6 mld last-member-query-count [(1-255)]", + NO_STR + IPV6_STR + IFACE_MLD_STR + IFACE_MLD_LAST_MEMBER_QUERY_COUNT_STR + IGNORED_IN_NO_STR) +{ + return gm_process_no_last_member_query_count_cmd(vty); +} + DEFPY (show_ipv6_pim_rp, show_ipv6_pim_rp_cmd, "show ipv6 pim [vrf NAME] rp-info [X:X::X:X/M$group] [json$json]", @@ -1528,6 +1551,10 @@ void pim_cmd_init(void) &interface_ipv6_mld_query_max_response_time_cmd); install_element(INTERFACE_NODE, &interface_no_ipv6_mld_query_max_response_time_cmd); + install_element(INTERFACE_NODE, + &interface_ipv6_mld_last_member_query_count_cmd); + install_element(INTERFACE_NODE, + &interface_no_ipv6_mld_last_member_query_count_cmd); install_element(VIEW_NODE, &show_ipv6_pim_rp_cmd); install_element(VIEW_NODE, &show_ipv6_pim_rp_vrf_all_cmd); |
