> For the complete documentation index, see [llms.txt](https://doc.engenius.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.engenius.ai/sw-cli-reference/access-control-and-security/security-features-configuration/web-based-authentication/set-web-proxy.md).

# set web-proxy

## **Command Name**

set web-proxy

## **Synopsis**

This command enables or disables the web-proxy feature on the switch.

## **Description**

The **set web-proxy** command is used to control the web-proxy functionality of a network switch. Enabling the web-proxy allows the switch to act as an intermediary for HTTP requests from clients within the network. This can be used for various purposes like caching, content filtering, or monitoring of web traffic. Disabling the web-proxy turns off these functionalities. This command is crucial for managing network traffic and implementing security policies related to web access.

## **Syntax**

<mark style="color:blue;">**`set web-proxy {enable | disable}`**</mark>

## **Parameters**

* **`enable`**: Activates the web-proxy feature on the switch.
* **`disable`**: Deactivates the web-proxy feature on the switch.

## **Options**

The command primarily has two options:

* **`enable`**: Turns on the web-proxy service.
* **`disable`**: Turns off the web-proxy service.

## **Examples**

* **To enable the web-proxy service on the switch:**

  ```markup
  set web-proxy enable

  ```
* **To disable the web-proxy service on the switch:**

  ```markup
  set web-proxy disable

  ```

## **Command Mode**

Global Configuration Mode

***

## **Summary**

The set web-proxy command is a straightforward yet powerful tool in network management, enabling administrators to effectively control web traffic through their switches. Activating the proxy can enhance network security and efficiency by filtering unwanted content and caching frequently accessed data. Conversely, disabling it might be necessary in scenarios requiring direct internet connections without intermediation. It's important to consider the broader network environment and security policies when toggling this feature, as it can significantly impact how clients access web resources.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.engenius.ai/sw-cli-reference/access-control-and-security/security-features-configuration/web-based-authentication/set-web-proxy.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
