D-Link DXS-3600 Series Reference Manual page 149

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
This example shows how to apply the always-compare-med option to enable the comparison of the Multi
Exit Discriminator (MED) for paths from neighbors in different autonomous systems.
Switch# configure terminal
Switch(config)# router bgp 65534
Switch(config-router)# bgp always-compare-med
10-6 bgp bestpath as-path ignore
This command is used to ignore the AS path as a discriminating factor in selection of the best path. Use
the no command to restore using of the AS path in selection of the best path.
bgp bestpath as-path ignore
no bgp bestpath as-path ignore
Parameters
None.
Default
By default, the AS path is used in the selection of the best path.
Command Mode
Router Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The best path is selected based on the following algorithm. The paths are evaluated in sequence of the
following rules.
The path with the highest weight is preferred.
The path with the highest local preference is preferred.
The local routes generated by network command, redistribute command and aggregate
command is preferred over other routes. The routes generated by network and redistribute
command has higher preference than aggregate route.
The path with shorter AS path is preferred.
The origin attribute is compared. IGP is preferred over EGP, EGP is preferred over incomplete.
The path with lower MED is preferred.
The eBGP path is preferred over the iBGP path.
The path which has the lowest IGP metric to the next hop is preferred.
The path with the lowest router ID is preferred.
When two paths are both external, the older path is preferred.
Prefer the path from the neighbor with lowest IP address.
You can use the commands, bgp bestpath as-path ignore, bgp bestpath compare-router-id or bgp
bestpath med missing-as-worst to customize the path selection process.
Example
This example shows how to configure to ignore the AS-PATH for the best path for autonomous system
65534.
Switch# configure terminal
Switch(config)# router bgp 65534
Switch(config-router)# bgp bestpath as-path ignore
149

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents