EasyManua.ls Logo

Black Box LEV2525A - CLI: Viewing and Configuring Community Names; Listing Community Names; Configuring Community Names and Values; Adding SNMP Communities in the Switch

Black Box LEV2525A
143 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MNS-BB Software User Guide
-38-
To configure and add the appropriate traps please see the CLI section of this chapter.
8.6 CLI: Viewing and Configuring Community Names
8.6.1 Listing Community Names
This command lists the data for currently configured SNMP community names.
Syntax: show snmp
LE2425A# show snmp
This example lists the data for all communities in a switch; that is, both the default "public"
community name and another community named "private".
The configured community values are
SNMP CONFIGURATION INFORMATION
--------------------------------------------------------
SNMP Get Community Name : public
SNMP Set Community Name : private
SNMP Trap Community Name : public
AuthenTrapsEnableFlag : enabled
SNMP Access Status : enabled
SNMP MANAGERS INFO
----------------------------------
SNMP TRAP STATIONS INFO
----------------------------------------
SNMP Manager and Traps are not yet configured.
8.7 Configuring Community Names and Values
If you do not specify restricted or unrestricted for the read/write MIB access, the switch automatically
restricts the community to read access for the MIB.
8.7.1 Adding SNMP Communities in the Switch
The following SNMP command add new SNMP communities:
Syntax: community [write=<string>] [read=<string>] [trap=<string>]
LE2425A(snmp)## community write=”private” read=”public” trap=”netman”
8.7.2 Adding SNMP Traps in the Switch
The following SNMP command adds a new SNMP Trap:
Syntax: traps <add|delete> type=<Snmp|Rmon|Snmp,Rmon|Enterprise|Snmp,Enterprise|Rmon,
Enterprise|All> ip=<ipaddress>
LE2425A(snmp)## traps add type=all ip=192.168.1.2
SNMP traps allow SNMP management programs (E.g., Castle Rock SNMPc and HP Openview) to
have alerts on the SNMP station when defined events occur.
8.7.3 Add or Modify system parameters
The following command to add or modify the system Name, System Contact or System Location.
Syntax: setvar [sysname|syscontact|syslocation]=<string>
LE2425A(snmp)## setvar sysname=LE2425A
LE2425A(snmp)## setvar syscontact=techsupport@blackbox.com

Table of Contents

Related product manuals