Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 5 BGP Configuration
Huawei Technologies Proprietary
5-11
5.2.4 Configuring route filtering of peer (group)
Quidway S3500 series switches support filtering imported and advertised routes for
peers (groups) through Route-policy, AS path list , ACL and ip prefix list.
The route filtering policy of advertised routes configured for each member of a peer
group must be same with that of the peer group but their route filtering policies of
ingress routes may be different.
Please perform the following configurations in BGP view.
I. Configuring route policy for a peer (group)
Table 5-17 Configuring route policy for a peer (group)
Operation Command
Configure the route policy for
a peer (group)
peer { peer-address | group-name } route-policy
route-policy-name { import | export }
Remove the route policy of a
peer (group)
undo peer { peer-address | group-name }
route-policy policy-name { import | export }
By default, no route policy is applied on peer (group).
II. Configuring route filtering policy based on IP ACL for a peer (group)
Table 5-18 Configuring route filtering policy based on IP ACL for a peer (group)
Operation Command
Configure the route filtering policy
based on IP ACL for a peer (group)
peer { peer-address | group-name }
filter-policy acl-number { import | export }
Remove the route filtering policy
based on IP ACL of a peer (group)
undo peer { peer-address | group-name }
filter-policy acl-number { import | export }
By default, route filtering based on IP ACL for a peer (group) is disabled.
III. Configuring route filtering policy based on AS path list for a peer (group)
Table 5-19 Configuring route filtering policy based on AS path list for a peer (group)
Operation Command
Configure the route filtering policy
based on AS path list for a peer
(group)
peer { peer-address | group-name }
as-path-acl acl-number { import | export }
Remove the route filtering policy
based on AS path list of a peer
(group)
undo peer { peer-address | group-name }
as-path-acl acl-number { import | export }