Specifications

Table Of Contents
Multiprotocol Label Switching Commands
context
MP-53
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
context
To associate a Simple Network Management Protocol (SNMP) context with a particular virtual private
network (VPN) routing and forwarding (VRF) instance, use the context command in VRF configuration
mode. To disassociate an SNMP context from a VPN, use the no form of this command.
context c
ontext-name
no context co
ntext-name
Syntax Description
Command Default No SNMP contexts are associated with VPNs.
Command Modes VRF configuration
Command History
Usage Guidelines Before you use this command to associate an SNMP context with a VPN, you must do the following:
Issue the snmp-server context command to create an SNMP context
Associate a VPN with a context so that the specific MIB data for that VPN exists in that context.
Associate a VPN group with the context of the VPN using the snmp-server group command with
the context context-name keyword and argument.
SNMP contexts provide VPN users with a secure way of accessing MIB data. When a VPN is associated
wi
th a context, MIB data for that VPN exists in that context. Associating a VPN with a context helps
enable service providers to manage networks with multiple VPNs. Creating and associating a context
with a VPN enables a provider to prevent the users of one VPN from accessing information about users
of other VPNs on the same networking device.
context-name Name of the SNMP VPN context, up to 32 characters.
Release Modification
12.0(23)S This command was introduced.
12.3(2)T This command was integrated into Cisco IOS Release 12.3(2)T.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(31)SB2 This command was integrated into Cisco IOS Release 12.2(31)SB2.
12.2(33)SRB Support for IPv6 was added.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
12.2(33)SB This command was integrated into Cisco IOS Release 12.2(33)SB.