SNR S2940-8G-v2 Switch Configuration Guide
Basic Switch Configuration
7. Configure view
8. Configuring TRAP
9. Enable/Disable RMON
1. Enable or disable SNMP Agent server function
Command Explanation
Global Mode
snmp-server enabled
no snmp-server enabled
Enable the SNMP Agent function on the switch;
the no command disables the SNMP Agent func-
tion on the switch.
2. Configure SNMP community string
Command Explanation
Global Mode
snmp-server community { ro | rw } { 0 | 7
} <string> [access { <num-std> | <name>
}] [ ipv6-access { <ipv6-num-std> | <ipv6-
name> } ] [read <read-view-name>] [write
<write-view-name>]
no snmp-server community <string> [ ac-
cess { <num-std> | <name> } ] [ ipv6-access
{ <ipv6-num-std> | <ipv6-name> } ]
Configure the community string for the switch; the
no command deletes the configured community
string.
3. Configure IP address of SNMP management station
Command Explanation
Global Mode
snmp-server securityip { <ipv4-address> |
<ipv6-address> }
no snmp-server securityip { <ipv4-address>
| <ipv6-address> }
Configure IPv4/IPv6 security address which is
allowed to access the switch on the NMS; the
no command deletes the configured security ad-
dress.
snmp-server securityip enable
snmp-server securityip disable
Enable or disable secure IP address check func-
tion on the NMS.
4. Configure engine ID
Command Explanation
Global Mode
snmp-server engineid <engine-string>
no snmp-server engineid
Configure the local engine ID on the switch. This
command is used for SNMP v3.
31