Peer Preferred-Value (Mbgp Address Family View) - HP 6125G Command Reference Manual

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

Advertisement

Description
Use peer next-hop-local to specify the router as the next hop for routes sent to a peer or a peer group.
Use undo peer next-hop-local to remove the configuration.
By default, the routes advertised to an eBGP peer or a peer group take the local router as the next hop,
but the routes outgoing to an iBGP peer or a peer group do not take the local router as the next hop.
Examples
# In IPv4 MBGP address family view, specify the router as the next hop for routes sent to the peer group
test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] group test internal
[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 next-hop-local

peer preferred-value (MBGP address family view)

Syntax
peer { group-name | ip-address } preferred-value value
undo peer { group-name | ip-address } preferred-value
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
group-name: Specifies an IPv4 MBGP peer group by its name, a string of 1 to 47 characters.
ip-address: Specifies the IP address of an IPv4 MBGP peer.
value: Specifies a preferred value, in the range of 0 to 65535.
Description
Use peer preferred-value to specify a preferred value for routes received from a peer or peer group.
Use undo peer preferred-value to restore the default.
The default preferred value is 0.
Routes learned from a peer have an initial preferred value. Among multiple routes that have the same
destination/mask and are learned from different peers, the one with the greatest preferred value is
selected as the route to the destination.
If you both reference a routing policy and use the peer { group-name | ip-address } preferred-value value
command to set a preferred value for routes from a peer or a peer group, the routing policy sets the
specified preferred value for the routes that match it. Other routes that do not match the routing policy use
the value set through the peer preferred-value command. If the preferred value specified in the routing
policy is zero, the routes that match it also use the value set through the peer preferred-value command.
208

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents