Configuring The Med Attribute Of An Mbgp Route - 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
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 multicast
The BGP-IPv4 multicast address family view is displayed.
Step 4 Run:
default local-preference preference
Local-Pref of the local host is configured.
When an MBGP switch obtains multiple routes with the same destination but different next hops
from different IBGP peers, the route with the greatest Local_Pref value is preferred.
----End

9.6.5 Configuring the MED Attribute of an MBGP Route

The MED attribute is similar to the IGP metric. It is used by the EBGP peer to determine the
route for the traffic entering the AS. The route with the smallest MED value is selected.
Context
Do as follows on the switch configured with an MBGP peer:
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 multicast
The BGP-IPv4 multicast address family view is displayed.
Issue 01 (2012-03-15)
NOTE
The configuration is optional. When an MBGP switch obtains multiple routes with the same destination
but different next hops from different EBGP peers, the route with the smallest MED value is preferred if
other conditions of these routes are the same.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
576

Advertisement

Table of Contents
loading

Table of Contents