snmp context-name
Use snmp context-name to configure an SNMP context for OSPFv3.
Use undo snmp context-name to restore the default.
Syntax
snmp context-name context-name
undo snmp context-name
Default
No SNMP contexts exist for OSPFv3.
Views
OSPFv3 view
Predefined user roles
network-admin
Parameters
context-name: Specifies a context name, a case-sensitive string of 1 to 32 characters.
Usage guidelines
The standard OSPFv3 MIB provides only single-instance MIB objects. For SNMP to correctly identify OSPFv3 management information in the standard OSPFv3 MIB, you must configure a unique context name for OSPFv3. If multiple OSPFv3 processes exist, you must assign a unique context to each process.
Context is a method introduced to SNMPv3 for multiple-instance management. For SNMPv1/v2c, you must specify a community name as a context name for protocol identification.
Examples
# Configure the SNMP context name as mib for OSPFv3 process 1.
<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] snmp context-name mib