show snmp context

Use this command to display the context list configuration for SNMP‘s view-based access control.

Syntax

show snmp context

Parameters

None.

Defaults

None.

Mode

All command modes.

Usage

An SNMP context is a collection of management information that can be accessed by an SNMP agent or entity. The default context allows all SNMP agents to access all management information (MIBs). When created using the set snmp access command, other contexts can be applied to limit access to a subset of management information and to permit SNMP access from one or more routing modules.

Example

This example shows how to display a list of all SNMP contexts known to the device:

System(rw)->show snmp context
--- Configured contexts:
default context (all MIBs)
router