3com 4500 PWR 26-PORT 用户手册
IP Routing Policy Configuration Commands
167
Example
Display the information of the address prefix list named to p1.
<4500>display ip ip-prefix p1
name
index conditions ip-prefix / mask GE LE
p1
10 permit 10.1.0.0/16 17 18
display route-policy
Syntax
display route-policy [
route_policy_name ]
View
All views
Parameter
route_policy_name
Specify displayed Route-policy name.
Description
Use the
display route-policy
command to view the configured Route-policy
Related command:
route-policy
.
Example
Display the information of Route-policy named as policy1.
<4500>display route-policy policy1
Route-policy : policy1
Permit 10 : if-match (prefixlist) p1
apply cost 100
matched : 0 denied : 0
Table 23 Output Description of the
display ip-ip prefix
Command
Field
Description
name
Name of ip-prefix
index
Internal sequence number of ip-prefix
conditions
Mode: permit or deny
ip-prefix
Address and network segment length of ip-prefix
GE
Greater-equal value of ip-prefix network segment length
LE
Less-equal value of ip-prefix network segment length
Table 24 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
conditions defined by if-match clause
■
matched — Number of routes matchng the conditions set by if-match
clause
clause
■
denied — Number of routes not matching the conditions set by if-match
clause
clause