EasyManuals Logo

H3C S7500E Series Command Manual

H3C S7500E Series
1565 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 #481 background imageLoading...
Page #481 background image
Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-52
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 a specified non-zero 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 command. For information about using a routing policy to set a
preferred value, refer to the command peer { group-name | ip-address } route-policy
route-policy-name { export | import } and apply preferred-value preferred-value.
Examples
# In BGP 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 preferred-value 50
5.1.61 peer public-as-only
Syntax
peer { group-name | ip-address } public-as-only
undo peer { group-name | ip-address } public-as-only
View
BGP view
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use the peer public-as-only command to not keep private AS numbers in BGP
updates sent to a peer/peer group.
Use the undo peer public-as-only command 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 test.
<Sysname> system-view
[Sysname] bgp 100

Table of Contents

Other manuals for H3C S7500E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S7500E Series and is the answer not in the manual?

H3C S7500E Series Specifications

General IconGeneral
BrandH3C
ModelS7500E Series
CategorySwitch
LanguageEnglish

Related product manuals