policy id in-path rule edit rulenum discard
Edits an in-path rule that drops connections on the specified policy.
Syntax
[no] policy id <id> in-path rule edit rulenum <rulenum> discard [srcaddr <subnet>] [dstaddr <subnet>] [dstport <port>] | [description <description>] [rule-enable {true | false}]
Parameters
<id> | Policy ID number. |
rulenum <rulenum> | Rule number to edit: 1-N or start or end. |
srcaddr <subnet> | Specifies the source subnet, for this rule in the format XXX.XXX.XXX.XXX/XX. |
dstaddr <subnet> dstport <port> | Specifies the destination subnet and port for this rule. For the subnet address, use the format XXX.XXX.XXX.XXX/XX. For the port, you can specify a single port (number), a port label, or all to specify all ports. |
description <description> | Specifies a description of the rule. |
rule-enable | Enables (true) or disables (false) an in-path rule. |
Usage
Use the in-path rule discard command to add an in-path rule that drops connections.
For detailed information about in-path rules, see the SteelHead User Guide.
Example
amnesiac (config) # policy id 1 in-path rule edit rulenum 2 discard srcaddr 10.0.0.1/24 dstaddr 10.0.0.2/24 description example rule-enable true
Product
Client Accelerator
Related Commands