TMS zl Management and Configuration Guide ST.1.2.100916

A-90
Command-Line Reference
Global Configuration Context
For example, enter these commands to set up log forwarding:
hostswitch(tms-module-<slot ID>:config)# logging email
enable
hostswitch(tms-module-<slot ID>:config)# logging email
server 10.1.1.34 from-address tms@company123.com user
manager password password
hostswitch(tms-module-<slot ID>:config)# logging to-
address logger@company123.com
logging snmpv2
SNMP traps are unsolicited messages that are sent by managed devices to alert
you about specific events.
To configure SNMPv2 traps, type the following commands:
Syntax: [no] logging snmpv2 enable
This command enables SNMPv2 forwarding.
Syntax: logging snmpv2 <IP address> <community>
This command specifies the SNMPv2 community to which you are forwarding
logs.
Replace <IP address> with the IP address of the SNMPv2 server.
Replace <community> with the name of the SNMPv2 community.
For example:
hostswitch(tms-module-<slot ID>:config)# logging snmpv2
enable
hostswitch(tms-module-<slot ID>:config)# logging snmpv2
172.16.2.35 private
logging snmpv3
SNMP traps are unsolicited messages that are sent by managed devices to alert
you about specific events.
To configure SNMPv3 traps, type the following commands:
Syntax: [no] logging snmpv3 enable
This command enables SNMPv3 forwarding.