# Cisco Nexus Switch

## CISCO NEXUS SWITCH&#x20;

To forward Cisco Nexus Switch logs, make the following configuration&#x20;

Type the following command to switch to configuration mode:&#x20;

`config t`&#x20;

Type the following commands:&#x20;

`logging server <IP ADDRESS OF LOG COLLECTOR> <SEVERITY>`&#x20;

Type the following to configure the interface for sending syslog events:&#x20;

`logging source-interface loopback`&#x20;

Type the following command to save your current configuration as the start-up configuration:&#x20;

`copy running-config startup-config`&#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-nexus-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.
