Displays the attributes of a specific rule. Leave the rule_number parameter blank to display all rules.
Prolog information
Metadata
Keywords:
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
Following is an example of the output that appears if DoS-classification is configured:
Index Protocol IP Wildcard Port Operation DSCP Fragment rule ----- ------ --- --------- -------------- ------ -------------- 123 Any Src 1.2.3.4 Host Any Permit Any Dst Any Any No Dos classification: other-attack 234 Any Src 2.2.2.2 Host Any Permit Any Dst Any Any No Dos classification: fraggle 345 Any Src 3.3.3.3 Host Any Permit Any Dst Any Any No Dos classification: ip-spoofing Deflt Any Src Any Any Permit Any Dst Any Any No