diff options
| -rw-r--r-- | pimd/pim_cmd.c | 1 | ||||
| -rw-r--r-- | pimd/pim_vty.c | 11 |
2 files changed, 11 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index d40ff0fe30..1224bc5fc8 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -4085,6 +4085,7 @@ DEFUN (ip_pim_ecmp_rebalance, "Enable PIM ECMP \n" "Enable PIM ECMP Rebalance\n") { + qpim_ecmp_enable = 1; qpim_ecmp_rebalance_enable = 1; return CMD_SUCCESS; diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c index c8322b629a..754cf8468b 100644 --- a/pimd/pim_vty.c +++ b/pimd/pim_vty.c @@ -192,7 +192,16 @@ int pim_global_config_write(struct vty *vty) VTY_NEWLINE); ++writes; } - + if (qpim_ecmp_rebalance_enable) + { + vty_out (vty, "ip pim ecmp rebalance%s", VTY_NEWLINE); + ++writes; + } + else if (qpim_ecmp_enable) + { + vty_out (vty, "ip pim ecmp%s", VTY_NEWLINE); + ++writes; + } if (qpim_ssmpingd_list) { struct listnode *node; struct ssmpingd_sock *ss; |
