Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMINST-6711 - Command Mismatch When Setting up SNMP on Dell and Mellanox switches #5574

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 44 additions & 10 deletions operations/network/management_network/dell/snmp-community.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,59 @@
# Configure SNMPv2c Community
# Configure SNMPv2c community

The switch supports SNMPv2c community-based security for read-only access.
The switch supports SNMPv2c community-based security for read-only and read-write access.

## Configuration Commands
## Configuration commands

Configure an SNMPv2c community name:
### Configure the SNMP community

1. Enter configuration mode.

```console
configure terminal
```

1. Configure the SNMPv2c community name

```console
snmp-server community community-name access-mode
```

Parameters:

| Parameter | Description |
|------------------|----------------------------------------------------------------------------------------------|
| `community-name` | The user defined name for this community. |
| `access-mode` | The access level for this community. Can be `ro` for read-only or `rw` for read-write access |

### Example

The following command configures a read-only SNMP community called "public".

```text
snmp-server community community-name
snmp-server community public ro
```

Show commands to validate functionality:
When successful this command returns no output.

```text
### Show configured SNMP community

The following command displays information about any SNMP community that may have been configured.

```console
show snmp community
```

Example output:

```text
Community : public
Access : read-only
```

## Expected Results

1. Administrators can configure the community name
2. Administrators can bind the SNMP server to the default VRF
3. Administrators can connect from the workstation using the community name
1. Administrators can configure the community name.
2. Administrators can bind the SNMP server to the default VRF.
3. Administrators can connect from the workstation using the community name.

[Back to Index](../README.md)
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ switch(config)# snmp-server user testuser v3 require-privacy
Show Commands to Validate Functionality

```console
show snmp users
show snmp user
```

[Back to Index](../README.md)
Loading