3Com S7902E Command Reference Manual - page 1656
1-44
peer public-as-only (BGP-VPNv4 subaddress family view)
Syntax
peer
{
group-name | ip-address
}
public-as-only
undo
peer
{
group-name | ip-address
}
public-as-only
View
BGP-VPNv4 subaddress family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address
: IP address of the peer.
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 64512 to 65535.
Examples
# In BGP-VPNv4 subaddress family view, configure the device to make BGP updates to be sent to peer
group test carry no private AS numbers.
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test public-as-only
peer reflect-client
Syntax
peer
{
group-name
|
ip-address
}
reflect-client
undo peer
{
group-name
|
ip-address
}
reflect-client
View
BGP-VPNv4 subaddress family view, BGP-L2VPN address family view
Default Level
2: System level
Parameters
group-name
: Name of the peer group, a case-sensitive string of 1 to 47 characters.