Huawei S6700 Series Configuration Manual page 397

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
and these routes have different next hops to the same destination, the BGP device will select the
route with the smallest MED value.
Procedure
l
l
l
Issue 01 (2012-03-15)
Set the default MED value on a device.
Perform the following steps on a BGP device:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Run:
default med med
The default MED value is set.
NOTE
The default med command is valid only for routes imported using the import-route command
and BGP summarized routes on the local device.
Compare the MED values of the routes from different ASs.
Perform the following steps on a BGP device:
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp as-number
The BGP view is displayed.
3.
Run:
ipv4-family unicast
The IPv4 unicast address family view is displayed.
4.
Run:
compare-different-as-med
The MED values of routes from different ASs are compared.
By default, the BGP device compares the MED values of only routes from different
peers in the same AS. This command enables the BGP device to compare the MED
values of routes from different ASs.
Configure the method used by BGP to handle the situation where a route has no MED
attribute during route selection.
Perform the following steps on a BGP device:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
7 BGP Configuration
378

Advertisement

Table of Contents
loading

Table of Contents