Prerequisites; Configuring Mbgp Route Preferences; Configuring The Default Local Preference; Configuring The Med Attribute - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Prerequisites

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

Configuring MBGP Route Preferences

You can reference a route 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...
Enter system view
Enter BGP view
Enter IPv4 MBGP address family
view
Configure preferences for
external, internal, local MBGP
routes

Configuring the Default Local Preference

Follow these steps to configure the default local preference:
To do...
Enter system view
Enter BGP view
Enter IPv4 MBGP address family
view
Configure the default local
preference

Configuring the MED Attribute

When other conditions of routes to a destination are identical, the route with the smallest MED is
selected.
Follow these steps to configure the MED attribute:
To do...
Enter system view
Enter BGP view
Enter IPv4 MBGP address family
view
Use the command...
system-view
bgp as-number
ipv4-family multicast
preference
{ external-preference
internal-preference
local-preference |
route-policy
route-policy-name }
Use the command...
system-view
bgp as-number
ipv4-family multicast
default local-preference
value
Use the command...
system-view
bgp as-number
ipv4-family multicast
1-8
Remarks
Optional
The default preferences of
multicast MBGP eBGP, MBGP
iBGP, and local MBGP routes
are 255, 255, and 130
respectively.
Remarks
Optional
100 by default.
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents