![Huawei Quidway S5600 Скачать руководство пользователя страница 372](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841372.webp)
Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 5 BGP Configuration
Huawei Technologies Proprietary
5-27
z
MED value
5.5.2 Configuring BGP Route Attributes
BGP possesses many route attributes for you to control BGP routing policies.
Table 5-13
Configure BGP route attributes
Operation
Command
Description
Enter system view
system-view
—
Enable BGP, and enter
BGP view
bgp
as-number
Required
By default, BGP is disabled.
Configure the
management preference of
the exterior, interior and
local routes
preference
ebgp-value
ibgp-value local-value
Optional
By default, the management
preference of the exterior,
interior and local routes is
256, 256, and 130.
Set the default local
preference
default
local-preference
value
Optional
By default, the local
preference defaults to 100.
Configure the
default local
MED value
default med
med-value
Optional
By default, the
med-value
argument is 0.
Configure
the MED
attribute
Permit to
compare the
MED values
of the routes
coming from
the neighbor
routers in
different ASs.
compare-different-a
s-med
Optional
By default, the compare of
MED values of the routes
coming from the neighbor
routers in different ASs is
disabled.
Configure the local
address as the next hop
address when a BGP
router advertises a route.
peer
group-name
next-hop-local
Required
In some network, to ensure
an IBGP neighbor locates
the correct next hop, you can
configure the next hop
address of a route to be the
local address for a BGP
router to advertise route
information to IBGP peer
groups.
Configure
the
AS_Path
attribute
Configure
the number
of local AS
number
occurrences
allowed
peer
{
group-name |
ip-address
}
allow-as-loop
[
number
]
Optional
By default, the number of
local AS number
occurrences allowed is 1.