3-14. bgp deterministic-med

Syntax Description:

This command has no arguments.

Purpose: If bgp always-compare-med is enabled, the metric or MED is compared to every path regardless of the neighbor AS. Without bgp deterministic-med or bgp always-compare-med, the order of the paths can make a difference when selecting the best path. When you're using bgp deterministic-med, the router sorts the paths based on neighbor AS and MED so that the paths are sorted the same way every time. This produces a deterministic best-path selection.

Cisco IOS Software Release: 12.0

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.