cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
48366
Views
35
Helpful
4
Comments
Rama Darbha
Level 1
Level 1

 

Purpose of this document

Smart Call Home is a feature introduced into the ASA firewalls in version 8.2 that allows for periodic monitoring of the firewall device. This document how to leverage this feature to monitor and troubleshoot network issues.

Configuring Smart Call Home

To configure Smart Call Home, use the following document:

https://supportforums.cisco.com/docs/DOC-12801

Common Uses

Configuration Backups

Gathering configuration backups  periodically is useful in case of device replacement or change control.  It helps to identify the last working configuration and archives changes  made to the firewall.

 

hostname (config)# service call-home
hostname (config)# call-home
hostname (cfg-call-home)# contact-email-addr customer@mail.server

hostname (cfg-call-home)# mail-server 192.168.1.100 priority 1
hostname (cfg-call-home)# profile ConfigBackup-1
hostname (cfg-call-home-profile)# destination address email admin@mydomain.com
hostname (cfg-call-home-profile)# destination transport-method email
hostname (cfg-call-home-profile)# subscribe-to-alert-group configuration export full periodic monthly

 

The configuration alert-group (as configured above with the export full, non-default option) includes the commands:
- show call-home registered-module status | exclude disabled

- show running-config

- show startup-config

- show access-list | include elements

 

In the above example, the firewall will send these outputs to the email address admin@mydomain.com monthly.

Network Profiling using Snapshots

Network profiling is an important process that allows a network administrator to understand current utilization levels of their network. This is important for monitoring current load, feature usage as well as anamolous behaviour. Having good archived historical network profile data helps to troubleshoot the most complex networking problems such as oversubscription and load issues. Additionally, it provides an early warning system to help net admins to understand when their network is reaching capacity.

 

Snapshots are a Smart Call Home feature that allows the user to customize which commands are sent by the ASA.

 

In the below example, the network administrator is interested in understanding the network utilization of their ASA. As a result, the snapshot profile is built to gather outputs relevant to network utilization:

hostname (config)# service call-home
hostname (config)# call-home
hostname (cfg-call-home)# contact-email-addr customer@mail.server

hostname (cfg-call-home)# mail-server 192.168.1.100 priority 1

hostname (cfg-call-home)# alert-group-config snapshot

hostname (cfg-call-home-snapshot)# add-command "show traffic"
hostname (cfg-call-home-snapshot)# add-command "show interface detail"
hostname (cfg-call-home-snapshot)# add-command "show perfmon"

hostname (cfg-call-home-snapshot)# add-command "show conn count"
hostname (cfg-call-home-snapshot)# add-command "show xlate count"

hostname (cfg-call-home-snapshot)# add-command "show service-policy"

hostname (cfg-call-home)# profile NetworkProfiling-1
hostname (cfg-call-home-profile)# destination address email admin@mydomain.com
hostname (cfg-call-home-profile)# destination transport-method email
hostname (cfg-call-home-profile)# subscribe-to-alert-group snapshot periodic interval 120


These outputs will be gathered periodically every 120 minutes as emails, which the network adminstrator can then parse and format into graphs or charts. In the above example, the network administrator will be able to graph the current traffic rate through all the interfaces, the current rate of connection as well as the current connection and xlate counts. Additionally, the net admin was interested in knowing how much traffic through the firewall was being sent through the service-policy, which is the last output included in the snapshot.

Device Oversubscription Issues

Networking profiling is very useful to monitor the current status of a network. But, when there is a network load related issue, snapshots can be used to more efficiently isolate the problem.

 

When a network adminsitrator suspects that the firewall is reaching a load limit, they can leverage Smart Call Home and the snapshot feature to provide very specific data that helps to isolate the oversubscription related issues. For more information regarding this specific issue, please refer to the following document:
https://supportforums.cisco.com/docs/DOC-12439

 

Specific to Smart Call Home, the following snapshot profile will help to gather the necessary data:

hostname (config)# service call-home
hostname (config)# call-home
hostname (cfg-call-home)# contact-email-addr customer@mail.server

hostname (cfg-call-home)# mail-server 192.168.1.100 priority 1

hostname (cfg-call-home)# alert-group-config snapshot

hostname (cfg-call-home-snapshot)# add-command "show cpu detailed"

hostname (cfg-call-home-snapshot)# add-command "show processes cpu-usage"

hostname (cfg-call-home-snapshot)# add-command "show processes cpu-hog"

hostname (cfg-call-home-snapshot)# add-command "show interface detail | i line|overrun|no buffer"

hostname (cfg-call-home-snapshot)# add-command "show memory detail"

hostname (cfg-call-home)# profile Oversubscription-1
hostname (cfg-call-home-profile)# destination address email admin@mydomain.com
hostname (cfg-call-home-profile)# destination transport-method email
hostname (cfg-call-home-profile)# subscribe-to-alert-group snapshot periodic interval 120

By using the document linked above, the net admin understands that oversubscription can be primarily caused by cpu utilization and network load. Since the net admin is already gathering network profile information, the only additional information required is with regards to device level utilization. The snapshot profile above gathers information regarding cpu utilization, interface oversubscription and memory levels.

 

The Smart Call Home information gathered in both the network profiling and device oversubscription can be graphed to better understand whether the oversubscription behaviour is periodic or consistent. A consistent problem may indicate a network attack or infected host, while a periodic behaviour tends to be caused by network load.

VPN Utilization

Since VPN features are licensed on the ASA platforms, it is important for a network administrator to understand utilization levels of the VPN deployment. This will help to forecast VPN expansion requirements to accomodate network growth.

 

Below is a profile that provides the necessary VPN information:

hostname (config)# service call-home
hostname (config)# call-home
hostname (cfg-call-home)# contact-email-addr customer@mail.server

hostname (cfg-call-home)# mail-server 192.168.1.100 priority 1

hostname (cfg-call-home)# alert-group-config snapshot

hostname (cfg-call-home-snapshot)# add-command "show vpn-sessiondb"

hostname (cfg-call-home-snapshot)# add-command "show crypto ipsec sa"

hostname (cfg-call-home-snapshot)# add-command "show crypto isakmp sa"

hostname (cfg-call-home-snapshot)# add-command "show webvpn statistics"

hostname (cfg-call-home-snapshot)# add-command "show crypto protocol statistics all"

hostname (cfg-call-home)# profile VPNUtilization-1
hostname (cfg-call-home-profile)# destination address email admin@mydomain.com
hostname (cfg-call-home-profile)# destination transport-method email
hostname (cfg-call-home-profile)# subscribe-to-alert-group snapshot periodic interval 120

Comments

great doc - very helpfull THX

Very helpfull Doc..Thank you

walter baziuk
Level 5
Level 5

here is an article how to to this on an asa

http://packetpros.com/cisco-call-home/

TomKaspar
Level 1
Level 1

Hi,

 

I don't think, that this is good feature for backup ASA config.

 

If I send configuration export full, in email (from ASA) I can't see ip address ASA, username, ip address tunnel-group and etc :(

 

For example:

tunnel-group <IP removed> type ipsec-l2l
tunnel-group <IP removed> ipsec-attributes
 ikev1 pre-shared-key *****

username <removed> password <removed> pbkdf2 privilege 0
username <removed> attributes
 service-type remote-access

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: