Configuring Next_Hop - Huawei S6700 Series Configuration Manual

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Step 4 Run the following command as required:
l Run:
l Run:
l Run:
l Run:
l Run:
----End

9.6.6 Configuring Next_Hop

The next-hop attribute is used to flexibly control MGBP route selection.
Context
Do as follows on the switch configured with the MBGP peer:
Procedure
Step 1 Run:
system-view
The system view is displayed.
Issue 01 (2012-03-15)
default med med
The default MED value of the local host is configured.
compare-different-as-med
MED values of routes from different ASs are compared.
By default, the MBGP switch compares only the MED values of the routes from the same
AS.
deterministic-med
Deterministic-MED is enabled.
If this command is not configured, when an optimal route is to be selected from among routes
which are received from different ASs and which carry the same prefix, the sequence in
which routes are received is relevant to the result of route selection. After the command is
configured, however, when an optimal route is to be selected from among routes which are
received from different ASs and which carry the same prefix, routes are first grouped
according to the leftmost AS in the AS_Path. Routes with the same leftmost AS are grouped
together, and after comparison, an optimal route is selected for the group. The group optimal
route is then compared with optimal routes from other groups to determine the final optimal
route. This mode of route selection ensures that the sequence in which routes are received is
no longer relevant to the result of route selection.
bestroute med-none-as-maximum
When the MED value of a route is lost, the route is configured with the maximum MED
value.
By default, the MED value of the route is 0.
bestroute med-confederation
MED values of routes in the same confederation are compared.
By default, the MBGP switch compares the MED values of routes in the same AS.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
577

Advertisement

Table of Contents
loading

Table of Contents