4-2 
apply tag 
Syntax 
apply tag value 
undo apply tag 
View 
Route policy view 
Parameters 
value: Tag value of a route, in the range of 0 to 4294967295. 
Description 
Use the apply tag command to configure a tag for a route.  
Use the undo apply tag command to remove the configuration. 
By default, no tag is configured for a route. 
Related commands: if-match interface,  if-match acl,  if-match ip-prefix,  if-match ip next-hop, 
if-match cost, if-match tag, route-policy, apply cost. 
Examples 
# Create a routing policy named policy and node 1 with the matching mode being permit. Apply the tag 
100 to routes matching ACL 2000. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] route-policy policy permit node 1 
  %New sequence of this list 
[Sysname-route-policy] if-match acl 2000 
[Sysname-route-policy] apply tag 100 
display ip ip-prefix 
Syntax 
display ip ip-prefix [ ip-prefix-name ] 
View 
Any view 
Parameters 
ip-prefix-name: Name of an IP-prefix, a string of up to 19 characters. 
Description 
Use the display ip ip-prefix command to display information about an IP-prefix(es).  
When ip-prefix-name is not specified, information about all the configured IP-prefixes is displayed. 
Related commands: ip ip-prefix.