Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 IP Routing Policy Configuration
Huawei Technologies Proprietary
6-8
Table 6-6 Configuring to filter the received route
Operation Command
Configure to filter the received routing
information distributed by the specified
address
filter-policy gateway ip-prefix-name
import
Cancel the filtering of the received
routing information distributed by the
specified address
undo filter-policy gateway
ip-prefix-name import
Configure to filter the received global
routing information
filter-policy { acl-number | ip-prefix
ip-prefix-name } [ gateway ] import
Cancel the filtering of the received
global routing information
undo filter-policy { acl-number |
ip-prefix ip-prefix-name } [ gateway ]
import
II. Configuring to filter the distributed routes
Define a policy concerning route distribution to filter the routing information not
satisfying the conditions while distributing routes with the help of an ACL or address
ip-prefix.
Perform the following configuration in routing protocol view.
Table 6-7 Configuring to filter the distributed routes
Operation Command
Configure to filter the routes
distributed by the protocol
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]
Cancel the filtering of the routes
distributed by the protocol
undo filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ routing-process ]
By far, the route policy supports importing the routes discovered by the following
protocols into the routing table:
direct: The hop (or host) to which the local interface is directly connected.
static: Static Route Configuration
rip: Route discovered by RIP
ospf: Route discovered by OSPF
ospf-ase: External route discovered by OSPF
ospf-nssa: NSSA route discovered by OSPF
bgp: Route acquired by BGP
If routing-process is BGP, you should also specify the process number or AS number
accordingly.