Snmp-Server Context - Cisco nexus 3000 series Command Reference Manual

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m

snmp-server context

To configure the Simple Network Management Protocol (SNMP) context to logical network entity
mapping, use the snmp-server context command. To remove the context, use the no form of this
command.
Syntax Description
context-name
instance instance-name (Optional) Specifies a protocol instance. The name can be any alphanumeric
vrf vrf-name
default
management
topology
topology-name
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
Use the snmp-server context command to map between SNMP contexts and logical network entities,
such as protocol instances or VRFs.
Examples
This example shows how to map the public1 context to the default VRF:
switch# configure terminal
switch(config)# snmp-server context public1 vrf default
switch(config)#
OL-29557-04
snmp-server context context-name [instance instance-name] [vrf {vrf-name | default |
management}] [topology topology-name]
no snmp-server context context-name [instance instance-name] [vrf {vrf-name | default |
management}] [topology topology-name]
SNMP context. The name can be any alphanumeric string up to 32
characters.
string up to 32 characters.
(Optional) Specifies the virtual routing and forwarding (VRF) instance. The
name is case sensitive, and can be a maximum of 32 alphanumeric
characters.
Specifies the default VRF.
Specifies the management VRF.
(Optional) Specifies the topology. The name can be any alphanumeric string
up to 32 characters.
Modification
This command was introduced.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
snmp-server context
-SM-301

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents