Download Print this page

Dell Force10 TeraScale E Series Reference Manual page 1360

Ftos command line, ftos 8.4.2.7

Advertisement

Example
Example
Related
Commands
snmp-server contact
c e s
Syntax
Parameters
1360
|
SNMP and Syslog
Figure 54-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.
If a community string is configured without a security-name (for example, snmp-server
community public ro), the community is mapped to a default security-name/group:
v1v2creadu / v1v2creadg — maps to a community with ro permissions
v1v2cwriteu/ v1v2cwriteg — maps to a community with rw permissions
This command is indexed by the community-name parameter.
If the
snmp-server community
Standard IPv4 ACL and IPv6 ACL is supported in the optional access-list-name.
The command options ipv6, security-name, and access-list-name are recursive. In other words,
each option can, in turn, accept any of the three options as a sub-option, and each of those sub-options
can accept any of the three sub-options as a sub-option, and so forth. The following example
demonstrates the creation of a standard IPv4 ACL called "snmp-ro-acl" and then assigning it to the
SNMP community "guest":
Figure 54-7. snmp-server community Command Example
FTOS(conf)# ip access-list standard snmp-ro-acl
FTOS(config-std-nacl)#seq 5 permit host 10.10.10.224
FTOS(config-std-nacl)#seq 10 deny any count
!
FTOS(conf)#snmp-server community guest ro snmp-ro-acl
FTOS(conf)#
Note:
For IPv6 ACLs, only IPv6 and UDP types are valid for SNMP; TCP, ICMP rules are
not valid for SNMP. In IPv6 ACLs port rules are not valid for SNMP.
ip access-list standard
ipv6 access-list
snmp
show running-config
Configure contact information for troubleshooting this SNMP node.
snmp-server contact text
To delete the SNMP server contact information, use the no snmp-server contact command.
text
Enter an alphanumeric text string, up to 55 characters long.
command is not configured, you cannot query SNMP data. Only
Name (or select) a standard access list to filter based on IP address.
Configure an access list based on IPv6 addresses or protocols.
Display the current SNMP configuration and defaults.

Advertisement

loading