Cisco Cisco IOS Software Release 12.0(22)S

Page de 22
      MPLS Label Switching Router MIB
Prerequisites
17
Cisco IOS Release 12.0(22)S
RFCs
The LSR implementation supporting the MPLS-LSR-MIB is in full compliance with all provisions of 
Section 10 of RFC 2026.
Prerequisites
The MPLS-LSR-MIB requires the following:
SNMP installed and enabled on the LSR
MPLS enabled on the LSR
60K of memory 
Note
Additional capacity is not required for runtime dynamic random-access memory (DRAM). 
Configuration Tasks
See the following sections for configuration tasks for the MPLS-LSR-MIB feature. Each task in the list 
is identified as either optional or required.
 (required) 
 (optional)
Enabling the SNMP Agent
The SNMP agent for the MPLS-LSR-MIB is disabled by default. To enable the SNMP agent, perform 
the following steps:
:
Command
Purpose
Step 1
Prompt# telnet 
xxx.xxx.xxx.xxx  Accesses the router identified by the specified IP address (represented by 
xxx.xxx.xxx.xxx) through a Telnet session.
Step 2
Router# enable
Enters privileged mode.
Step 3
Router# show 
running-configuration
Displays the running configuration so that you can determine if an SNMP agent 
is already running.
If no SNMP information is displayed, continue with the steps below. If any 
SNMP commands are listed, you can modify them or leave them as they are. 
Step 4
Router# configure terminal
Enters configuration mode.
Step 5
Router(config)# snmp-server 
community xxxxxx RO
 
Enables the read-only community string, where xxxxxx is the read-only 
community string.
Step 6
Router(config)# exit
Exits configuration mode and returns to the main prompt.
Step 7
Router# write memory 
Writes the modified configuration to nonvolatile memory (NVRAM) so that the 
settings stay permanently.