Specifications

Table Of Contents
Multiprotocol Label Switching Commands
context
MP-54
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
A route distinguisher (RD) is required when you configure an SNMP context. An RD creates routing and
forwarding tables and specifies the default route distinguisher for a VPN. The RD is added to the
beginning of a IPv4 prefix to make it globally unique. An RD is either ASN relative, which means it is
composed of an autonomous system number and an arbitrary number, or it is IP address relative and
composed of an IP address and an arbitrary number.
Examples The following example shows how to create an SNMP context named context1 and associate the context
with the VRF named vrf1:
Router(config)# snmp-server context1
Router(config)# ip vrf vrf1
Router(config-vrf)# rd 100:120
Router(config-vrf)# context context1
Related Commands Command Description
ip vrf Enters VRF configuration mode for the configuration of a VRF.
snmp mib
comm
unity-map
Associates an SNMP community with an SNMP context, engine ID, or
security name.
snmp mib target list Creates a list of target VRFs and hosts to associate with an SNMP v1 or v2c
co
mmunity.
snmp-server context Creates an SNMP context.
snmp-server group Configures a new SNMP group, or a table that maps SNMP users to SNMP
vi
ews.
snmp-server trap
a
uthentication vrf
Controls VRF-specific SNMP authentication failure notifications.
snmp-server user Configures a new user to an SNMP group.