IP Routing Policy Configuration Commands 223
Example
Display the information of Route-policy named as policy1.
<SW5500>display route-policy policy1
Route-policy : policy1
Permit 10 : if-match (prefixlist) p1
apply cost 100
matched : 0 denied : 0
filter-policy export Syntax
filter-policy {
acl_number
| ip-prefix
ip_prefix_name
} export [
protocol
]
undo filter-policy {
acl_number
| ip-prefix
ip_prefix_name
} export
[
protocol
]
View
Routing Protocol view
Parameter
acl_number
Enter the number of the access control list used for matching the
destination address field of the routing information.
ip_prefix_name
Enter the address prefix list used for matching the routing
information destination address field.
protocol
Enter the routing information of which kind of route protocol to be
filtered.
Description
Use the filter-policy export command to configure to set the filtering
conditions of the routing information advertised by a certain type of routing
protocols.
Use the undo filter-policy export command to cancel the filtering conditions
set.
By default, the advertised routing information is not filtered.
Table 40 Output Description of the display route-policy Command
Field Description
Route-policy Name of ip-prefix
Permit 10 Information of the route-policy with mode as permit and node as 10:
■ if-match (prefixlist) p1 — The configured if-match clause
■ apply cost 100 — Apply routing cost 100 to the routes matching the
conditions defined by if-match clause
■ matched — Number of routes matchng the conditions set by if-match
clause
■ denied — Number of routes not matching the conditions set by if-match
clause