Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 5 BGP Configuration
Huawei Technologies Proprietary
5-23
Caution:
You can define multiple filtering rules (permit or deny) for an ACL. A BGP route
matches an ACL if it matches a rule of the ACL.
5.4.6 Configuring the BGP Route Advertising Policy
Table 5-9
Configure the BGP route advertising policy
Operation
Command
Description
Enter system view
system-view
—
Enable BGP, and enter
BGP view
bgp
as-number
Required
By default, BGP is
disabled.
Filter the advertised
routes
filter-policy
{
acl-number
|
ip-prefix
ip-prefix-name
}
export
[
protocol
[
process-id
]
]
Required
By default, advertised
routes are not filtered.
Specify a route
advertising policy for the
routes advertised 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.
Specify an
ACL-base
d BGP
route
filtering
policy for a
peer group
peer
group-name
filter-policy
acl-number
export
Specify an
AS path
ACL–base
d BGP
filtering
policy for a
peer group
peer
group-name
as-path-acl
acl-number
export
Filter the
routing
informatio
n to be
advertised
to a peer
group
IP
prefix-bas
ed BGP
route
filtering
policy for a
peer group
peer
group-name
ip-prefix
ip-prefix-name
export
Required
By default, a peer group
has no peer group-based
ACL BGP route filtering
policy, AS path ACL-based
BGP route filtering policy,
or IP prefix list-based BGP
route filtering policy
configured.