Route Policy Output
The following table describes route policy output fields.
Table 65:
Route Policy Output Fields
Label | Description |
Policy | Displays a list of route policy names. |
Description | Displays the description of each route policy. |
Policies | The total number of policies configured. |
The following route policy commands are displayed with different command parameter options:
show router policy
show router policy admin
show router policy “BGP to RIP”
show router policy damping
show router policy “pol1” sub-pol entry 10 name “pol2”
The show router policy command displays all configured route policies.
A:ALA-1# show router policy
===============================================================================
Route Policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
Direct And Aggregate Policy Statement ABC
-------------------------------------------------------------------------------
Policies :
===============================================================================
A:ALA-1#
The show router policy admin command is similar to the info command which displays information about the route policies and parameters.
A:ALA-1# show router policy admin
prefix-list "All-Routes"
prefix 0.0.0.0/0 longer
prefix 2.0.0.0/8 longer
prefix 3.0.0.0/8 longer
prefix 4.0.0.0/8 longer
prefix 5.0.0.0/8 longer
prefix 6.0.0.0/8 exact
prefix 224.0.0.0/24 longer
exit
...
A:ALA-1#
The show router policy name command displays information about a specific route policy.
show router policy “BGP To RIP”
description "Policy Statement For 'BGP To RIP'"
entry 10
description "Entry For Policy 'BGP To RIP"
from
protocol bgp
exit
to
protocol rip
exit
action accept
metric set 1
next-hop 10.0.18.200
tag 805
exit
exit
default-action reject
A:ALA-1#
The show router policy damping command displays information about the route policy damping configurations.
A:ALA-1# show router policy damping
=============================================
Route Damping Profiles
=============================================
damping "TEST-LOW"
half-life 22
max-suppress 720
reuse 10000
suppress 15000
exit
damping "TEST-HIGH"
half-life 22
max-suppress 720
reuse 1000
suppress 5000
exit
damping "TEST-MEDIUM"
half-life 22
max-suppress 720
reuse 5000
suppress 11000
exit
=============================================
A:ALA-1#
The show router policy name sub-policy entry entry-id name subpol_name command displays information about the subroutine called by an entry of the route policy. In the following sample output, the term “telenet” is the value of a variable.
show router policy “BGP To RIP”
*A:Dut-B# show router policy "pol1" sub-policy entry 10 name "pol2"
===============================================================================
pol1 entry 10 sub-policies
===============================================================================
-------------------------------------------------------------------------------
Level1 Sub-policy : pol2 Parent-policy : pol1, Parent-entry 10
-------------------------------------------------------------------------------
entry 20
from
community "telenet"
exit
exit
===============================================================================