Snmp-Agent Context - HP FlexFabric 12500 Series Network Management And Monitoring Command Reference

Routing
Hide thumbs Also See for FlexFabric 12500 Series:
Table of Contents

Advertisement

Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
community-name: Specifies an SNMP community, a case-sensitive string of 1 to 32 characters.
context-name: Specifies an SNMP context, a case-sensitive string of 1 to 32 characters.
Usage guidelines
This command enables a module on an agent to obtain the context mapped to a community name when
an NMS accesses the agent by using SNMPv1 or SNMPv2c.
You can configure a maximum of 10 community-context mappings on the device.
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
mdc-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.
135

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e series

Table of Contents