How do i activate a security role using CLI on a USG Flex 100 (NON H Modell)

Options
Chris68
Chris68 image  Freshman Member

Hi,

i`m trying to activate a existing security role on a USG Flex 100

I`m using Putty to connect

Connected, "configure terminal" works.

But once i try to switch to the subdirectory using "secure-policy" i get "command not found"

What`s the correct syntax?

Thanks

All Replies

  • Zyxel_Luna
    Zyxel_Luna image  Zyxel Employee
    5 Answers First Comment Friend Collector
    edited September 3
    Options

    Hi @Chris68,

    You can use the following commands to enter the secure policy sub-command mode to activate an existing rule:

    1. #configure terminal
      1. Enter configuration mode.
    2. #secure-policy <rule_number>
      1. Enter secure policy sub-command mode for the specified <rule_number>
    3. #activate
      1. Activate this existing rule.
    4. #exit
    5. #write
      1. Remember to exit the secure-policy mode and enter “write” to save the changes.
    螢幕擷取畫面 2026-08-11 135307.png 螢幕擷取畫面 2026-08-11 135205.png

    If you want to check your existing rule numbers first:

    #show secure-policy

    Here is the CLI Reference Guide for the USG FLEX 100:
    https://download.zyxel.com/USG_FLEX_100/cli_reference_guide/USG FLEX 100_V4.10–5.42Ed1.pdf

    • You can review the commands related to Secure-policy starting on page 218, refer to page 221 for sub-commands, and check page 224 for Secure Policy Command Examples.

    If you are still unable to run the commands successfully, please provide the full command syntax you entered so we can assist you further.

    Hope this helps! Feel free to let us know if you need further assistance.

    Note:
    If your device is managed in Nebula mode, the local CLI interface can only be used for monitoring and debugging—it cannot be used to apply configuration changes.

    Please refer to the following FAQs:

    How do I enable/disable a specific security policy rule via the CLI on USG FLEX series devices?