![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650185.webp)
8-7
Configuring for Network Management Applications
SNMP Communities
Mo
ni
to
ri
ng
a
n
d
Ma
nag
ing
the S
w
itc
h
CLI: Viewing and Configuring Community Names
Community Name Commands Used in This Section
Listing Current Community Names and Values
Listing Community Names.
This command lists the data forcurrently con-
figured SNMP community names (along with trap receivers and the setting for
authentication traps — see “Trap Receivers and Authentication Traps” on
page 8-9).
Syntax
:
show snmp-server [<
community-string
>]
This example lists the data for all communities in a switch; that is, both the
default “public” community name and another community named “red-team.”
Figure 8-3. Example of the SNMP Community Listing with Two Communities
To list the data for only one community, such as the “public” community, use
the above command with the community name included. For example:
show snmp-server [<
community-string
>]
below
snmp-server
page 8-8
[contact <con
tact-str>
]
page 8-8
[location
<location-str>
]
page 8-8
[community <
community-str
>]
page 8-8
[host <
community-str
> <
ip-addr
>]
[<none | debug | all | not-info | critical>]
page 8-11
[enable traps <authentication>
page 8-11
Default
Community and
Settings
Non-Default
Community and
Settings
Trap Receiver
Data (See page
8-9.)
SMC6624M(config)# show snmp-server
SNMP Communities
Community Name
MIB View Write Access
---------------- -------- ------------
public
Manager
Unrestricted
red-team
Manager
Unrestricted
Trap Receivers
Send Authentication Traps : No
Address
Community
Events Sent in Trap
---------------------- ---------------- -------------------