Opé‐
ration
4
5
6
Exemple
Dans cet exemple, le groupe SNMP GroupWv3 est lié au contexte public1. Le groupe
possède le droit d'accès à la vue writeview La vue accorde l'accès à 'objet de MIB
1.3.6.1.2.1.1.5.
localhost# config
Entering configuration mode terminal
localhost(config)# system management-services snmp vacm group
GroupWv3
localhost(config-group-GroupWv3)# access public1 usm auth-priv
localhost(config-access-public1/usm/auth-priv)# write-view writeview
localhost(config-access-public1/usm/auth-priv)# commit
Commit complete.
localhost(config-access-public1/usm/auth-priv)# end
localhost# show running-config system management-services snmp vacm
group GroupWv3
system
management-services
snmp
exit
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Instruction
[Facultatif] Définissez avec quelle précision le
contexte transmis doit correspondre au con‐
texte configuré.
Options disponibles :
•
exact - Le contexte transmis par le ges‐
tionnaire SNMP doit correspondre exacte‐
ment au contexte configuré.
•
prefix - Il suffit que le contexte transmis
par le gestionnaire SNMP corresponde par‐
tiellement au contexte configuré. Le con‐
texte transmis doit être un préfixe du con‐
texte configuré.
Par défaut : exact
Validez les modifications.
Quittez le mode de configuration.
Contrôlez la configuration.
vacm
group GroupWv3
access public1 usm auth-priv
write-view writeview
exit
exit
exit
Découverte et gestion de réseau
Commande
context-match [ exact | prefix ]
commit
end
show running-config system
management-services snmp vacm
group { Nom }
11.6 SNMP
535