Cisco Systems 1503 manual Snmp community disable, Syntax Snmp community index string ro rw

Page 32

Command Summary

snmp community

Syntax:

snmp community {index} {string} [ro rw]

Mode: Administrator

Description: Creates or modifies community strings or associated access rights. All new

entries are enabled by default. To disable an entry, use the snmp community disable command.

Command Keyword Definitions

index—Index of one of the community table entries. An integer from 1 to 5.

string—Community name. An alphanumeric string that contains from 1 to 20 characters. A number cannot be the first character. Spaces are not valid characters.

ro—(Optional) Sets the community for read-only access. This is the default value.

rw—(Optional) Sets the community for read-write access.

snmp community disable

Syntax:

snmp community disable [index]

Mode: Administrator

Description: Disables a community string.

Command Keyword Definition

index—(Optional) Index of an entry in the community table. An integer between 1 and 5. If no value is entered, all community strings are disabled.

3-32Cisco Micro Hub User Guide

Image 32
Contents Using Your Hub Software Direct Connection through the Console PortConnection Using Telnet Configuration Using a PCCommand Conventions Hub enableConfiguration Modes Setting the Administrator PasswordHub enable Password enablepassword Hub# passwordForgot Your Password? Press Ctrl-CConfiguring the Hub Hub ID Numbers1illustrates these rules Entering Administrator Mode Hub# snmp community 1 private rw Configuring IP and Snmp ParametersHub# ip address 172.16.10.2 255.255.255.0 Configuring the Snmp Management Station Hub# ip trap-manager 1Command Summary Show hub information Show hub InfoSystem Help Commands Syntax help Mode GuestSyntax Mode HelpUser Interface Commands Command Mode Access CommandsDisable EnableConsole Access Commands Syntax exit Mode GuestExit Show console lockout infoConsole-lockout No console lockoutConsole-lockout time Syntax console-lockoutAdministrator Password Commands PasswordNo password Syntax passwordTelnet-session Telnet-session passwordNo telnet-session password History Commands Show historyTerminal history Terminal no historyEditing Commands Syntax Terminal history size size ModeTerminal history size Terminal editingFirmware Load and Restart Commands Bootup Option CommandsBootup-option No bootup-optionTftp Download Commands Show tftp-download informationTftp-download Hub show tftp-download infoXmodem Download Command Start tftp-downloadStart xmodem-download Syntax Start tftp-downloadSyntax restart Restart CommandRestart Hub show system information System Information CommandsShow system information System contact System nameNo system name No system location No system contactSystem location Show management information Hub show management informationManagement Configuration Commands IP Parameter CommandsShow ip configuration Hub show ip configurationIp address No ip addressHub show snmp communities Snmp Communities CommandsShow snmp communities Syntax Snmp community index string ro rw Snmp community disableSnmp community No snmp trap-authentication Snmp community enableSnmp trap-authentication Ip trap-managers Configuring Trap ManagersShow ip trap-managers Ip trap-manager enable Ip trap-manager disableSyntax Ip trap-manager disable index Ip trap-managerHub show hub information Hub Configuration CommandShow hub information Port Configuration Commands Show port informationPort operation Hub show system statistics Statistics CommandsShow system statistics Show hub statistics Hub show hub statisticsShow port statistics Hub show port statistics 142Cisco Micro Hub User Guide Clear counters Syntax Clear counters stack hub hub id port hub id port idHub show chassis information Chassis Information CommandsShow chassis information Hub show card table Syntax Show card table Mode GuestShow card table Hub show stack information Show stack informationStack name Clear stack table Syntax Stack ip address ip address ModeStack ip address 48Cisco Micro Hub User Guide