Snmp-Agent Context; Snmp-Agent Group - HPE FlexFabric 5930 Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexFabric 5930 Series:
Table of Contents

Advertisement

snmp-agent context

Use snmp-agent context to create an SNMP context.
Use undo snmp-agent context to delete an SNMP context.
Syntax
snmp-agent context context-name
undo snmp-agent context context-name
Default
No SNMP context is configured on the device.
Views
System view
Predefined use roles
network-admin
Parameters
context-name: Specifies an SNMP context, a case-sensitive string of 1 to 32 characters.
Usage guidelines
An NMS and an SNMP agent can communicate with each other, if the following conditions exist:
No SNMP context is configured on the NMS and the SNMP agent.
The NMS and the SNMP agent use the same SNMP context.
Otherwise, a timeout message appears, indicating a communication failure between the NMS and
SNMP agent.
You can create a maximum of 20 SNMP contexts.
Examples
# Create SNMP context snmpcontext.
<Sysname> system-view
[Sysname] snmp-agent context snmpcontext
Related commands
display snmp-agent context

snmp-agent group

Use snmp-agent group to create an SNMP group and specify its access right.
Use undo snmp-agent group to delete an SNMP group.
Syntax
In non-FIPS mode:
SNMPv1 and SNMP v2c:
snmp-agent group { v1 | v2c } group-name [ read-view view-name ] [ write-view view-name ]
[ notify-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] *
undo snmp-agent group { v1 | v2c } group-name
SNMPv3:
132

Advertisement

Table of Contents
loading

Table of Contents