Setting Preferred Values Of Routes Learned From Peers; Configuring The Preference 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
No.
3
4
5

9.6.2 Setting Preferred Values of Routes Learned from Peers

You can set a preferred value for each route and thus when the MBGP routing table contains
multiple routes to the same destination, the route with the greatest preferred 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.
Step 4 Run:
peer { group-name | ipv4-address } preferred-value value
The preferred value is set for a route learnt from an MBGP peer group or a remote MBGP peer.
The route with the greatest preferred value is selected as the route to a specified network.
The parameters of the command are explained as follows:
l group-name: specifies the name of an MBGP peer group.
l ipv4-address: specifies the IP address of a remote MBGP peer.
----End

9.6.3 Configuring the Preference of an MBGP Route

By configuring the preference of the MBGP protocol, you can control route selection of MBGP
and other types protocols.
Issue 01 (2012-03-15)
Data
Preferred value
Local_Pref
MED of MBGP routes
NOTE
The configuration is optional. By default, the preferred value is 0.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
9 MBGP Configuration
574

Advertisement

Table of Contents
loading

Table of Contents