snmp context-name

Use snmp context-name to configure an SNMP context for ISIS-SPB.

Use undo snmp context-name to restore the default.

Syntax

snmp context-name context-name

undo snmp context-name

Default

No SNMP context is configured for ISIS-SPB.

Views

SPBM view

Predefined user roles

network-admin

Parameters

context-name: Specify a context name, a case-sensitive string of 1 to 32 characters.

Usage guidelines

ISIS-SPB shares the standard IS-IS MIB with IS-IS and other protocols that use IS-IS in the control plane. For SNMP to correctly identify a protocol's management information in the standard IS-IS MIB, you must configure a unique context for each of these protocols. If a protocol supports multiple processes, you must assign a unique context to each process.

The context names must be unique among all the protocols and their processes.

Context is a method introduced to SNMPv3 for multiple instance managements. For SNMPv1/v2c, you must specify a context name as a community name for protocol identification.

Examples

# Configure the SNMP context name as spbm for ISIS-SPB.

<Sysname> system-view
[Sysname] spbm
[Sysname-spbm] snmp context-name spbm