Dell Networking N serie switch: SNMP configureren

Summary: Simple Network Management Protocol (SNMP) configureren op switches uit de Dell Networking N-serie voor netwerkbewaking.

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.

Symptoms

Inleiding

In dit artikel worden de stappen beschreven voor het configureren van SNMP op een Dell switch uit de N-serie.

Componenten van SNMP

  • SNMP Manager
  • SNMP Agent
  • Community-tekenreeks

SNMP Manager

  • De SNMP Manager is meestal een computer die wordt gebruikt om een of meer netwerkbeheersystemen (NMS) uit te voeren.
  • De SNMP-manager is verantwoordelijk voor de communicatie met de SNMP-agent op de netwerkapparaten. (Switches, routers, servers, enz.)

SNMP Agent

  • SNMP-agent is een programma dat is verpakt in de netwerkelementen (switches, routers, servers, enzovoort).
  • Door de agent op het netwerkelement in te schakelen, kan deze informatie van het apparaat verzamelen en deze beschikbaar stellen aan de SNMP-manager wanneer hierom wordt gevraagd.

Community-tekenreeks

  • De SNMP Community String is als een gebruikers-id of wachtwoord dat wordt meegestuurd met elke SNMP-aanvraag waarmee toegang tot een netwerkelement (switches, routers, servers, enz.) wordt toegestaan of geweigerd.
  • Als de community-tekenreeks correct is, reageert het apparaat met de gevraagde informatie. Als de community-tekenreeks onjuist is, negeert het apparaat het verzoek gewoon.

SNMP-agent en -manager

SLN317470_en_US__1image(12036)


Opdrachten voor het implementeren van SNMP

Schakelopdrachten Beschrijving
console# configure Om naar de switchconfiguratiemodus te gaan.
console(config)# snmp-server community "community string" [ro | rw] Maak de community-tekenreeks en geef aan of beheerstations alleen-lezen (configuratie ophalen ophalen) of lezen/schrijven (configuratie ophalen en instellen) hebben
console(config)# snmp-server enable traps all Hiermee kunnen traps naar het beheerstation worden verzonden zodra ze worden geactiveerd.
console(config)# snmp-server host xx.xx.xx.xx "community string" Configureert de host- en communitytekenreeks waarnaar traps worden verzonden bij een geactiveerde gebeurtenis.

 

SLN317470_en_US__2icon Wanneer SNMP is ingeschakeld, voert de switch standaard versie V2c uit.

 

Voorbeeld van SNMP-configuratie

console# configure

console(config)# snmp-server community test ro

Sample Output

console(config)# show snmp

Community-String     Community-Access View Name        IP Address       IP Mask
-------------------- ---------------- ---------------- ---------------- ----------------

test                  Read Only        Default          All              All


Community-String     Group Name                     IP Address       IP Mask
-------------------- ------------------------------ ---------------- ----------------

test                  DefaultRead                    All              All

Cause

.

Resolution

.

Affected Products

PowerSwitch N1100-ON Series, PowerSwitch N1500 Series, PowerSwitch N2000 Series, PowerSwitch N2100 Series, PowerSwitch N3000 Series, Dell EMC PowerSwitch N3000E-ON Series, PowerSwitch N4000 Series
Article Properties
Article Number: 000135459
Article Type: Solution
Last Modified: 10 Apr 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.