Snmp-Agent Context; Snmp-Agent Group - HP MSR1003-8S Command Reference Manual

Msr series network management and monitoring
Hide thumbs Also See for MSR1003-8S:
Table of Contents

Advertisement

Examples
# Map SNMP community private to SNMP context trillcontext.
<Sysname> system-view
[Sysname] snmp-agent community-map private context trillcontext
Related commands
display snmp-agent community

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
For an NMS and an SNMP agent to communicate, configure the same SNMP context for them or do not
configure a context for the NMS.
You can create a maximum of 20 SNMP contexts.
Examples
# Create SNMP context trillcontext.
<Sysname> system-view
[Sysname] snmp-agent context trillcontext
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
SNMPv1 and SNMP v2c:
181

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents