Avaya P330-ML-ML Switch User Manual


 
Chapter 2 Avaya P330-ML Layer 2 CLI Commands
Avaya P330-ML Reference Guide 203
Example:
snmp-server host
User level: supervisor
Use the snmp-server host command to specify the recipient of the notification
operations and filter traps to that station. This command provides maximum
flexibility. For each notification group you can define one of four states — disabled,
generated as a trap, generated as inform, or generated as both inform and trap.
The syntax for this command is:
snmp-server host <host-addr> {traps | informs} {{v1 | v2c}
<community-name>} | {v3 {auth | noauth | priv}
<security-name>} [udp-port <port>] [<notification-type-list>]
notify Keyword that specifies a view for SNMP notifications. If this
keyword is not included in the command, the group has no
associated notify view.
notifyview The name of the view for SNMP notifications.
P330-N>snmp-server group newgroupG v3 noauth read
4L2readonlyV3 write 32initialView notify TrapSender4V
Done!
host-addr Specifies the address (or host name) of the notification recipient
agent. The maximum length is 32 bytes.
traps,
informs
Keyword that specifies whether to use traps or informs for
notification to the specified recipient.
v1, v2c, v3 The security model assigned to the host.
community-
name
The SNMPv1/SNMPv2c community string to use for
notifications.
noauth,
auth, priv
Keywords that specifies the type of authentication for SNMPv3
hosts.
noauth – No authentication required.
auth – Requires authentication with no encryption.
priv – Requires authentication with encryption.
security-
name
The SNMPv3 user name to use for notifications.