
C613-50186-01 Rev B
Command Reference for AR2050V
1433
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
P
OLICY
-
BASED
R
OUTING
C
OMMANDS
SHOW
PBR
RULES
show pbr rules
Overview
Use this command to display the configured IPv4 and IPv6 policy routes. It also
shows the validity of the policy routes.
Syntax
show pbr rules
Mode
User Exec/Privileged Exec
Example
To show information about the policy routes, use the command:
awplus#
show pbr rules
Output
Figure 31-5:
Example output from
show pbr rules
awplus#show pbr rules
Policy based routing is enabled
Rule Match From To Valid Nexthop
------------------------------------------------------------------
10 any entities.any entities.outside Yes 10.10.20.2
20 udp any any Yes 2001:100::2
Table 31-1: Parameters in the output from
show pbr rules
Parameter
Description
Rule
The policy route ID number.
Policy routes are checked in order of ID number, starting
with the lowest ID number. The device applies the policy
route as soon as it finds a matching route; it does not
check the remaining policy routes.
Match
The name of an application.
Packets will be routed to the specified next hop if they
match this application, come from the source entity, and
are destined for the destination entity.
From
The name of the source entity.
Packets will be routed to the specified next hop if they
match the application, come from this source entity, and
are destined for the destination entity.
To
The name of the destination entity.
Packets will be routed to the specified next hop if they
match the application, come from the source entity, and
are destined for this destination entity.