Routing
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 Routing Overview
1-22
Operation
Command
Description
Reference
an ACL to
filter BGP
routes from
a peer/peer
group
peer
{
group-name
|
ip-address
}
filter-policy
acl-number
import
Reference
an AS path
ACL to filter
routes from
a peer/peer
group
peer
{
group-name
|
ip-address
}
as-path-acl
acl-number
import
Filter the
routing
informatio
n from a
peer/peer
group
Reference
an IP prefix
list to filter
routes from
a peer/peer
group
peer
{
group-name
|
ip-address
}
ip-prefix
ip-prefix-name
import
Required
By default, no ACL-based
BGP route filtering policy,
AS path ACL-based BGP
route filtering policy, or IP
prefix list-based BGP route
filtering policy is configured
for a peer/peer group.
VI. Configure route advertisement filtering policies
Table 1-6
Configure route advertisement filtering policies
Operation
Command
Description
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Configure the global
route advertisement
filtering policy
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
[
process-id
]
]
Required
By default, advertised
routes are not filtered.
Reference a routing
policy to filter the routes
to a peer group
peer
group-name
route-policy
route-policy-name
export
Required
By default, no route
advertising policy is
specified for the routes
advertised to a peer group.