Peer Public-As-Only (Bgp-Vpn6 Subaddress Family View) - HP 5800 series Command Reference Manual

Commands and command syntax options
Hide thumbs Also See for 5800 series:
Table of Contents

Advertisement

Parameters
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
value: Specifies the preference value to be specified, ranging from 0 to 65,535.
Examples
# In BGP-VPNv6 subaddress family view, set the preference value for the routes received from peer
131.108.1.1 to 50.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
[Sysname-bgp-af-vpnv6] peer 131.108.1.1 preferred-value 50

peer public-as-only (BGP-VPN6 subaddress family view)

Description
Use the peer public-as-only command to make outbound BGP updates carry no private AS numbers.
Use the undo peer public-as-only command to make outbound BGP updates carry private AS numbers.
By default, a BGP update carries private AS numbers.
If a BGP update to be sent carries any public AS number, this command does not take effect. The private
AS number ranges from 64,512 to 65,535.
Syntax
In BGP-VPNv4 subaddress family view:
peer { group-name | ip-address } public-as-only
undo peer { group-name | ip-address } public-as-only
In BGP-VPNv6 subaddress family view:
peer ip-address public-as-only
undo peer ip-address public-as-only
View
BGP-VPNv6 subaddress family view
Default level
2: System level
Parameters
group-name: Specifies the name of the peer group, which is a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
Examples
# In BGP-VPNv6 subaddress family view, configure the device to exclude private AS numbers from the
BGP updates to be sent to the peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family vpnv6
368

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents