EasyManuals Logo

HP 6125G User Manual

HP 6125G
410 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 #201 background imageLoading...
Page #201 background image
190
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, the routing policy sets the specified preferred
value for routes matching it. Other routes not matching the routing policy uses the value set with the
command. If the preferred value specified in the routing policy is zero, the routes matching it will also use
the value set with the peer { group-name | ip-address } preferred-value value command. For information
about using 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 in "Routing policy configuration commands."
Examples
# I n B G P v i e w, c o n f i g u re t h e p r e f e r r e d v a l u e a s 50 f o r r o u t e s f r o m p e e r 131.10 8 .1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer 131.108.1.1 preferred-value 50
# I n B G P-V P N i n s t a n c e v i e w, c o n fi g u r e t h e p re f e r re d v a l u e a s 5 0 f o r ro u t e s f r o m p e e r 131.10 8 .1.1. ( T h e
VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] peer 131.108.1.1 preferred-value 50
peer public-as-only (BGP/BGP-VPN instance view)
Syntax
peer { group-name | ip-address } public-as-only
undo peer { group-name | ip-address } public-as-only
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use peer public-as-only to not keep private AS numbers in BGP updates sent to a peer/peer group.
Use undo peer public-as-only to keep private AS numbers in BGP updates sent to a peer/peer group.
By default, BGP updates carry private AS numbers.
The command does not take effect if the BGP update has both public and private AS numbers. The range
of private AS number is from 64512 to 65535.
Examples
# In BGP view, carry no private AS number in BGP updates sent to the peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test public-as-only

Table of Contents

Other manuals for HP 6125G

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 6125G and is the answer not in the manual?

HP 6125G Specifications

General IconGeneral
BrandHP
Model6125G
CategorySwitch
LanguageEnglish

Related product manuals