Peer Public-As-Only (Bgp/Bgp-Vpn Instance View) - H3C S9500 Series Command Manual

Routing switch bgp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – BGP
H3C S9500 Series Routing Switches
Note the following:
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 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
in the routing policy is zero, the routes matching it will use the value set with the
command. For information about using a routing policy to set a preferred value, refer to
the peer { group-name | ip-address } route-policy route-policy-name { export | import }
command and the apply preferred-value preferred-value command.
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
# In BGP-VPN instance view, configure the preferred value as 50 for routes from peer
131.108.1.1 (the VPN has been created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] peer 131.108.1.1 preferred-value 50

1.1.62 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.
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.
Chapter 1 BGP Configuration Commands
1-63

Advertisement

Table of Contents
loading

Table of Contents