Command Reference Guide
3Com Router 5000 Family and Router 6000 Family peer public-as-only ● 105
Command Reference
peer public-as-only
Purpose Use the peer public-as-only command to configure only to carry public AS
number rather than private AS number when BGP sends update packets.
Use the undo peer public-as-only command to configure to carry private AS
number when BGP sends update packets.
Syntax peer group-name public-as-only
undo peer group-name public-as-only
Parameters group-name
Name of the peer group.
Default By default, the private AS number is carried when BGP sends update packets.
Example Configure not to carry private AS number when BGP sends update packets to peer
group named test.
[3Com-bgp-af-mul] peer test public-as-only
View This command can be used in the following views:
■ IPv4 Multicast Subaddress Family view
Description Generally, BGP sends update packets with the AS number (which can be either the
public AS number or private AS number). To enable some external routers to ignore
the private AS number when sending update packets to configure not to carry the
private AS number when BGP sends update packets.