Cisco SRST User Guide - Page 29

Verifying the Enabling of the SNMP Agent, Configuration Examples

Page 29 highlights

Chapter 1 Cisco SRST SNMP MIB Support Configuration Step 3 Command or Action Router# show running-config Step 4 Step 5 Step 6 Step 7 Router# config terminal Router(config)# snmp-server community xxxxxx RO Router(config)# snmp-server community xxxxxx RW Router(config)# exit Step 8 Router# write memory Purpose Displays the running configuration to determine if an SNMP agent is already running. If no SNMP information is displayed, continue with Step 4. If any SNMP information is displayed, you can modify the information or change it as needed. Enters global configuration mode. Enables the read-only (RO) community string, where xxxxxx represents the read-only community string Enables the read-write (RW) community string, where xxxxxx represents the read-write community string. Exits global configuration mode and returns you to privileged EXEC mode. Writes the modified configuration to nonvolatile memory (NVRAM), permanently saving the settings. Verifying the Enabling of the SNMP Agent To verify that the SNMP agent has been enabled on a given network device, perform the following steps: Step 1 Step 2 Step 3 Telnet to the target device: Router# telnet xxx.xxx.xxx.xxx where xxx.xxx.xxx.xxx represents the IP address of the target device. Establish the enable mode on the device: Router# enable Display the running configuration on the device and examine the output for any displayed SNMP information: Router# show running-config ... ... snmp-server community public RO snmp-server community private RW Any "snmp-server" statement appearing in the output that takes the form shown above verifies that SNMP has been enabled on the specified device. Configuration Examples Configuration examples are provided in the following sections: • Complete SRST Configuration Example, page 1-16 • Configuring SRST Mode, page 1-19 • Enabling Traps in SRST Mode, page 1-21 • Monitoring SCCP Phone Statistics, page 1-22 • Retrieving SIP Phone Registrations, page 1-23 OL-7959-01 Cisco SRST SNMP MIB Release 3.4 Guide 1-15

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62

1-15
Cisco SRST SNMP MIB Release 3.4 Guide
OL-7959-01
Chapter 1
Cisco SRST SNMP MIB Support
Configuration
Verifying the Enabling of the SNMP Agent
To verify that the SNMP agent has been enabled on a given network device, perform the following steps:
Step 1
Telnet to the target device:
Router#
telnet
xxx.xxx.xxx.xxx
where
xxx.xxx.xxx.xxx
represents the IP address of the target device.
Step 2
Establish the enable mode on the device:
Router#
enable
Step 3
Display the running configuration on the device and examine the output for any displayed SNMP
information:
Router#
show running-config
...
...
snmp-server community public RO
snmp-server community private RW
Any “snmp-server” statement appearing in the output that takes the form shown above verifies that
SNMP has been enabled on the specified device.
Configuration Examples
Configuration examples are provided in the following sections:
Complete SRST Configuration Example, page 1-16
Configuring SRST Mode, page 1-19
Enabling Traps in SRST Mode, page 1-21
Monitoring SCCP Phone Statistics, page 1-22
Retrieving SIP Phone Registrations, page 1-23
Step 3
Router#
show running-config
Displays the running configuration to determine if an SNMP agent
is already running. If no SNMP information is displayed, continue
with
Step 4
. If any SNMP information is displayed, you can modify
the information or change it as needed.
Step 4
Router#
config terminal
Enters global configuration mode.
Step 5
Router(config)#
snmp-server
community xxxxxx RO
Enables the read-only
(RO
) community string, where
xxxxxx
represents the read-only community string
Step 6
Router(config)#
snmp-server
community xxxxxx RW
Enables the read-write
(RW
) community string, where
xxxxxx
represents the read-write community string.
Step 7
Router(config)#
exit
Exits global configuration mode and returns you to privileged
EXEC mode.
Step 8
Router#
write memory
Writes the modified configuration to nonvolatile memory
(NVRAM), permanently saving the settings.
Command or Action
Purpose