# Monitoring the Service

This chapter provides information for monitoring service status and performance using the show commands through the Command Line Interface (CLI).

These command have many related keywords that allow them to provide useful information on all aspects of the system ranging from current software configuration through call activity and status.

The selection of keywords described in this chapter is intended to provided the most useful and in-depth information for monitoring the system. For additional information on these and other show command keywords, refer to the Command Line Interface Reference.

In addition to the CLI, the system supports the sending of Simple Network Management Protocol (SNMP) traps that indicate status and alarm conditions. Refer to the SNMP MIB Reference Guide for a detailed listing of these traps.

Monitoring System Status and Performance

This section contains commands used to monitor the status of tasks, managers, applications and other software components in the system.

Output descriptions for most of the commands are located in the Statistics and Counters Reference.
Table 1. System Status and Performance Monitoring Commands

To do this: | Enter this command:
--- | ---
View Subscriber Information
Display Session Resource Status
View session resource status | show resources session
Display Subscriber Configuration Information
View locally configured subscriber profile settings (must be in context where subscriber resides) | show subscribers configuration username subscriber_name
View remotely configured subscriber profile settings | show subscribers aaa-configuration username subscriber_name
View Subscribers Currently Accessing the System
View a listing of subscribers currently accessing the system | show subscribers all
View information for all ggsn-only subscriber sessions | show subscribers ggsn-only all
View information for a specific subscriber | show subscribers full username username
View Subscriber Counters
View counters for a specific subscriber | show subscribers counters username subscriber_name
View Recovered Session Information
View session state information and session recovery status | show subscriber debug-info { callid | msid | username }
View Session Statistics and Information
Display Historical Session Counter Information
View all historical information for all sample intervals | show session counters historical
Display Session Duration Statistics
View session duration statistics | show session duration
Display Session State Statistics
View session state statistics | show session progress
Display Session State PCF Statistics
View session state PCF statistics | show session progress pcf all
Display Session Subsystem and Task Statistics IMPORTANT: Refer to the System Software Task and Subsystem Descriptions of the System Administration Guide for additional information on the Session subsystem and its various manager tasks.
View AAA Manager statistics | show session subsystem facility aaamgr all
View FA Manager statistics | show session subsystem facility famgr all
View GTPC Manager statistics | show session subsystem facility gtpcmgr all
View L2TP demux manager statistics | show session subsystem facility l2tpdemux all
View L2TP Manager statistics | show session subsystem facility l2tpmgr all
View Session Manager statistics | show session subsystem facility sessmgr all
Display Session Disconnect Reasons
View session disconnect reasons with verbose output | show session disconnect-reasons
View Point-to-Point Protocol Statistics
Display a Summary of PPP Counter Status
View cumulative subscriber session PPP counters | show ppp
Display PPP Counters for a Specific Subscriber
View individual subscriber session PPP counters | show ppp username subscriber_name
View individual subscriber session PPP error and data counters | show ppp counters username subscriber_name
View individual subscriber session detailed PPP counters | show ppp full username subscriber_name
View Mobile IP Foreign Agent Statistics
Display Mobile IP FA Information for a Specific Subscriber
View Mobile IP FA counters for a specific subscriber | show mipfa full username subscriber_name
Display Mobile IP Statistics for FA Services
View statistics for a specific FA service | show mipfa statistics fa-service service_name
Display Mobile IP FA Counters
View Mobile IP FA counters for individual subscriber sessions | show mipfa counters
View APN Statistics
view statistics for all APNs within a context | show apn statistics
view statistics for an individual APN | show apn statistics name isp2
View DHCP Information and Counters
Display DHCP Counter Information
View DHCP counter information for a specific DHCP service | show dhcp dhcp-service svc_name
View DHCP counter information for a specific DHCP user | show dhcp counter user-address address
Display DHCP Server Statistics
View statistics for all configured DHCP servers within the context | show dhcp statistics
Display DHCP Status
View status for all configured DHCP services and servers within the context | show dhcp status
View GTPC Statistics
View verbose GTP statistics | show gtpc statistics verbose
View GTPP Statistics
View GTPP statistics for all CGFs | show gtpp statistics
View GTPP statistics for a specific CGF | show gtpp statistics cgf-address ip_address
View L2TP Information
Display L2TP Session Information
View cumulative statistics for all sessions processed within the current contextIf this command is executed from within the local context, cumulative session information is displayed for all contexts. | show l2tp sessions
View all information pertaining to the L2TP session of a specific subscriber | show l2tp session full username subscriber_name
Display L2TP Statistics
View statistics for a specific LAC serviceIf this command is executed from within the local context, cumulative session information is displayed for all contexts. | show l2tp statistics lac-service service_name
Display L2TP Tunnel Information
View all tunnels currently being facilitated by LAC services within a specific context | show l2tp tunnels all
Display IPSec Security Association Statistics
View IPSec security association statistics for crypto maps in the current context | show crypto ipsec security-associations statistics
Display Pre-shared ISAKMP Keys
View pre-shared keys received from peer security gateways as part of the Diffie-Hellman exchange | show crypto isakmp keys
Display IPSec Statistics
View cumulative IPSec statistics for the current context | show crypto statistics

Clearing Statistics and Counters

It may be necessary to periodically clear statistics and counters in order to gather new information. The system provides the ability to clear statistics and counters based on their grouping (PPP, MIPHA, MIPFA, etc.).

Statistics and counters can be cleared using the CLI clear command. Refer to Command Line Interface Reference for detailed information on using this command.