Chapter 4 Command Reference

get-snmp-com

get-snmp-com

To display the SNMP community strings in the system, use the get-snmp-comcommand.

 

 

get-snmp-comcommunity-string

 

 

 

 

Syntax Description

 

community-string

Specifies the SNMP community string to be displayed.

 

 

 

 

 

 

 

Defaults

Displays all SNMP community strings in the system

 

 

 

Command Types

Does not change configuration

 

 

 

Command Modes

Master password protected

 

 

 

 

Command History

 

Release

Modification

 

 

 

 

 

 

EDFA 1.0

This command was introduced.

 

 

 

 

 

 

 

Examples

The following example shows how to display an SNMP community string in the system.

 

edfa > get-snmp-com abcd

 

 

A list of the SNMP community string

 

=======================================

 

private

 

 

abcd

 

 

 

 

 

Related Commands

 

Command

Description

 

 

 

 

 

 

add-snmp-com

Adds an SNMP community string to the system.

 

 

 

 

 

 

del-snmp-com

Deletes an SNMP community string on the system.

 

 

 

 

 

 

Cisco ONS 15501 User Guide

 

 

 

 

 

 

78-14134-02, Release 2.0

 

 

4-13

 

 

 

 

 

Page 53
Image 53
Cisco Systems 15501 manual Get-snmp-com