15-12
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter15 Configuring ATM Accounting, RMON, and SNMP
Configuring ATM Accounting
Example
The following example shows the SNMP server ATM accounting configuration using the
mores ystem:running-config privileged EXEC command:
Switch# more system:running-config
Building configuration...
Current configuration:
!
<information deleted>
!
ip rcmd rcp-enable
ip rcmd remote-host dplatz 171.69.194.9 dplatz
ip rcmd remote-username dplatz
atm template-alias byte_wise 47.9*f8.33...
atm template-alias bit_set 47.9f9(1*0*)88ab...
atm template-alias training 47.1328...
atm accounting enable
atm accounting trap threshold 85
!
<information deleted>
no ip classless
atm route 47.0091.8100.0000.0000.0ca7.ce01... ATM3/0/0
snmp-server enable traps chassis-fail
snmp-server enable traps chassis-change
snmp-server enable traps atm-accounting
snmp-server host 1.2.3.4 public atm-accounting
!
<information deleted>
Using TFTP to Copy the ATM Accounting File
After 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:
Example
The 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:
Switch(config)# access-list 1 permit 10.1.1.1
Switch(config)# tftp-server atm-acct-ready:acctng_file1 1
For more information about access lists, see Chapter12, “Using Access Control.”
Command Purpose
Step1 Switch(config)# access-list access-list-number
{deny | permit} {source [source-wildcard] | any}
Defines a standard IP access list using a source
address and wildcard or the any option default
source 0.0.0.0 and source mask 255.255.255.255.
Step2 Switch(config)# tftp-server
{atm-acct-active:acctng_file1 |
atm-acct-ready:acctng_file1} ip-access-list
Allows TFTP to copy the ATM accounting file to
an IP host in response to a read request.