summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgpd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 499f72bfd1..7b3f4bb6c1 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -6930,9 +6930,9 @@ bgp_config_write (struct vty *vty)
struct listnode *mnode, *mnnode;
/* BGP Multiple instance. */
- if (bgp_option_check (BGP_OPT_MULTIPLE_INSTANCE))
+ if (!bgp_option_check (BGP_OPT_MULTIPLE_INSTANCE))
{
- vty_out (vty, "bgp multiple-instance%s", VTY_NEWLINE);
+ vty_out (vty, "no bgp multiple-instance%s", VTY_NEWLINE);
write++;
}
@@ -7182,6 +7182,9 @@ bgp_master_init (void)
bm->rmap_update_timer = RMAP_DEFAULT_UPDATE_TIMER;
bgp_process_queue_init();
+
+ /* Enable multiple instances by default. */
+ bgp_option_set (BGP_OPT_MULTIPLE_INSTANCE);
}
/*