Download Print this page

Configuring A Default Local_Pref Attribute For A Device - Huawei Quidway NetEngine80E Configuration Manual

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
A preferred value is set for all the routes learned from a specified peer.
The original preferred value of a route learned from a peer defaults to 0.
If there are multiple routes to the same address prefix, the route with the highest preferred value
is preferred.
----End

8.4.4 Configuring a Default Local_Pref Attribute for a Device

The Local_Pref attribute is used to determine the optimal route for traffic that leaves an AS.
Context
The Local_Pref attribute is used to determine the optimal route for traffic that leaves an AS. If
a BGP device obtains multiple routes from different IBGP peers and these routes have different
next hops to the same destination, the BGP device will select the route with the greatest
Local_Pref value.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
Step 3 Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
Step 4 Run:
default local-preference preference
A default Local_Pref attribute is set for the local device.
----End
8.4.5 Configuring MED Attributes for BGP Routes
The Multi_Exit Discriminator (MED) attribute equals a metric used in an IGP. 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.
Context
The MED attribute equals a metric used in an IGP, and is used to determine the optimal route
for traffic that enters an AS. If a BGP device obtains multiple routes from different EBGP peers
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP Configuration
765

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e