snmp context-name

Use snmp context-name to set an SNMP context name for TRILL.

Use undo snmp context-name to restore the default.

Syntax

snmp context-name context-name

undo snmp context-name

Default

No SNMP context name is set for TRILL.

Views

TRILL view

Predefined user roles

network-admin

mdc-admin

Parameters

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

Usage guidelines

TRILL shares the standard IS-IS MIB with IS-IS. The standard IS-IS MIB provides only single-instance MIB objects. For SNMP to correctly identify TRILL's management information in the standard IS-IS MIB, you must configure a unique context name for TRILL.

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

# Set the context name to trill for TRILL.

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