3Com S7902E Command Reference Manual - page 1271
1-35
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address
: IP address of an IPv4 MBGP peer.
as-path-acl-number
: AS path ACL number, in the range 1 to 256.
export
: Filters outgoing routes.
import
: Filters incoming routes.
Description
Use the
peer as-path-acl
command to configure the filtering of routes incoming from or outgoing to a
peer/peer group based on a specified AS path ACL.
Use the
undo peer as-path-acl
command to remove the filtering.
By default, no AS path ACL based filtering is configured.
Related commands:
ip as-path
,
if-match as-path
and
apply as-path
(refer to
IP Route policy
Commands
in the
IP Routing Volume
).
Examples
# In IPv4 MBGP address family view, reference the AS path ACL 1 to filter routes outgoing to the peer
group
test
.
[Sysname]bgp 100
[Sysname-bgp]group test external
[Sysname-bgp]peer test as-number 200
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test as-path-acl 1 export
peer default-route-advertise (MBGP family view)
Syntax
peer
{
group-name
|
ip-address
}
default-route-advertise
[
route-policy route-policy-name
]
undo peer
{
group-name
|
ip-address
}
default-route-advertise
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name
: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address
: IP address of an IPv4 MBGP peer.