Displaying Snmp Status; Table 22-4 Commands For Displaying Snmp Information - Cisco ONS 15454 SDH Configuration Manual

Hide thumbs Also See for ONS 15454 SDH:
Table of Contents

Advertisement

Displaying SNMP Status

This example shows how to allow read-only access for all objects to members of access list 4 that use
the comaccess community string. No other SNMP managers have access to any objects. SNMP
authentication failure traps are sent by SNMPv2c to the host cisco.com using the community string
"public."
ML_Series(config)# snmp-server community comaccess ro 4
ML_Series(config)# snmp-server enable traps snmp authentication
ML_Series(config)# snmp-server host cisco.com version 2c public
This example shows how to send Entity MIB traps to the host cisco.com. The community string is
restricted. The second line specifies the destination of these traps and overwrites any previous
snmp-server host commands for the host cisco.com.
ML_Series(config)# snmp-server enable traps
ML_Series(config)# snmp-server host cisco.com restricted
This example shows how to enable the ML-Series card to send all traps to the host myhost.cisco.com
using the community string "public."
ML_Series(config)# snmp-server enable traps
ML_Series(config)# snmp-server host myhost.cisco.com public
Displaying SNMP Status
To display SNMP input and output statistics, including the number of illegal community string entries,
errors, and requested variables, use the show snmp privileged EXEC command.You can also use the
other privileged EXEC commands in
the fields in the output displays, see the Cisco IOS Configuration Fundamentals Command Reference,
Release 12.2.
Table 22-4
Feature
show snmp
show snmp group
show snmp pending Displays information about pending SNMP requests.
show snmp sessions Displays information about the current SNMP sessions.
show snmp user
Cisco ONS 15454 and Cisco ONS 15454 SDH Ethernet Card Software Feature and Configuration Guide, R8.0
22-14
Table 22-4
Commands for Displaying SNMP Information
Default Setting
Displays SNMP statistics.
Displays information about each SNMP group on the network.
Displays information about each SNMP user name in the SNMP users table.
to display SNMP information. For information about
Chapter 22 Configuring SNMP

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ons 15454

Table of Contents