Configuring mbgp route attributes, Prerequisites, Configuring mbgp route preferences – H3C Technologies H3C S10500 Series Switches User Manual

Page 258: Configuring the default local preference

Advertising
background image

243

To do…

Use the command…

Remarks

Configure BGP route dampening
parameters

dampening [ half-life-reachable
half-life-unreachable reuse
suppress ceiling
| route-policy

route-policy-name ] *

Required
Not configured by default.

Configuring MBGP route attributes

You can modify MBGP route attributes to affect route selection.

Prerequisites

Before you configure this task, you need to configure MBGP basic functions.

Configuring MBGP route preferences

You can reference a routing policy to set preferences for routes matching it. Routes not matching it use the
default preferences.
Follow these steps to configure MBGP route preferences:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family
view

ipv4-family multicast

Configure preferences for external,
internal, and local MBGP routes

preference { external-preference
internal-preference

local-preference | route-policy

route-policy-name }

Optional
The default preferences of
multicast MBGP eBGP, MBGP

iBGP, and local MBGP routes are

255, 255, and 130, respectively.

Configuring the default local preference

Follow these steps to configure the default local preference:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter BGP view

bgp as-number

Enter IPv4 MBGP address family
view

ipv4-family multicast

Configure the default local
preference

default local-preference value

Optional
100 by default.

Advertising