Manoj Reddy's Reference Guide

bgp bestpath missing-as-worst

To have Cisco IOS software consider a missing MED attribute in a path as having a value of infinity, making the path without a MED value the least desirable path, use thebgp bestpath missing-as-worst router configuration command. To return the router to the default (assign a value of 0 to the missing MED), use the no form of this command.

bgp bestpath missing-as-worst

no bgp bestpath missing-as-worst

Syntax Description

This command has no arguments or keywords.

Defaults

The software assigns a value of 0 to the missing MED, causing the path with the missing MED attribute to be considered the best path.

Command Modes

Router configuration

Command History

ReleaseModification
12.0

This command was introduced.

Examples

The following command specifies that the BGP router to consider a missing MED attribute in a path as having a value of infinity, making this path the least desirable path.

router bgp 210
 bgp bestpath missing-as-worst

Related Commands

CommandDescription
show ip bgp Display entries in the BGP routing table.
show ip bgp neighbors Displays information about the TCP and BGP connections to neighbors.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.