EasyManuals Logo
Home>HP>Switch>3600 v2 Series

HP 3600 v2 Series User Manual

HP 3600 v2 Series
479 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #257 background imageLoading...
Page #257 background image
244
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.
To learn how to use a routing policy to set a preferred value, see the command peer { group-name |
ip-address } route-policy route-policy-name { export | import } in this document, and the command apply
preferred-value preferred-value. For more information about the command, see Layer 3—IP Routing
Command Reference.
Examples
# In IPv4 MBGP address family view, configure the preferred value as 50 for routes from peer 131.108.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 as-number 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] peer 131.108.1.1 enable
[Sysname-bgp-af-mul] peer 131.108.1.1 preferred-value 50
peer public-as-only (MBGP address family view)
Syntax
peer { group-name | ip-address } public-as-only
undo peer { group-name | ip-address } public-as-only
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 an IPv4 MBGP peer by its IP address.
Description
Use peer public-as-only to not keep private AS numbers in BGP updates sent to a peer or a peer group.
Use undo peer public-as-only to keep private AS numbers in BGP updates sent to a peer or a peer group.
By default, outgoing BGP updates can carry private AS numbers.
The command does not take effect for BGP updates with both public and private AS numbers. The range
of private AS numbers is from 64512 to 65535.

Table of Contents

Other manuals for HP 3600 v2 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 3600 v2 Series and is the answer not in the manual?

HP 3600 v2 Series Specifications

General IconGeneral
BrandHP
Model3600 v2 Series
CategorySwitch
LanguageEnglish

Related product manuals