6 SNMP community strings

The command in this example associates the view “sysview” to the community string named “myread”. The community string has read-only access to “sysview”. For information on how to create views, refer to “SNMP v3 configuration examples” on page 169.

The <standard-ACL-name> <standard-ACL-id>parameter is optional. It allows you to specify which ACL group will be used to filter incoming SNMP packets. You can enter either the ACL name or its ID. Here are some examples.

Brocade(config)#snmp-s community myread ro view sysview 2

Brocade(config)#snmp-s community myread ro view sysview myACL

The command in the first example indicates that ACL group 2 will filter incoming SNMP packets; whereas, the command in the second example uses the ACL group called “myACL” to filter incoming packets.Refer to the Brocade ICX 6650 Switch Security Configuration Guide for more information.

NOTE

To make configuration changes, including changes involving SNMP community strings, you must first configure a read-write community string using the CLI. Alternatively, you must configure another authentication method and log on to the CLI using a valid password for that method.

Displaying the SNMP community strings

To display the configured community strings, enter the following command at any CLI level.

Brocade#show snmp server Contact: Marshall Location: Copy Center Community(ro): public Community(rw): private Traps

Cold start: Enable Link up: Enable Link down: Enable

Authentication: Enable Locked address violation: Enable Power supply failure: Enable Fan failure: Enable Temperature warning: Enable STP new root: Enable STP topology change: Enable ospf: Enable

Total Trap-Receiver Entries: 4

Community

Trap-Receiver

IP Address

1

192.95.6.211

 

2

192.95.5.21

 

Syntax: show snmp server

NOTE

If display of the strings is encrypted, the strings are not displayed. Encryption is enabled by default.

158

Brocade ICX 6650 Administration Guide

 

53-1002600-01

Page 176
Image 176
Brocade Communications Systems 6650 manual Displaying the Snmp community strings, Syntax show snmp server