Set Traphost - Symbol WS5000 Series System Reference Manual

Hide thumbs Also See for WS5000 Series:
Table of Contents

Advertisement

Example
WWS5000.(Cfg).SNMP> set snmptrap enable
Setting SNMP Trap status....
Status: Success.
SNMP details:
-------------
SNMP (deamon) Status : Enabled
SNMP Traps
WS5000.(Cfg).SNMP>set snmptrap disable
Setting SNMP Trap status....
Status: Success.
SNMP details:
-------------
SNMP (deamon) Status : Enabled
SNMP Traps

8.49.4.3 set traphost

SNMP Context
Configures a destination IP to which the switch will send the SNMP traps.
Syntax
set traphost <ip_address> <community_name> [<port> <version>]
set traphost <ip_address> <community_name> [port]
Parameters
ip_address
SNMP manager host IP address
community_name
SNMP community name for the trap host
port
Port number to which the traps would be sent
version
SNMP trap version (v1 or v2)
Example
To configure the SNMP v1 trap host at 192.168.204.4, with community name as Symbol, and use port 162,
enter:
set traphost 192.168.204.4 Symbol 162 v1
WS5100.(Cfg).SNMP>
Note SNMP v1/v2 trap message format in WS5000 has been implemented such that
the Variable Bindings in the SNMP TRAP PDU, has minimum of two bindings:
name = snmpTrapOID, value = OID of the trap being raised
name = OID of ccTargetTrapString, value = Display String
For v2 traps, the variable binding in the SNMP TRAP PDU also has:
name = OID of sysUpTime, value = current time
: Enabled
: Disabled
8-261
CLI Command Reference

Advertisement

Table of Contents
loading

Table of Contents