Broadcom recommends executing policy changes using Management Console, however in some cases it may be needed to allow or block access to a website using CLI. This article explains how to do it.
Example:
EdgeSWG#(config)inline policy local EOF
<proxy>
url.domain=”example.com” Allow
EOF
ok
EdgeSWG#(config)
IMPORTANT: Above procedure will overwrite existing local policy. If your local policy is not empty and you would like to add a new rule you need to paste full local policy configuration + a new rule you wish to add.
EdgeSWG#(config)inline policy local EOF
##ADD YOUR EXISTING POLICY ON TOP PORTION HERE##
<proxy>
url.domain=”example.com” Allow
EOF
ok
EdgeSWG#(config)