
Integrated Traffic Monitoring Viewing Top Traffic Statistics via Email
61202880L1-29.1E Copyright © 2008 ADTRAN, Inc. 35
After configuration of the mail agent and its parameters as outlined in the Mail Agent Configuration Guide,
use the following configuration example to initialize email notification of Top Traffic statistics through a
named mail client:
(config)#logging email receiver-ip <hostname>
(config)#logging email sender <email address>
(config)#mail-client <client name>
(config-mail-client-client name)#address to <email address>
(config-mail-client-client name)#server <ip address>
(config-mail-client-client name)#subject <text>
(config-mail-client-client name)#capture commands <commands>
(config-mail-client-client name)#send trigger track <track> <state>
(config-mail-client-client name)#no shutdown
In the following example, Joe at Company will receive an email entitled Top Traffic data for top-talkers
and port statistics through his mail agent client (named TopTrafficData) sent when the state change of
track named traffic occurs:
(config)#logging email receiver-ip smtp.company.com
(config)#logging email sender joe@company.com
(config)#mail-client TopTrafficData
(config-mail-client-TopTrafficData)#address to joe.smith@company.com
(config-mail-client-TopTrafficData)#server 172.22.48.76
(config-mail-client-TopTrafficData)#subject Top Traffic data
(config-mail-client-TopTrafficData)#capture commands
#do show ip flow top-talkers
#do show ip flow top-talkers port
#exit
(config-mail-client-TopTrafficData)#send trigger track traffic pass
(config-mail-client-TopTrafficData)#no shutdown
When using mail agent for Top Traffic email notification, only output of the show ip flow top-talkers
command and its variants can be captured. Command output is captured from the Global Configuration
mode, so the do parameter must be included in the command to capture.
Parameters in italics indicate examples, and should be replaced by parameters specific to
individual needs. For more specific command descriptions, applications, and limitations,
refer to the AOS Command Reference Guide or the Mail Agent Quick Configuration
Guide, available on the AOS Documentation CD shipped with your AOS product, or
available at www.adtran.com.
Comentarios a estos manuales