5-3
Examples
# Display the information about the address prefix list named p1.
<Sysname> display ip ip-prefix p1
name index conditions ip-prefix / mask GE LE
p1 10 permit 10.1.0.0/16 17 18
Table 5-1 Description on the fields of the display ip ip-prefix command
Field Description
name Name of an IP-prefix
index Internal sequence number of an IP-prefix
conditions
Matching mode, including
permit
deny
ip-prefix / mask IP prefix/mask length for matching IP prefixes
GE
Greater-equal, that is, lower limit of subnet mask length of the matched IP
address
LE
Less-equal, that is upper limit of subnet mask length of the matched IP
address
display route-policy
Syntax
display route-policy [ route-policy-name ]
View
Any view
Parameters
route-policy-name: Name of a routing policy, a string of up to 19 characters.
Description
Use the display route-policy command to display information about routing policies.
If you do not specify a route policy name, this command displays all route-policies configured.
Related commands: route-policy.
Examples
# Display information about routing policy named policy1.
<Sysname> display route-policy policy1
Route-policy : policy1
Permit 10 : if-match (ip-prefix) p1
apply cost 100