Forum Discussion

fubarSUSHI's avatar
fubarSUSHI
Icon for Altocumulus rankAltocumulus
Oct 29, 2013

Noob question on formatting on these forums?

How do I format a response to a question? I know... vague right?

 

For example, I wanted to reply by using an iRule but due to the forum formatting... it all goes into one line. I am noticing persons replying, with iRule responses, and it is a "gray windowed box with the correct formatting. I am wondering how to get that "grey windowed box?"

 

2 Replies

  • Thank you kind sir! I think I got it now... my cheap example of iRule SNAT in progress...

    when CLIENT ACCEPTED {
     if { [class match [IP::client_addr] equals "datagroup"]} {
     snatpool "snatpool"
     }
    }
    
  • Pretty close. You don't technically need the quotation marks around the data group and snat pool names.

    when CLIENT ACCEPTED {
        if { [class match [IP::client_addr] equals my_datagroup]} {
            snatpool snatpool
        }
    }