Configuring BGP4
USING THE CLI
To change the default administrative distances for EBGP, IBGP, and Local BGP, enter a command such as the following:
Syntax: distance
The
The
The
USING THE WEB MANAGEMENT INTERFACE
1.Log on to the device using a valid user name and password for
2.Click on the plus sign next to Configure in the tree view to expand the list of configuration options.
3.Click on the plus sign next to BGP in the tree view to expand the list of BGP option links.
4.Click on the General link to display the BGP configuration panel, shown in Figure 10.2 on page
5.Change the number in the External Distance field to change the EBGP distance. You can enter a number from 1 – 255.
6.Change the number in the Internal Distance field to change the IBGP distance. You can enter a number from
1– 255.
7.Change the number in the Local Distance field to change the local distance. You can enter a number from
1– 255.
8.Click the Apply button to apply the changes to the device’s
9.Select the Save link at the bottom of the dialog. Select Yes when prompted to save the configuration change to the
Configuring the routing switch To Always Compare
A
By default, the routing switch compares the MED values only among paths through the same AS. For example, if the routing switch receives BGP4 updates from a remote AS with multiple paths for the same route, the routing switch compares the MEDs in those paths to select a preferred path for the route.
You can change the routing switch’s default behavior and configure the routing switch to instead compare the MEDs for all paths for a route, regardless of the AS through which the paths pass. For example, if the routing switch receives UPDATES for the same route from neighbors in three ASs, the routing switch would compare the MEDs of all the paths together, rather than comparing the MEDs for the paths in each AS individually.
To configure the routing switch to always compare MEDs for all paths for a route, use either of the following methods:
USING THE CLI
To configure the routing switch to always compare MEDs, enter the following command:
Syntax: [no]
10 - 31