1256
C
82: IP
6 BGP C
HAPTER
V
peer public-as-only (IPv6 address family view)
Syntax
View
Parameters
Description
Examples
peer reflect-client (IPv6 address family view)
Syntax
View
Parameters
C
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 preferred-value 50
peer { ipv6-group-name | ipv6-address } public-as-only
undo peer { ipv6-group-name | ipv6-address } public-as-only
IPv6 address family view
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
Use the
peer public-as-only
peer/peer group to not carry private AS numbers.
Use the
undo peer public-as-only
peer/peer group to carry private AS numbers.
By default, BGP updates carry the private AS number.
The command does not take effect if the BGP update has both the public AS
number and private AS number. The range of private AS number is from 64512 to
65535.
# Carry no private AS number in BGP updates sent to the peer 1:2::3:4.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 public-as-only
peer { group-name | ipv4-address | ipv6-address } reflect-client
undo peer { group-name | ipv4-address | ipv6-address } reflect-client
IPv6 address family view
group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
ipv4-address: IPv4 address of a peer.
ipv6-address: IPv6 address of a peer.
command to configure IPv6 BGP updates to a
command to allow IPv6 BGP updates to a