Configuring The Bgp Preference - 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
l
l
l
l
Pre-configuration Tasks
Before configuring BGP route attributes, complete the following tasks:
l
l
Data Preparation
To configure BGP route attributes, you need the following data.
No.
1
2
3
4

7.4.2 Configuring the BGP Preference

Setting the BGP preference can affect route selection between BGP routes and other routing
protocols' routes.
Context
Multiple dynamic routing protocols can be run on a device at the same time. In this case, there
is a problem of route sharing and selecting among routing protocols. To address this problem,
the system sets a default preference for each routing protocol. If different protocols have routes
to the same destination, the protocol with the highest preference is selected to forward IP packets.
Perform the following steps on a device running BGP.
Issue 01 (2012-03-15)
After preferred values are set for BGP routes, the route with the greatest value is preferred
when multiple routes to the same destination exist in the BGP routing table.
Local_Pref
The Local_Pref attribute has the same function as the preferred value of a route. If both of
them are configured for a BGP route, the preferred value takes precedence over the
Local_Pref attribute.
MED
The MED attribute is used to determine the optimal route for traffic that enters an AS. The
route with the smallest MED value is selected as the optimal route if the other attributes of
the routes are the same.
Next_Hop
BGP route selection can be flexibly controlled by changing Next_Hop attributes for routes.
AS_Path
The AS_Path attribute is used to prevent rooting loops and control route selection.
Configuring IP addresses for interfaces to ensure IP connectivity between neighboring
nodes
Configuring Basic BGP Functions
Data
AS number
BGP preference value
Local_Pref value
MED value
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
375

Advertisement

Table of Contents
loading

Table of Contents