mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-28 08:59:55 +00:00
pimd: Add ability to tweak join/prune send time
Add the ability to tweak how often we can send the join prune message. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
8d90ffd05d
commit
ee1a071806
@ -3390,6 +3390,31 @@ pim_rp_cmd_worker (struct vty *vty, const char *rp, const char *group, const cha
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (ip_pim_joinprune_time,
|
||||
ip_pim_joinprune_time_cmd,
|
||||
"ip pim join-prune-interval <60-600>",
|
||||
IP_STR
|
||||
"pim multicast routing\n"
|
||||
"Join Prune Send Interval\n"
|
||||
"Seconds\n")
|
||||
{
|
||||
qpim_t_periodic = atoi(argv[3]->arg);
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (no_ip_pim_joinprune_time,
|
||||
no_ip_pim_joinprune_time_cmd,
|
||||
"no ip pim join-prune-interval <60-600>",
|
||||
NO_STR
|
||||
IP_STR
|
||||
"pim multicast routing\n"
|
||||
"Join Prune Send Interval\n"
|
||||
"Seconds\n")
|
||||
{
|
||||
qpim_t_periodic = PIM_DEFAULT_T_PERIODIC;
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
|
||||
DEFUN (ip_pim_register_suppress,
|
||||
ip_pim_register_suppress_cmd,
|
||||
"ip pim register-suppress-time <5-60000>",
|
||||
@ -5980,6 +6005,8 @@ void pim_cmd_init()
|
||||
install_element (CONFIG_NODE, &no_ip_pim_rp_prefix_list_cmd);
|
||||
install_element (CONFIG_NODE, &ip_pim_register_suppress_cmd);
|
||||
install_element (CONFIG_NODE, &no_ip_pim_register_suppress_cmd);
|
||||
install_element (CONFIG_NODE, &ip_pim_joinprune_time_cmd);
|
||||
install_element (CONFIG_NODE, &no_ip_pim_joinprune_time_cmd);
|
||||
install_element (CONFIG_NODE, &ip_pim_keep_alive_cmd);
|
||||
install_element (CONFIG_NODE, &no_ip_pim_keep_alive_cmd);
|
||||
install_element (CONFIG_NODE, &ip_pim_packets_cmd);
|
||||
|
||||
@ -162,6 +162,12 @@ int pim_global_config_write(struct vty *vty)
|
||||
qpim_register_suppress_time, VTY_NEWLINE);
|
||||
++writes;
|
||||
}
|
||||
if (qpim_t_periodic != PIM_DEFAULT_T_PERIODIC)
|
||||
{
|
||||
vty_out (vty, "ip pim join-prune-interval %d%s",
|
||||
qpim_t_periodic, VTY_NEWLINE);
|
||||
++writes;
|
||||
}
|
||||
if (qpim_keep_alive_time != PIM_KEEPALIVE_PERIOD)
|
||||
{
|
||||
vty_out (vty, "ip pim keep-alive-timer %d%s",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user