Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Profitez de récompenses et de remises réservées aux membres
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerVault ME4 Series Storage System CLI Guide

PDF

set snmp-parameters

Description Sets SNMP parameters for event notification. To enable or disable SNMP requests to the MIB use the set protocols command.
Minimum role manage
Syntax

set snmp-parameters

[add-trap-host address]

[del-trap-host address]

[enable crit|error|warn|resolved|info|none]

[read-community string]

[trap-host-list addresses]

[write-community string]

Parameters [add-trap-host address]

Optional. Specifies the network address of a destination host that will receive traps. The value can be an IPv4 address, IPv6 address, or FQDN. Three trap hosts can be set.

[del-trap-host address]

Optional. Specifies the network address of a destination host to delete. The value can be an IPv4 address, IPv6 address, or FQDN.

[enable crit|error|warn|resolved|info|none]
Optional. Sets the level of trap notification:
  • crit: Sends notifications for Critical events only.
  • error: Sends notifications for Error and Critical events.
  • warn: Sends notifications for Warning, Error, and Critical events.
  • resolved: Sends notifications for Resolved, Warning, Error, and Critical events.
  • info: Sends notifications for all events.
  • none: All events are excluded from trap notification and traps are disabled. This is the default. However, Critical events and managed-logs events 400–402 are sent regardless of the notification setting.
[read-community string]
Optional. Specifies the SNMP read password for your network. This string is included in traps that are sent. This string must differ from the write-community string. Input rules:
  • The value is case sensitive.
  • The value can have a maximum of 31 bytes.
  • The value can include any character except: " <>
  • A value that includes a space must be enclosed in double quotes.

The default is public.

[trap-host-list addresses]

Optional. Specifies the network addresses of hosts that are configured to receive SNMP traps. Each value can be an IPv4 address, IPv6 address, or FQDN. Three trap hosts can be set. The value can have a maximum of 79 bytes.

[write-community string]
Optional. Sets a community string for write access. This string must differ from the read-community string. Input rules:
  • The value is case sensitive.
  • The value can have a maximum of 31 bytes.
  • The value can include any characters characters except: " <>
  • A value that includes a space must be enclosed in double quotes.

The default is private.

Examples Enable Critical events only, specify a trap host, and set the community string for read-only access.

# set snmp-parameters enable crit add-trap-host 172.22.4.171 read-community public

See also

set protocols

show snmp-parameters

test (with the snmp parameter)


Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\