Forum Discussion

demmo_251289's avatar
demmo_251289
Icon for Nimbostratus rankNimbostratus
Nov 17, 2016

Easy way to enter hundred of redirects

Which is the easy way to enter hundreds of redirects into BigIP without entering line by line ? can we upload a file ?

 

Thanks

 

6 Replies

  • Yes.

     

    On the Main tab, click System > File Management > iFile List > Import

     

    That will provide it as an iFile, but you haven't provided any use case once the file is uploaded so iFile might not be what you're after.

     

    • demmo_251289's avatar
      demmo_251289
      Icon for Nimbostratus rankNimbostratus

      I created a Data Group List and I can see I have the option to import a file. Do you know what format the file should have or is there an example somewhere ?

       

      Thanks

       

    • ekaleido_26616's avatar
      ekaleido_26616
      Icon for Cirrocumulus rankCirrocumulus

      It can have any format, but if you want to use it in an iRule (to compare one path and redirect to another) I think you'd be better served formatting it like a datagroup and copying it into your bigip.conf.

       

  • Yes.

     

    On the Main tab, click System > File Management > iFile List > Import

     

    That will provide it as an iFile, but you haven't provided any use case once the file is uploaded so iFile might not be what you're after.

     

    • demmo_251289's avatar
      demmo_251289
      Icon for Nimbostratus rankNimbostratus

      I created a Data Group List and I can see I have the option to import a file. Do you know what format the file should have or is there an example somewhere ?

       

      Thanks

       

    • ekaleido's avatar
      ekaleido
      Icon for Cirrus rankCirrus

      It can have any format, but if you want to use it in an iRule (to compare one path and redirect to another) I think you'd be better served formatting it like a datagroup and copying it into your bigip.conf.