Reference Guide
Simple Network Management Protocol and Syslog | 877
!------command run on server connected to switch: --------------!
> snmpwalk -c public 10.10.10.130 .1.3.6.1.2.1.31 | grep -i alias | more
IF-MIB::ifAlias.134530304 = STRING: This is a port connected to Router2. This
is a port connected to Router2. This is a port connected to Router2. This is a
port connected to Router2. This is a port connected to Router2.
IF-MIB::ifAlias.134792448 = STRING:
FTOS#config
snmp-server community
s z
Configure a new community string access for SNMPv1, v2, and v3.
Syntax
snmp-server community community-name {ro | rw} [ipv6 ipv6-access-list-name [ipv6
ipv6-access-list-name | access-list-name | security-name name] | security-name name
[ipv6 ipv6-access-list-name | access-list-name | security-name name] | access-list-name
[ipv6 ipv6-access-list-name | access-list-name | security-name name]]]
To remove access to a community, use the no snmp-server community community-string {ro |
rw} [security-name name [access-list-name | ipv6 access-list-name | access-list-name ipv6
access-list-name]] command.
Parameters
Defaults
No default behavior or values
Command Modes
CONFIGURATION
Command
History
Usage
Information
The example below configures a community named public that is mapped to the security named
guestuser with Read Only (ro) permissions.
Example
Figure 42-6. snmp-server community Command Example
FTOS#config
FTOS(conf)# snmp-server community public ro
FTOS(conf)# snmp-server community guest ro security-name guestuser
FTOS(conf)#
The security-name parameter maps the community string to an SNMPv3 user/security name as
defined by the community MIB.
S6000
community-name
Enter a text string (up to 20 characters long) to act as a password for SNMP.
ro Enter the keyword ro to specify read-only permission.
rw Enter the keyword rw to specify read-write permission.
ipv6 access-list-name (Optional) Enter the keyword ipv6 followed by a an IPv6 ACL name (a
string up to 16 characters long).
security-name name
(Optional) Enter the keyword security-name followed by the security
name as defined by the community MIB.
access-list-name
(Optional) Enter a standard IPv4 access list name (a string up to 16
characters long).
Version 9.0.2.0 Introduced on the S6000.
Version 8.3.11.1 Introduced on Z9000
Version 7.6.1.0 Support added for S-Series










