Forum Discussion

AndyOrd_5655's avatar
AndyOrd_5655
Icon for Nimbostratus rankNimbostratus
Feb 17, 2009

discard for dummies

Excuse me in advance if I'm asking a very "irule novice" question.

 

 

If I setup an irule and the end statement is discard what will this actually do with the request ? Ta.

1 Reply

  • Discard will cause LTM to drop the request packets from the client. Nothing else will happen on LTM until the idle timeout occurs. If the client hasn't already closed the connection, LTM will send a RST to the client.

     

     

    If you have questions on iRule commands, you can check the iRule wiki (Click here). A simple short cut is to just add the command or event to the end of this URL:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/

     

     

    So for discard it would be:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/discard

     

     

    If the command has colons, replace them with underscores. So HTTP::redirect would be:

     

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/http__redirect

     

     

    Aaron