Cisco Systems Cisco MGX 8850 Manuale Utente

Pagina di 786
 
2-32
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter 2
Shelf Management Commands
cnfsnmp
cnfsnmp
Configure SNMP Strings
Configure the SNMP strings. The three strings are communitycontact, and system location. You can 
configure only one of these strings with a single execution of cnfsnmp.
Cards on Which This Command Executes
PXM45
Syntax
cnfsnmp 
-community [string <ro | rw>] 
-contact [string
-location [string]
Syntax Description
Attributes
Related Commands
dspsnmp
-community
Keyword that establishes the community access string to permit access to SNMPv1 
protocol. 
The string acts like a password and permits access to the SNMP Protocol. Further, the 
access of either read-only or read-write allows operations on MIB Objects according 
to the setting. The setting can be either “ro” for read-only or “rw” for read-write. The 
default is read-only With read-only, authorized management stations are only able to 
retrieve MIB objects.
With read-write access, authorized management stations are able to retrieve and 
modify MIB objects.
-contact
Keyword that specifies the system contact string for sysContact MIB object in 
MIB-II. The string in this case is text that describes the contact. For example, the 
contact could be an administrator’s email address. The default is no text.
-location
Keyword that specifies the location of the system. The default is no text. The system 
location string is used for sysLocation MIB object in MIB-II.
Log: log
State: active
Privilege: SUPER_GP