# Cisco IOS Switch

## Cisco IOS Switch&#x20;

Follow the below steps to configure the Cisco IOS Switch:&#x20;

1. Login to the Cisco IOS console or Telnet to the device.&#x20;
2. Change the configuration mode of the device. &#x20;

Use the following command:&#x20;

configure terminal&#x20;

1. Enable logging by using the following commands:&#x20;

`logging on`&#x20;

`logging trap informational`&#x20;

`logging <IP Address of Log Collector>`&#x20;

1. If there is a Firewall module in the IOS device, use the following command to enable audit trail. This will generate traffic information.&#x20;

`ip inspect audit-trail`&#x20;

For more information, refer the Cisco IOS Switch documentation.&#x20;

##


---

# Agent Instructions: 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:

```
GET https://docs.blusapphire.io/log-forwarding/03_log-forwarding-guide/log-forward/cisco/cisco-ios-switch.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
