policy [name | prefix-list [name] | admin]
show>router
Supported on all 7210 SAS platforms as described in this document
This command displays configured policy statement information.
Displays information similar to the info command, for a specific policy-statement. If a name is provided, the matching policy-statement displays. If no statement name is specified, a list of all policies statements and descriptions display.
Displays the prefix lists configured in the route policy.
Displayed the entire policy option configuration, including any un-committed configuration changes. This command is similar to the info command.
The following outputs are examples of policy information, and Table: Output fields: show route policy describes the output fields:
The show router policy command displays all configured route policies.
*A:7210-2# show router policy
===============================================================================
Route Policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
block-igmp Reject-Reports-From-Specific-Group-And-Host
permit-igmp Accept-Reports-From-Specific-Group-And-Host
-------------------------------------------------------------------------------
Policies : 2
===============================================================================
*A:7210-2#
Sample output for router policy admin
The show router policy admin command is similar to the info command, which displays information about the route policies and parameters.
*A:7210-2# show router policy admin
prefix-list "host"
prefix 10.0.0.0/8 longer
exit
prefix-list "group"
prefix 10.6.6.6/32 exact
exit
policy-statement "block-igmp"
description "Reject-Reports-From-Specific-Group-And-Host"
entry 1
from
host-ip "host"
exit
action next-entry
exit
exit
entry 2
from
group-address "group"
exit
action reject
exit
default-action accept
exit
exit
policy-statement "permit-igmp"
description "Accept-Reports-From-Specific-Group-And-Host"
entry 1
from
host-ip "host1"
group-address "group1"
exit
action accept
exit
exit
default-action reject
Sample output for router policy name
The show router policy name command displays information about a specific route policy.
*A:7210-2# show router policy permit-igmp
description "Accept-Reports-From-Specific-Group-And-Host"
entry 1
from
host-ip "host1"
group-address "group1"
exit
action accept
exit
exit
default-action reject
*A:7210-2#
The show router policy prefix-list command, lists the prefix
-lists configured in the route policy.
*A:7210-2# show router policy prefix-list
==================================
Prefix Lists
==================================
Prefix List Name
----------------------------------
host
group
----------------------------------
Num Prefix Lists: 2
==================================
*A:7210-2#
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 |