3com MSR 20-20 참조 매뉴얼
1256
C
HAPTER
82: IP
V
6 BGP C
ONFIGURATION
C
OMMANDS
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] peer 1:2::3:4 preferred-value 50
peer public-as-only (IPv6 address family view)
Syntax
peer { ipv6-group-name | ipv6-address } public-as-only
undo peer { ipv6-group-name | ipv6-address } public-as-only
View
IPv6 address family view
Parameters
ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.
ipv6-address: IPv6 address of a peer.
Description
Use the peer public-as-only command to configure IPv6 BGP updates to a
peer/peer group to not carry private AS numbers.
peer/peer group to not carry private AS numbers.
Use the undo peer public-as-only command to allow IPv6 BGP updates to a
peer/peer group to carry private AS numbers.
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.
number and private AS number. The range of private AS number is from 64512 to
65535.
Examples
# 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 reflect-client (IPv6 address family view)
Syntax
peer { group-name | ipv4-address | ipv6-address } reflect-client
undo peer { group-name | ipv4-address | ipv6-address } reflect-client
View
IPv6 address family view
Parameters
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.