Display Route-Policy - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

Parameters
value: Tag value, in the range 0 to 4294967295.
Description
Use the apply tag command to set a specified tag value for RIP routing information.
Use the undo apply tag command to remove the clause configuration.
No routing tag is set for RIP routing information by default.
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 ip-address next-hop, apply cost.
Examples
# Configure node 10 in permit mode of route policy policy1: If a route matches exsting ACL 2000, set
the tag of the route to 100.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match acl 2000
[Sysname-route-policy] apply tag 100

display route-policy

Syntax
display route-policy [ route-policy-name ]
View
Any view
Default Level
1: Monitor level
Parameters
route-policy-name: Route policy name, a string of 1 to 19 characters.
Description
Use the display route-policy command to display route policy information.
All route policy information will be displayed if no route-policy-name is specified.
Related commands: route-policy.
Examples
# Display the information of route policy 1.
<Sysname> display route-policy policy1
Route-policy : policy1
permit : 10
if-match ip-prefix abc
apply cost 120
6-3

Advertisement

Table of Contents
loading

Table of Contents