225
To do…
Use the command…
Remarks
Reference an ACL to filter
advertisements to an IPv4 MBGP
peer/peer group
peer
{
group-name
|
ip-address
}
filter-policy
acl-number
export
Reference an AS path ACL to filter
route advertisements to an IPv4
MBGP peer/peer group
peer
{
group-name
|
ip-address
}
as-path-acl
as-path-acl-number
export
Reference an IP prefix list to filter
route advertisements to an IPv4
MBGP peer/peer group
peer
{
group-name
|
ip-address
}
ip-prefix
ip-prefix-name
export
Configuring inbound MBGP route filtering
MBGP route reception filtering policies can filter out unqualified routes from an MBGP peer or peer
group.
If several filtering policies are configured, they are applied in the following sequence:
•
filter-policy import
•
peer filter-policy import
•
peer as-path-acl import
•
peer ip-prefix import
•
peer route-policy import
Only the routes that have passed all the configured policies can be advertised.
Follow these steps to configure MBGP route reception filtering policies:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv4 MBGP address family
view
ipv4-family multicast
—
Filter incoming routes using an
ACL or IP prefix list
filter-policy
{
acl-number
|
ip-
prefix
ip-prefix-name
}
import
At least one of these approaches
is required.
No inbound route filtering is
configured by default.
Reference a routing policy to
routes from an IPv4 MBGP
peer/peer group
peer
{
group-name
|
ip-address
}
route-policy
policy-name
import
Reference an ACL to filter routing
information from an IPv4 MBGP
peer/peer group
peer
{
group-name
|
ip-address
}
filter-policy
acl-number
import
Reference an AS path ACL to filter
routing information from an IPv4
MBGP peer/peer group
peer
{
group-name
|
ip-address
}
as-path-acl
as-path-acl-number
import
Reference an IP prefix list to filter
routing information from an IPv4
MBGP peer/peer group
peer
{
group-name
|
ip-address
}
ip-prefix
ip-prefix-name
import
Содержание A5500 EI Switch Series
Страница 12: ...xii Conventions 425 Index 427 ...