XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
67
snmp-server user <use-string> <group-s
tring> [{authPriv | authNoPriv} auth {md
5 | sha} <word>] [access {<num-std>|<n
ame>}] [ipv6-access {<ipv6-num-std>|<ip
v6-name>}]
no snmp-server user <user-string> [acc
ess {<num-std>|<name>}] [ipv6-access
{<ipv6-num-std>|<ipv6-name>}]
Add a user to a SNMP group. This command
is used to configure USM for SNMP v3.
6. Configure group
Command
Explanation
Global Mode
snmp-server group <group-string> {noa
uthnopriv|authnopriv|authpriv} [[read <r
ead-string>] [write <write-string>] [notify
<notify-string>]] [access {<num-std>|<n
ame>}] [ipv6-access {<ipv6-num-std>|<ip
v6-name>}]
no snmp-server group <group-string> {n
oauthnopriv|authnopriv|authpriv} [access
{<num-std>|<name>}] [ipv6-access {<ipv
6-num-std>|<ipv6-name>}]
Set the group information on the switch. This
command is used to configure VACM for
SNMP v3.
7. Configure view
Command
Explanation
Global Mode
snmp-server view <view-string> <oid-stri
ng> {include|exclude}
no snmp-server view <view-string> [<oi
d-string>]
Configure view on the switch. This command
is used for SNMP v3.
8. Configuring TRAP
Command
Explanation
Global Mode
snmp-server enable traps
no snmp-server enable traps
Enable the switch to send Trap message.
This command is used for SNMP v1/v2/v3.
snmp-server host { <host-ipv4-address>
| <host-ipv6-address> } {v1 | v2c | {v3
Set the host IPv4/IPv6 address which is used
to receive SNMP Trap information. For SNMP