How to import a list of blocked URLs?

Zyxel_Judy
Zyxel_Judy Posts: 2,262  Zyxel Employee
Zyxel Certified Network Engineer Level 2 - Nebula Zyxel Certified Network Engineer Level 2 - Switch Zyxel Certified Network Engineer Level 2 - Security Zyxel Certified Network Engineer Level 1 - Nebula
edited June 10 in Maintenance

In case, you need to add a large number of blocked URLs, you can accomplish this by using the CLI for bulk importing. Please refer the steps as below:

1) Type or paste the URLs into notepad ++

image.png

2) Enter config mode and paste the list of URLs

Note: At line 4, copy the URL list from Notepad++, then right-click in the command line to paste all URLs.

Router> configure terminal

Router(config)# threat-website forbid-list activate

Router(config)# threat-website forbid

Router(Host)# www.google.com

Router(Host)# www.facebook.com

Router(Host)# www.instagram.com

Router(Host)# exit
Router(config)# write

Verification

Go to Configuration > Security Service > Reputation Filter > URL Threat Filter > Block List

image.png

Zyxel_Judy