Hoe configureer ik een SNMP-community-tekenreeks op MDS- en Nexus-switches voor lees-, schrijftoegang?

Summary: Hoe configureer ik een SNMP-community-tekenreeks op MDS- en Nexus-switches voor lees-, schrijftoegang?

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Vraag

Hoe configureer ik een SNMP-community-tekenreeks op MDS- en Nexus-switches?

Feiten

Cisco MDS Switch
Cisco Nexus Switch
SNMP
Community String

Antwoord

De juiste opdracht om een SNMP-community-tekenreeks te configureren voor lees-/schrijftoegang, d.w.z. wat andere systemen zullen gebruiken om toegang te krijgen tot de switch (zoals VCE Vision), is snmp-servercommunity:
Syntax:
snmp-server community name group {ro | rw}

Example:
switch(config)# snmp-server community public ro 
 

Houd er rekening mee dat de groepen ro en rw automatisch kunnen converteren naar respectievelijk netwerk-operator en netwerkadministrator.  Deze termen zijn verwisselbaar.


SNMP-traps worden geconfigureerd via de hostopdracht van de snmp-server, waarvoor ook een community-tekenreekswaarde is vereist om MET de traps te verzenden.  Deze opdracht configureert of schakelt geen SNMP-community-tekenreeks in voor lees-/schrijftoegang.


Zie ook: Nexus 5000 CLI configuratiehandleiding Koppeling van derden

Additional Information

VCE-systeem Alle
Component MDS, Nexus

Affected Products

Connectrix MDS-Series
Article Properties
Article Number: 000204944
Article Type: How To
Last Modified: 18 Apr 2023
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.