How do I enable/disable a specific security policy rule via the CLI on USG FLEX series devices?
Options
Zyxel_Luna
Zyxel Employee
Zyxel Employee
The following example uses the USG FLEX 100 model.
To enable or disable an existing security policy rule on a USG FLEX device via the CLI, use the following commands to enter the security policy sub-command mode and apply the changes:
- usgflex100 > show secure-policy
- (Optional) Check existing rule numbers
- usgflex100 >configure terminal
- Enter configuration mode.
- usgflex100 > secure-policy <rule_number>
- Enter secure policy sub-command mode for the specified
<rule_number>
- Enter secure policy sub-command mode for the specified
- usgflex100 > activate
- Activate to this existing rule. If you want to disable this rule, enter
no activate.
- Activate to this existing rule. If you want to disable this rule, enter
- usgflex100 > exit
- usgflex100 > write
- Remember to exit the secure-policy mode and enter “write” to save the changes.
References and Official Documentation
USG FLEX 100 CLI Reference Guide:
https://download.zyxel.com/USG_FLEX_100/cli_reference_guide/USG FLEX 100_V4.10–5.42Ed1.pdf
- Page 218: Security policy commands
- Page 221: Security policy sub-commands
- Page 224: Configuration examples
Other Models:Download the corresponding CLI reference guide from the official Zyxel website:
Note: This article describes how to enable or disable an individual security policy rule (e.g., secure-policy rule 8). If you want to enable or disable the entire Security Policy feature module via the CLI rather than a specific rule, please refer to:
0
Categories
- All Categories
- 442 Beta Program
- 3.1K Nebula
- 237 Nebula Ideas
- 6.8K Security
- 740 USG FLEX H Series
- 376 Security Ideas
- 1.8K Switch
- 87 Switch Ideas
- 1.5K Wireless
- 58 Wireless Ideas
- 7.2K Consumer Product
- 319 Service & License
- 512 News and Release
- 99 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.3K FAQ
- 34 Documents
- 91 About Community
- 119 Security Highlight