P
-
R
C
OLICY
BASED
OUTING
OMMANDS
SHOW IP PBR ROUTE
show ip pbr route
Overview
Use this command to display the installed IPv4 routes for policy-based routing.
show ip pbr route [<1-128>]
Syntax
Mode
User Exec/Privileged Exec
Usage
If you do not specify a policy routeID, the output starts by listing the ordinary static
and dynamic routes, in a table called "main".
Example
To show all the IPv4 routes, use the following command:
awplus#
Output
Figure 31-1: Example output from show ip pbr route
If you do not specify a policy routeID, the output starts by listing the ordinary static
and dynamic routes, in the route table called "main".
Then it lists the routes for each policy route.
For each route, the output lists the route's next-hop IP address and/or the
next-hop interface.
Example
To show only the routes for policy route 20, use the following command:
awplus#
C613-50186-01 Rev B
Parameter
Description
<1-128>
The policy route ID. If you specify a policy route ID, the output
only lists routes for that ID. If you do not specify an ID, the output
also lists the conventional static and dynamic routes, in the table
called "main".
show ip pbr route
awplus#show ip pbr route
Route table: main
10.33.11.0/24 via 10.37.236.65, eth1
10.37.236.64/27 is directly connected, eth1
172.31.0.0/17 is directly connected, vlan4092
192.168.1.0/24 is directly connected, vlan2
Route table: policy-route 10
Route table: policy-route 20
default via 10.37.236.65, ppp0
show ip pbr route 20
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
1429