Command Manual - Routing Protocol
Quidway S6500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-26
View
BGP view
Parameter
acl-number: Number of IP access control list.
ip-prefix-name: Name of ip prefix list. The length of ip-prefix-name ranges from 1 to 19
character string.
protocol: Specified protocols advertising routing information which include direct, ospf,
ospf-ase, ospf-nssa, rip, isis and static.
Description
Using filter-policy export command, you can filter the advertised routes and only the
routes passing the filter can be advertised by BGP. Using undo filter-policy export
command, you can cancel the filtration to the advertised routes.
By default, filtration to the received routing information is not configured.
If the parameter protocol is specified, only the imported route generated by the
specified protocol is filtered and the imported routes generated by other protocols are
not affected. If the parameter protocol is not specified, the imported route generated by
any protocol will be filtered.
Example
# Use ACL 2000 to filter the routing information advertised by BGP.
[Quidway-bgp] filter-policy 2000 export
5.1.27 filter-policy import
Syntax
filter-policy gateway ip-prefix-name import
undo filter-policy gateway ip-prefix-name import
filter-policy { acl-number | ip-prefix ip-prefix-name } import
undo filter-policy { acl-number | ip-prefix ip-prefix-name } import
View
BGP view
Parameter
acl-number: Number of IP access control list, ranging from 2000 to 3999.
ip-prefix-name: Name of address prefix list. The length of ip-prefix-name ranges from 1
to 19 character string.