To have Cisco IOS software compare the MED variable when choosing among routes advertised by the same sub-AS within a confederation, use the bgp deterministic med router configuration command. To disallow the comparison, use the no form of this command.
bgp deterministic med
no bgp deterministic med
This command has no arguments or keywords.
The software does not compare the MED variable for paths advertised by a sub-AS.
Router configuration mode
Release | Modification | 12.0 | This command was introduced. |
---|
If bgp always-compare-med is enabled, all paths are fully comparable, including those from other ASes in the confederation, even if bgp deterministic med is also enabled.
The following example specifies that the BGP router compare MED variables when choosing among routes advertised by the same sub-AS within a confederation.
router 204 bgp deterministic med
Command | Description |
---|---|
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.