Configuring A Default Local_Pref Attribute For A Device; Configuring Med Attributes For Bgp Routes - 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 3 Run:
peer { group-name | ipv4-address } preferred-value value
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

7.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
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

7.4.5 Configuring MED Attributes for BGP Routes

The 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 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
377

Advertisement

Table of Contents
loading

Table of Contents