Preference (Mbgp Address Family View) - HP 6125G Command Reference Manual

Ip multicast
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

The peer route-policy command does not apply the if-match interface clause in the referenced routing
policy. For more information, see Layer 3—IP Routing Command Reference.
Examples
# In IPv4 MBGP address family view, apply the routing policy test-policy to routes outgoing to the peer
group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test external
[Sysname-bgp] peer test as-number 200
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test route-policy test-policy export

preference (MBGP address family view)

Syntax
preference { external-preference internal-preference local-preference | route-policy route-policy-name }
undo preference
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
external-preference: Specifies the preference of eBGP routes, in the range of 1 to 255.
internal-preference: Specifies the preference of iBGP routes, in the range of 1 to 255.
local-preference: Specifies the preference of local routes, in the range of 1 to 255.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Using a routing policy can set preferences for the routes that match it. As for the unmatched routes, the
default preferences are adopted.
Description
Use preference to configure preferences for external, internal, and local routes.
Use undo preference to restore the default.
The default preference values of external, internal and local BGP routes are 255, 255, and 130,
respectively.
Examples
# In IPv4 MBGP address family view, configure preferences for eBGP, iBGP, and local IPv4 MBGP routes
as 20, 20, and 200.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] preference 20 20 200
212

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents