diff options
author | Sarita Patra <saritap@vmware.com> | 2019-05-20 19:40:12 +0200 |
---|---|---|
committer | Sarita Patra <saritap@vmware.com> | 2019-05-30 05:36:16 +0200 |
commit | 59115451a8fd0f11ac076cd4d832241ef4b3784a (patch) | |
tree | 6ce08c1a31055584a0a2f650570c3789fcb0d44e /pimd/pim_vty.c | |
parent | Merge pull request #4385 from manuhalo/fix_deprecate_retain (diff) | |
download | frr-59115451a8fd0f11ac076cd4d832241ef4b3784a.tar.xz frr-59115451a8fd0f11ac076cd4d832241ef4b3784a.zip |
pimd: new cli to configure last-member-query-count & last-member-query-interval
Introduce new cli commands ip igmp last-member-query-count <1-7>
ip igmp last-member-query-interval <1-255> deciseconds.
Display the config in show running config and show ip igmp interface
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r-- | pimd/pim_vty.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index 2654ebc58..e5587503b 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -344,6 +344,24 @@ int pim_interface_config_write(struct vty *vty) ++writes; } + /* IF ip igmp last-member_query-count */ + if (pim_ifp->igmp_last_member_query_count + != IGMP_DEFAULT_ROBUSTNESS_VARIABLE) { + vty_out(vty, + " ip igmp last-member-query-count %d\n", + pim_ifp->igmp_last_member_query_count); + ++writes; + } + + /* IF ip igmp last-member_query-interval */ + if (pim_ifp->igmp_specific_query_max_response_time_dsec + != IGMP_SPECIFIC_QUERY_MAX_RESPONSE_TIME_DSEC) { + vty_out(vty, + " ip igmp last-member-query-interval %d\n", + pim_ifp->igmp_specific_query_max_response_time_dsec); + ++writes; + } + /* IF ip igmp join */ if (pim_ifp->igmp_join_list) { struct listnode *node; |