DrayTek UK Users' Community Forum

Help, Advice and Solutions from DrayTek Users

Command Line Config

  • tisl
  • Topic Author
  • User
  • User
More
24 Nov 2017 17:54 #1 by tisl
Command Line Config was created by tisl
Is there a command line to allow a comment to be added to a filrewall filter set and filter set rule.

I have added rules but they have no names.

eg
ipf rule 12 1 -S "u 6 0,1,65535 0,25,25"
ipf rule 12 1 -s "g 32" -d "u 2" -F "0 0"
ipf rule 12 1 -D 1
ipf rule 12 1 -e 1

Please Log in or Create an account to join the conversation.

  • hornbyp
  • User
  • User
More
24 Nov 2017 22:54 #2 by hornbyp
Replied by hornbyp on topic Re: Command Line Config
From the 2860's ipf command help :-

Code:
-M "": Set comments for the Set's rule.

looks a likely contender.

But can't you just add the name/comment via the GUI?

Please Log in or Create an account to join the conversation.

  • tisl
  • Topic Author
  • User
  • User
More
27 Nov 2017 09:20 #3 by tisl
Replied by tisl on topic Re: Command Line Config
My appologies, this will be on a bunch of 2830's

Tried -M but not a valid command

Having to add a firewall rule to a bunch of 2830's with different configs.

Thanks for the reply

Please Log in or Create an account to join the conversation.