RDNBRD: Change default distance of imported table routes to 15

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>

Ticket: CM-9898

The 'redistribute neighbor' feature is the primary use case for
importing table routes.  We need the redistribute neighbor routes to
have a lower admin distance than eBGP so that the local table routes are
preferred (if the host is dual homed we could also learn about it via eBGP).
This commit is contained in:
Daniel Walton 2016-03-22 19:04:58 +00:00
parent 5fe9f9631d
commit 7ab5795aee

View File

@ -548,7 +548,7 @@ extern const char *zserv_command_string (unsigned int command);
#define ZEBRA_ISIS_DISTANCE_DEFAULT 115
#define ZEBRA_IBGP_DISTANCE_DEFAULT 200
#define ZEBRA_EBGP_DISTANCE_DEFAULT 20
#define ZEBRA_TABLE_DISTANCE_DEFAULT 150
#define ZEBRA_TABLE_DISTANCE_DEFAULT 15
/* Flag manipulation macros. */
#define CHECK_FLAG(V,F) ((V) & (F))