3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 5 BGP Configuration Commands
5-32
Description
Use the
peer as-number
command to configure the AS number of a peer group.
Use the
undo peer as-number
command to delete the AS number of a peer group.
By default, no AS number is configured for a peer group.
Example
# Set the AS number for the peer named test to 100.
<3Com>system-view
System View: return to User View with Ctrl+Z.
[3Com] bgp 100
[3Com-bgp] peer test as-number 100
5.1.34 peer as-path-acl export
Syntax
peer
{
group-name
|
ip-address
}
as-path-acl
acl-number
export
undo peer
{
group-name
|
ip-address
}
as-path-acl
acl-number
export
View
BGP view/BGP multicast address family view
Parameter
group-name
: Name of the peer group, containing 1 to 47 characters.
ip-address
: IP address of a peer.
acl-number
: AS path ACL number, in the range of 1 to 199.
export
: Filter the advertised routes.
Description
Use the
peer as-path-acl
export
command to configure filtering Policy of BGP
advertised routes based on AS path list.
Use the
undo peer as-path-acl
command to cancel the existing configuration.
By default, no AS path ACL is configured for a peer group.
You can use the
peer as-path-acl export
command on a peer group. In the
peer
as-path-acl export
command, the acl-number argument is the AS path list number. It
is configured by using the
ip as-path-acl command
, instead of the
acl
command.
Related command:
peer as-path-acl import
and
ip as-path-acl.
Example
# Filter routes exported to the peer group (named test) based on AS path ACL 1.