show ip-rule

Last Updated : Nov 06, 2012 |

Displays the attributes of a specific rule. Leave the rule_number parameter blank to display all rules.

Syntax

show ip-rule [rule_number]

Parameters

Parameter

Description

Possible Values

Default Value

rule_number

The specific rule for which attributes are displayed

User level

read-write

Context

ip access-control-list, ip access-control-list/ip-rule, ip qos-list, ip qos-list/ip-rule, ip capture-list, ip capture-list/ip-rule, ip pbr-list, ip pbr-list/ip-rule

Example

To display information about ip rule 22 in access-control-list 320:

Gxxx-001(ACL 320/ip rule 22)# show ip-rule 22
I.D.  Protocol IP  Wildcard         Port      Operation
----- -------- --- ---------------- --------- ----------
22    Ip       Src                  Any       permit
               Dst                  Any