![]() |
ATM Switch Router Software Configuration Guide, 12.1(6)EY
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring ATM Accounting and ATM RMON
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsConfiguring ATM Accounting and ATM RMONConfiguring ATM Accounting ATM Accounting Overview
Configuring ATM RMONConfiguring Global ATM Accounting Enabling ATM Accounting on an Interface Configuring the ATM Accounting Selection Table Configuring ATM Accounting Files Controlling ATM Accounting Data Collection Configuring ATM Accounting SNMP Traps Configuring ATM Accounting Trap Generation
Using TFTP to Copy the ATM Accounting FileDisplaying ATM Accounting Trap Threshold Configuration Configuring SNMP Server for ATM Accounting Displaying SNMP Server ATM Accounting Configuration Configuring Remote Logging of ATM Accounting Records RMON Overview
Configuring Port Select Groups Configuring Interfaces into a Port Select Group Enabling ATM RMON Data Collection Configuring an RMON Event Configuring an RMON Alarm Configuring ATM Accounting and ATM RMONThis chapter describes the ATM accounting and Remote Monitoring (RMON) features used with the ATM switch router.
This chapter includes the following sections:
Configuring ATM AccountingThe following sections describe the process used to enable and configure the ATM accounting feature on the ATM switch router:
ATM Accounting OverviewThe ATM accounting feature provides accounting and billing services for virtual circuits (VCs) used on the ATM switch router. You enable ATM accounting on an edge switch to monitor call setup and traffic activity. A specific interface can be configured to monitor either incoming or outgoing or incoming and outgoing VC use. Figure 14-1 shows a typical ATM accounting environment. Figure 14-1 ATM Accounting Environment The edge switches, connected to the exterior Internet, are connections that require monitoring for accounting and billing purposes. Switching speeds and number of VCs supported by the ATM switch router while monitoring virtual circuit use for accounting purposes can cause the amount of data to be gathered to reach the megabyte range. With such a large amount of data in the ATM accounting files, using traditional Simple Network Management Protocol (SNMP) methods of data retrieval is not feasible. You can store the collected accounting information in a file that you can retrieve using a file transfer protocol. SNMP provides management control of the selection and collection of accounting data. Figure 14-2 shows an interface, filtering, and file configuration example. Figure 14-2 Interface and File Management for ATM Accounting A file used for data collection actually corresponds to two memory buffers on the multiservice route processor. One buffer is actively saving data, while the second is passive and ready to have its data either retrieved using Trivial File Transport Protocol (TFTP) or overwritten when the currently active file reaches its maximum capacity. Alternatively, the file can be written to a remotely connected PC over a TCP connection. Configuring Global ATM AccountingThe ATM accounting feature must be enabled to start gathering ATM accounting virtual circuit call setup and use data. The ATM accounting feature runs in the background and captures configured accounting data for VC changes such as calling party, called party, or start time and connection type information for specific interfaces to a file.
To enable the ATM accounting feature, use the following command in global configuration mode: Displaying the ATM Accounting ConfigurationTo display the ATM accounting status, use the following privileged EXEC command: Enabling ATM Accounting on an InterfaceAfter you enable ATM accounting, you must configure specific ingress or egress interfaces, usually on edge switches connected to the external network, to start gathering the ATM accounting data. To enable ATM accounting on a specific interface, perform the following tasks, beginning in global configuration mode: ExampleThe following example shows how to enable ATM accounting on ATM interface 1/0/3: Displaying the ATM Accounting Interface ConfigurationTo display the ATM accounting status, use the following privileged EXEC command: ExampleThe following display shows that ATM accounting is enabled on ATM interface 1/0/3: Configuring the ATM Accounting Selection TableThe ATM accounting selection table determines the connection data to be gathered from the ATM switch router. To configure the ATM accounting selection entries, perform the following tasks, beginning in global configuration mode:
The atm accounting selection command creates or modifies an entry in the selection table by specifying the fields of the entry.
Some features of the ATM accounting selection table configuration include:
ExamplesThe following example shows how to change to ATM accounting selection configuration mode and add the SPVC originator connection type entry to selection entry 1: The following example shows how to change to ATM accounting selection configuration mode and reset the connection types for selection entry 1: The following example shows how to change to ATM accounting selection configuration mode and configure the selection list to include all objects: The following example shows how to change to ATM accounting selection configuration mode and configure the selection list to include object number 20 (atmAcctngTransmitTrafficDescriptorParam1): Displaying ATM Accounting Selection ConfigurationTo display the ATM accounting status, use the following EXEC command: ExampleThe following example shows the ATM accounting status using the show atm accounting EXEC command: selection Entry -
Selection entry 1, subtree - 1.3.6.1.4.1.9.10.18.1.1
Selection entry 1, list - 00.00.10.00
Selection entry 1, connType - F0.00
Configuring ATM Accounting FilesDirect the ATM accounting data being gathered from the configured selection control table to a specific ATM accounting file. To configure the ATM accounting files and change to ATM accounting file configuration mode, perform the following tasks, beginning in global configuration mode:
ExamplesThe following example shows how to enable ATM accounting file configuration mode for acctng_file1 and reconfigure the collection mode on release of a connection: The following example shows how to enable ATM accounting file configuration mode for acctng_file1 and reconfigure the minimum age to the default value: The following example shows how to enable ATM accounting file configuration mode for acctng_file1 and configure a short description to be displayed in the show atm accounting file display and the file header: The following example shows how to enable ATM accounting file configuration mode for acctng_file1: The following example shows how to enable ATM accounting file configuration mode for acctng_file1 to collect connection data every hour: Displaying the ATM Accounting File ConfigurationTo display the ATM accounting status, use the following EXEC command: ExampleThe following example shows the ATM accounting file status using the show atm accounting EXEC command: File Entry 1: Name acctng_file1
Descr: atm accounting data
Min-age (seconds): 3600
Failed_attempt : C0
Sizes: Active 69 bytes (#records 0); Ready 73 bytes (#records 0)
Controlling ATM Accounting Data CollectionTo configure the behavior of the buffers used for ATM accounting collection, use the following command in privileged EXEC mode: ExamplesThe following example specifies that all VCs that meet the minimum age requirement should be collected: The following example swaps the buffers used to store accounting records; the old buffer is now ready to download: Displaying the ATM Accounting Data Collection Configuration and StatusTo display the ATM accounting file configuration status, use the following EXEC command: ExampleThe following example shows the ATM accounting status using the show atm accounting files EXEC command: No file buffers initialized
Configuring ATM Accounting SNMP TrapsYou can configure SNMP traps to be generated when the ATM accounting file reaches a specified threshold. You can use these traps to alert you when a file is full and needs to be downloaded. Configuring ATM Accounting Trap GenerationTo configure ATM accounting SNMP traps, use the following command in global configuration mode:
ExampleThe following example shows how to configure ATM accounting SNMP traps to be sent when the file size reaches 85 percent full: Displaying ATM Accounting Trap Threshold ConfigurationTo display the ATM accounting trap threshold configuration, use the following EXEC command: ExampleThe following example shows the ATM accounting trap threshold configuration using the show atm accounting command: Trap Threshold - 90 percent (4500000 bytes)
Configuring SNMP Server for ATM AccountingTo enable SNMP ATM accounting trap generation and specify an SNMP server, perform the following steps in global configuration mode:
ExampleThe following example shows how to enable SNMP server ATM accounting traps and configure the SNMP server host at IP address 1.2.3.4 with community string public for ATM accounting: Displaying SNMP Server ATM Accounting ConfigurationTo display the SNMP server ATM accounting configuration, use the following privileged EXEC command: ExampleThe following example shows the SNMP server ATM accounting configuration using the more system:running-config privileged EXEC command: Using TFTP to Copy the ATM Accounting FileAfter the ATM accounting file is written to DRAM, you must configure TFTP to allow network requests to copy the accounting information to a host for processing. To do this, use the following command in global configuration mode:
ExampleThe following example shows how to allow TFTP service to copy the ATM accounting file acctng_file1 to the IP access list of requesting host number 1: For more information about access lists, see the "Filtering IP Packets at the IP Interfaces" section. Configuring Remote Logging of ATM Accounting RecordsYou can collect ATM accounting records to a remotely connected PC or UNIX workstation. You can use this method in place of, or in addition to, collecting ATM accounting records as a file into the switch's memory. The remote logging method requires a server daemon to be running on a PC or a UNIX workstation that is reachable from the switch using IP. The server daemon listens to the TCP port specified in the switch side remote logging configuration. When the ATM accounting process on the switch sends a TCP connect request, the daemon accepts the connection. After connection has been established, the switch side ATM accounting process sends accounting records, as they are created, to the remote host. The remote host then receives the records and stores them in a local file. The collected ATM accounting records are in ASN1 format. The first record contains the format of the following records. To configure remote logging, perform the following steps in global configuration mode:
The PC or workstation configured as backup takes over collection of ATM accounting records if the primary fails. Using the keyword only causes only remote logging to be performed, freeing the ATM switch router's memory for other purposes. ExampleThe following example shows how to configure remote logging to a PC named eagle on port 2001, with port 2002 as a backup: Displaying the Remote Logging ConfigurationTo display the remote logging configuration, use the following privileged EXEC command: The following example shows the remote logging configuration using the show atm accounting EXEC command: |