Professional Documents
Culture Documents
Configuration Guide For AAA Billing in Cisco PDF
Configuration Guide For AAA Billing in Cisco PDF
Introduction
This configuration guide details the accounting features in the authentication, authorization, and accounting (AAA) framework of the Cisco
IOS® software to aid in the development of third-party billing systems specifically for voice-enabled access servers and routers. Although
AAA represents authentication, authorization, and accounting, this guide addresses only the accounting element of AAA and the RADIUS
A/V (attribute/value) pairs generated through its use. This IOS™ and RADIUS accounting feature is required in the voice over IP (VoIP)
gateways for producing accurate, timely billing and usage information.
AAA Enhancements
The standard Cisco RADIUS accounting functionality has been enhanced for voice applications to allow calls to create a call detail record
(CDR).
Note: For a complete description of the Cisco standard AAA features, refer to the CCO Web site located at URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113t/113t_3/aaalists.htm
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 1 of 35
of the four call legs). The various call leg start and stop records generated by the gateway(s) can be organized by their connection ID (a 128-bit
field in hexadecimal format; it is one of the fields in the overloaded Acct-Session-Id ), which is the same for all call legs of a connection. Using
the connection-ID value as the glue, a billing application can generate all the information needed for accurate and timely billing.
Note: In certain scenarios where the network access server (NAS) does not receive a response from the RADIUS server in a certain time
window, duplicate call detail records for various call legs may be created and delivered to the RADIUS server. This can happen when the NAS
does not get a timely response from the RADIUS server acknowledging receipt of the record. The only difference in these duplicate call detail
records is found in the A/V pair Acct-Delay-Time (value 41). When duplicate records are created, the Acct-Delay-Time value is incremented
in each subsequent record (the first value for Acct-Delay-Time is 0). All other fields in the duplicate call detail records (CDRs) remain the
same. It would be up to the particular billing application to deal with discarding these duplicate records. For the sake of completeness, this
guide has included a duplicate record in the CDR of the first call documented (see section “Analysis of Call Records—Call 1”). The duplicated
record is the stop record for call leg 2 found in the section “Start and Stop Records for Call Leg 2.” For the sake of brevity, this guide has
deleted other duplicate records (if generated) created by the calls detailed at the end of this guide.
Description
Attribute Value RFCs 2139, 2139
NAS-IP-Address 4 IP address in four hex octets (ASCII string)
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 2 of 35
<session id>/<call leg setup time>/<gateway id>/<connection id>/<call origin>/<call type>/
<connect time>/<disconnect time>/<disconnect cause>/<remote ip address>
Field Description
Session ID The standard (RFC 2139) RADIUS account-session-id
Call leg setup time The Q.931setup time for this connection in NTP format
Connection ID A unique global identifier used to correlate call legs that belong to the same end-to-end call. The field consists of four long words (128 bits). Each
long word is displayed in hexadecimal value and separated by a space character.
Call origin Indicates origin of the call relative to the gateway; possible values are “originate” and “answer”
Call type Indicates call leg type; possible values are “Telephony” and “VoIP.”
Connect time The Q.931 connect time for this call leg in NTP format (stop only)
Disconnect time The Q.931 disconnect time for this call leg in NTP format (stop only)
Disconnect cause Documented in Q.931 specification; can be in the range of 1–160 (stop only)
Remote IP address IP address of the remote gateway used in this connection (stop only)
Note: The last four attributes (connect and disconnect times, disconnect cause, and remote IP address) packed in the overloaded Acct-Session-Id listed above are available only in the
stop packets. In start packets and update packets, these fields are blank.
Note: Field element #10 (remote IP address) is valid only in Voice over IP calls. Calls made using Voice over Frame Relay or Voice over ATM will have a null field in element #10
Note: As of IOS ver 12.2 there is an 11th field present in the overloaded session-id. This field is the incoming-Connection-ID and is enabled to deal with subsequent calls that are
reoriginated at the source without having to requthenticate.
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_serv/as5800/sc_3640/swconfig.htm#xtocid259615
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat5000/rel_2_2/c5kcg2_2/11netmg.htm#xtocid2695127
In this configuration guide, because the network was not communicating with an official NTP site, the routers used were configured for NTP
simply by making one of the routers NTP master with the command:
ntp master
and pointing the other router to the NTP master with the command:
ntp server 10.11.254.8 (ip address of the master)
Please consult the configs at the end of this guide.
NTP time formats are displayed as: %H:%M:%S.%k %Z %tw %tn %td %Y, where:
%H is hour (00 to 23)
%M is minutes (00 to 59)
%S is seconds (00 to 59)
%k is milliseconds (000 to 999)
%Z is timezone string
%tw is day of the week (Saturday ... Sunday)
%tn is month (January ... December)
%td is day of the month (01 to 31)
%Y is the year, including century (for example, 1998)
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 3 of 35
Syslog Accounting
The syslog accounting option exports the information elements associated with each call leg through a system log message that can be
captured by a syslog daemon that is present on the network. The syslog output consists of the following:
<server timestamp> <gateway id> <message number> : <message label> : <list of A/V pairs>
Field Description
Server timestamp The timestamp created by the server when it receives the message to log
List of A/V pairs A string consisting of <attribute name> <attribute value> pairs separated by commas
Example
%VOIPAAA-5-VOIP_CALL_HISTORY:CallLegType 2,ConnectionId 300094C0 60E0F3A0 60C894C0 60C90000,
SetupTime 22:35:22.023UTC Tue Aug 11 1998, PeerAddress 999, PeerSubAddress , DisconnectCause
10 ,DisconnectText normal call clearing., ConnectTime 22:35:24.027 UTC Tue Aug 11 1998,
DisconnectTime 22:35:29.028 UTC Tue Aug 11 1998, CallOrigin 1, ChargedUnits 0, InfoType
2,TransmitPackets 0, TransmitBytes 0, ReceivePackets 0, ReceiveBytes 0
Note: For additional information about the standard AAA functionality, see:
Cisco IOS Release 11.3(T) Software Configuration New Features. (AAA is also referred to as Security Services)
http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/113ed_cr/secur_c/scprt1/index.htm
Command Mode
Global configuration (as a member of the AAA new-model group of commands)
Default
The [no] form of this command is the default.
Both h323 and syslog can be enabled at the same time, causing CDRs to be generated in both methods.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 4 of 35
Command Mode
Global configuration
Default
The [no] form of this command is the default.
Command Mode
global exec
Default
The [no] form of this command is the default.
RADIUS
Transactions
CiscoSecure for UNIX
v2.2 with RADIUS on
Sun Solaris 2.5.1 Workstation
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 5 of 35
RADIUS Accounting Records
For the different calls, utilizing the network illustrated in Figure 1, the following output was collected:
• Start and stop records for all call legs
• Debug radius output for originating and terminating gateways
• Router configuration for each gateway
• IOS and vcware versions for each gateway
AcctExport Syntax:
AcctExport filename [no_truncate] [clean] [no_active]
The filename is required and refers to the path name of the target file. When there is no option other than filename, AcctExport will export all
accounting records (except the start records for the active sessions) to the file, then remove the records from the accounting tables. CiscoSecure
is not required to be off line for this operation.
The no_truncate option directs the tool to behave in the same manner as the default option except that no records from the tables will be
removed.
If the clean option is specified, the tool exports all the accounting records present in the tables (regardless of active or nonactive sessions)
to the external file and deletes them from the tables. The tool also resets the sequence numbers used for accounting records by the CiscoSecure
DBServer. The sequence numbers are used to identify each session accounting record and user session. These numbers are in the range from
1 to 2,147,483,647. The current sequence numbers can be obtained from the cs_id table. When using this option, make sure either that
CiscoSecure is off line or that accounting is turned off.
If the no_active option is specified, only completed sessions, those with matching start and stop packets, are exported.
Connected to jdbc:odbc:SQLAnywhere;ENG=csecure;DBF=/export/home/SQLAnywhere/
csecure.db;Start="dbeng50 -ud"
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 6 of 35
Driver JDBC-ODBC Bridge (Sybase SQL Anywhere)
Version 1.1001 (05.05.0003)
Exporting to /export/home/cs_acct/radius_output121598
Number of active sessions: 0
SELECT blob_ordinal, blob_data FROM cs_accounting_log WHERE (log_id <= ?) ORDER BY log_id,
blob_ordinal
Successfully done.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 7 of 35
Call Leg Accounting Records for Four Different Calls
** Update records are obtained from Cisco routers with the AAA command:
aaa accounting update
Call 1:
This call is a normally connected and normally terminated call. Calls are matched by their connection id, a 128-bit field in the overloaded
Acct-Session-Id. Call legs are matched by the task-id, which is the same for start and stop records of a single call leg.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 8 of 35
time=10:27:14 date=12/ 9/1998 task_id=7/18:27:03.073 UTC Wed Dec 9 1998/ted53-2./3C5AEAB9
95C80008 0 587F34/answer/Telephony///
Wed Dec 9 10:27:13 1998
Client-Id = 10.11.254.8
NAS-Port-Type = Async
User-Name = ""
Called-Station-Id = "5710913"
Calling-Station-Id = "4089549203"
Acct-Status-Type = Start
User-Service-Type = Login-User
Acct-Session-Id = "7/18:27:03.073 UTC Wed Dec 9 1998/ted53-2./
3C5AEAB9 95C80008 0 587F34/answer/Telephony////"
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 9 of 35
Acct-Session-Time = 47
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 10 of 35
time=10:28:01 date=12/ 9/1998 task_id=8/18:27:28.092 UTC Wed Dec 9 1998/ted53-2./3C5AEAB9
95C80008 0 587F34/originate/VoIP/18:27:31.072 UTC Wed Dec 9 1998/18:27:50.070 UTC Wed Dec 9
1998/10 /10.11.253.8
Wed Dec 910:28:00 1998
Client-Id = 10.11.254.8
NAS-Port-Type = Async
User-Name = "1001"
Called-Station-Id = "99549171"
Calling-Station-Id = "4089549203"
Acct-Status-Type = Stop
User-Service-Type = Login-User
Acct-Session-Id = "8/18:27:28.092 UTC Wed Dec 91998/ted53-2./
3C5AEAB9 95C80008 0 587F34/originate/VoIP/18:27:31.072 UTC Wed Dec 9 1998/18:27:50.070 UTC Wed
Dec 9 1998/10 /10.11.253.8"
Acct-Input-Octets = 18700
Acct-Output-Octets = 20200
Acct-Input-Packets = 935
Acct-Output-Packets = 1010
Acct-Session-Time= 19
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 11 of 35
01:37:26: Attribute 61 6 00000000
01:37:26: Attribute 1 6 31303031
01:37:26: Attribute 30 10 39393534
01:37:26: Attribute 31 12 34303839
01:37:26: Attribute 40 6 00000002
01:37:26: Attribute 6 6 00000001
01:37:26: Attribute 44 155 382F3138
01:37:26: Attribute 42 6 0000490C
01:37:26: Attribute 43 6 00004EE8
01:37:26: Attribute 47 6 000003A7
01:37:26: Attribute 48 6 000003F2
01:37:26: Attribute 46 6 00000013
01:37:26: Attribute 41 6 00000000
The stop records for call leg 2 and 3 record the IP portion of the call. Call leg 2 is from the perspective of the originating gateway and call leg
3 is from the perspective of the terminating gateway. Both call leg accounting records are similar.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 12 of 35
Stop Record Call Leg 3
10.11.253.8 - - 4089549203 stop server=redzinger
time=10:28:01 date=12/ 9/1998 task_id=6/18:27:28.016 UTC Wed Dec 9 1998/ted53-6./
3C5AEAB9 95C80008 0 587F34/answer/VoIP/18:27:30.094 UTC Wed Dec 9 1998/18:27:49.093 UTC Wed Dec
9 1998/10 /10.11.254.8
Wed Dec 9 10:28:00 1998
Client-Id = 10.11.253.8
NAS-Port-Type = Async
User-Name = ""
Called-Station-Id = "99549171"
Calling-Station-Id = "4089549203"
Acct-Status-Type = Stop
User-Service-Type = Login-User
Acct-Session-Id = "6/18:27:28.016 UTC Wed Dec 9 1998/ted53-6./
3C5AEAB9 95C80008 0 587F34/answer/VoIP/18:27:30.094 UTC Wed Dec 9 1998/18:27:49.093 UTC Wed Dec
9 1998/10 /10.11.254.8"
Acct-Input-Octets = 20200
Acct-Output-Octets = 18700
Acct-Input-Packets = 1010
Acct-Output-Packets = 935
Acct-Session-Time = 19
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 13 of 35
Start and Stop Records for Call Leg 4 (originate telephony)
Call leg 4 is the PSTN call from the terminating gateway to the destination phone.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 14 of 35
Acct-Output-Packets = 1010
Acct-Session-Time = 19
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 15 of 35
Radius Debug Output Call Leg 1
04:32:42: Attribute 4 6 0A0BFE08
04:32:42: Attribute 61 6 00000000
04:32:42: Attribute 1 2 1E093537
04:32:42: Attribute 30 9 35373130
04:32:42: Attribute 31 12 34303839
04:32:42: Attribute 40 6 00000002
04:32:42: Attribute 6 6 00000001
04:32:42: Attribute 44 160 342F3232
04:32:42: Attribute 42 6 0000026C
04:32:42: Attribute 43 6 0000E924
04:32:42: Attribute 47 6 0000001F
04:32:42: Attribute 48 6 00000190
04:32:42: Attribute 46 6 00000025
04:32:42: Attribute 41 6 00000000
For call leg 1, the disconnect cause is normal disconnect (10) and the Acct-Session-Time is 25h or 37 seconds. In other words, the phone call
to the gateway was successful and took 37 seconds. With service providers who offer a local number with which to place VoIP calls, this is
not the record to look at for billing purposes, even though the call was completed.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 16 of 35
Radius Debug Output (stop record call leg 2)
04:32:32: Attribute 4 6 0A0BFE08
04:32:32: Attribute 61 6 00000000
04:32:32: Attribute 1 6 31303038
04:32:32: Attribute 30 10 39393534
04:32:32: Attribute 31 12 34303839
04:32:32: Attribute 40 6 00000002
04:32:32: Attribute 6 6 00000001
04:32:32: Attribute 44 127 352F3232
04:32:32: Attribute 42 6 00000244
04:32:32: Attribute 43 6 00000258
04:32:32: Attribute 47 6 0000001D
04:32:32: Attribute 48 6 0000001E
04:32:32: Attribute 46 6 00000001
04:32:32: Attribute 41 6 00000000
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 17 of 35
06:15:40: Attribute 6 6 00000001
06:15:40: Attribute 44 125 31382F32
06:15:40: Attribute 42 6 00000258
06:15:40: Attribute 43 6 00000244
06:15:40: Attribute 47 6 0000001E
06:15:40: Attribute 48 6 0000001D
06:15:40: Attribute 46 6 00000001
06:15:40: Attribute 41 6 00000000
06:15:40: RADIUS: ustruct sharecount=2
The stop records for call legs 2 and 3 together show the details of the VoIP portion of the call. This will typically (but not always) be the portion
of the call that billing apps examine. The Acct-session-time and Disconnect-Cause are the same for both records. Call leg 2 looks forward and
call leg 3 looks backward at the same portion of the call. The disconnect cause is user busy (11) and the session time is 1 second. Notice that
even though RADIUS attribute 46 (Acct-Session-Time) comes up as 1 second, in the overloaded Acct-Session-Id there is a 0 for the connect
time. The billing vendor would have to decide how to interpret this situation, but obviously customers don’t want to be charged for incomplete
calls.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 18 of 35
06:15:40: Attribute 40 6 00000002
06:15:40: Attribute 6 6 00000001
06:15:40: Attribute 44 133 31392F32
06:15:40: Attribute 42 6 00000244
06:15:40: Attribute 43 6 00000258
06:15:40: Attribute 47 6 0000001D
06:15:40: Attribute 48 6 0000001E
06:15:40: Attribute 46 6 00000001
06:15:40: Attribute 41 6 00000000
The stop record for call leg 4 is the same as that for call legs 2 and 3; in other words, a 1-second call duration, user busy (11) is the disconnect
cause, and connect time is 0 (not connected).
Call 3:
Call 3 is a call that is not answered. (phone rings for four rings)
Once again, because they add little of interest, start records are not included here. An unanswered call is interesting, mainly because the
disconnect cause code is 10 (normal disconnect) and Acct-Session-Time is nonzero. However, like the unanswered call, the connect time is
0, indicating a call that was neither answered nor connected. The stop records are presented with the router debugs. The reader can inspect
the call duration and disconnect types.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 19 of 35
RADIUS Debug Call Leg 1
02:13:29: Attribute 4 6 0A0BFE08
02:13:29: Attribute 61 6 00000000
02:13:29: Attribute 1 2 1E093537
02:13:29: Attribute 30 9 35373130
02:13:29: Attribute 31 12 34303839
02:13:29: Attribute 40 6 00000002
02:13:29: Attribute 6 6 00000001
02:13:29: Attribute 44 174 31302F31
02:13:29: Attribute 42 6 00005668
02:13:29: Attribute 43 6 00011804
02:13:29: Attribute 47 6 00000452
02:13:29: Attribute 48 6 000003E8
02:13:29: Attribute 46 6 00000032
02:13:29: Attribute 41 6 00000000
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 20 of 35
02:13:29: Attribute 6 6 00000001
02:13:29: Attribute 44 148 31312F31
02:13:29: Attribute 42 6 00003124
02:13:29: Attribute 43 6 00005654
02:13:29: Attribute 47 6 00000275
02:13:29: Attribute 48 6 00000451
02:13:29: Attribute 46 6 00000018
02:13:29: Attribute 41 6 00000000
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 21 of 35
Stop Record Call Leg 4
10.11.253.8 - - 4089549203 stop server=redzinger
time=13:21:52 date=12/10/1998 task_id=9/12:21:32.048 Pacific Thu Dec 10 1998/ted53-6./
FDEB6C8D A98C000A 0 7970BC/originate/Telephony/0/12:21:55.088 Pacific Thu Dec 10 1998/10 /Thu
Dec 10 13:21:51 1998
Client-Id = 10.11.253.8
NAS-Port-Type = Async
User-Name = ""
Called-Station-Id = "99549171"
Calling-Station-Id = "4089549203"
Acct-Status-Type = Stop
User-Service-Type = Login-User
Acct-Session-Id = "9/12:21:32.048 Pacific Thu Dec 10 1998/ted53-6./FDEB6C8D A98C000A 0
7970BC/originate/Telephony/0/12:21:55.088 Pacific Thu Dec 10 1998/10 /"
Acct-Input-Octets = 12580
Acct-Output-Octets = 22100
Acct-Input-Packets = 629
Acct-Output-Packets = 1105
Acct-Session-Time = 23
Acct-Delay-Time = 0
This call has a normal disconnect (10) and a session time of 23 seconds, but it also has a 0 in the connection time field, indicating that the call
was set up and was torn down 23 seconds later. The 0 in the connect time field indicates that the call was never connected end to end.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 22 of 35
Call 4
This call is an abnormally terminated call. The terminating gateway was turned off, simulating a power outage.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 23 of 35
NAS-Port-Type = Async
User-Name = "1009"
Called-Station-Id = "99549171"
Calling-Station-Id = "4089549203"
Acct-Status-Type = Stop
User-Service-Type = Login-User
Acct-Session-Id = "16/14:07:08.066 Pacific Thu Dec 10 1998/ted53-2./FDEB6C8D A98C0010
0 DA1614/originate/VoIP/14:07:12.019 Pacific Thu Dec 10 1998/14:07:49.098
Pacific Thu Dec 10 1998/10 /10.11.253.8"
Acct-Input-Octets = 22240
Acct-Output-Octets = 39940
Acct-Input-Packets = 1112
Acct-Output-Packets = 1997
Acct-Session-Time = 41
Acct-Delay-Time = 0
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 24 of 35
Router Configurations and Versions
Current configuration:
!
! No configuration change since last restart
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ted53-2
!
aaa new-model
aaa authentication login default local radius
aaa authentication login no_rad local
aaa authentication login h323 radius
aaa authentication login lazy none
aaa authorization network h323 radius
aaa accounting update newinfo
aaa accounting network default start-stop radius
aaa accounting connection default start-stop radius
aaa accounting connection h323 start-stop radius
aaa accounting connection no_rad none
aaa accounting system default start-stop radius
enable secret 5 $1$Tx4Q$wpX9Kk2ncq/I5KmAF3qE71
!
username cisco password 0 cisco
username 1000 password 0 123
partition flash 2 8 8
!
ip subnet-zero
isdn switch-type primary-5ess
clock calendar-valid
!
!
controller T1 0
framing esf
clock source internal
linecode b8zs
pri-group timeslots 1-24
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 25 of 35
controller T1 1
framing esf
clock source line secondary
linecode b8zs
pri-group timeslots 1-24
!
controller T1 2
framing esf
clock source internal
linecode b8zs
pri-group timeslots 1-24
!
controller T1 3
framing esf
clock source line primary
linecode b8zs
pri-group timeslots 1-24
!
gw-accounting h323
!
dial-peer voice 5000 pots
application clid_authen_collect
destination-pattern 5550000
port 3:D
!
dial-peer voice 1000 voip
destination-pattern 5552000
session target ipv4:10.11.253.8
!
dial-peer voice 1 pots
application clid_authen_collect
destination-pattern 5710913
port 1:D
!
dial-peer voice 99 voip
destination-pattern 9.T
session target ipv4:10.11.253.8
!
dial-peer voice 8 pots
destination-pattern 8.......
port 1:D
!
dial-peer voice 6 pots
destination-pattern 6...
port 0:D
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 26 of 35
dial-peer voice 77 pots
destination-pattern 77
port 0:D
prefix 851
!
dial-peer voice 1005 voip
destination-pattern 55552000
session target ipv4:10.11.253.8
!
!
voice-port 0:D
!
voice-port 1:D
!
voice-port 2:D
!
voice-port 3:D
!
interface Ethernet0
ip address 10.11.254.8 255.255.255.0
!
interface Serial0:23
description This is a PRI dms100 trunk TAC 666
no ip address
no ip directed-broadcast
isdn switch-type primary-dms100
isdn tei-negotiation first-call
isdn incoming-voice modem
no cdp enable
!
interface Serial1:23
description This is a Pac Bell PRI 5710913
no ip address
no ip directed-broadcast
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
interface Serial2:23
no ip address
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 27 of 35
interface Serial3:23
no ip address
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
interface FastEthernet0
no ip address
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.11.254.1
!
tftp-server flash c5300-is-mz_113-6_NA2.bin
snmp-server community public RO
snmp-server community private RW
snmp-server host 172.22.42.48 traps public
radius-server host 10.1.11.11 auth-port 1645 acct-port 1646
radius-server key testing123
!
line con 0
exec-timeout 0 0
password cisco
login authentication lazy
transport input none
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
accounting connection no_rad
login authentication no_rad
!
ntp master
end
ted53-2#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 5300 Software (C5300-IS-M), Version 11.3(7)NA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
TAC:Home:SW:IOS:Service Provider feature
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Fri 30-Oct-98 14:25 by ayeh
Image text-base: 0x600088E8, data-base: 0x607A0000
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 28 of 35
BOOTFLASH: 5300 Software (C5300-BOOT-M), Version 11.2(9)XA1, RELEASE SOFTWARE (fc1)
cisco AS5300 (R4K) processor (revision A.22) with 65536K/16384K bytes of memory.
Processor board ID 07798733
R4700 processor, Implementation 33, Revision 1.0 (512KB Level 2 Cache)
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
Backplane revision 2
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x30,
Board Hardware Version 1.0, Item Number 73-2414-3,
Board Revision A0, Serial Number 07798733,
PLD/ISP Version 255.255, Manufacture Date 25-Feb-1998.
1 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
96 Serial network interface(s)
4 Channelized T1/PRI port(s)
24 Voice resource(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash partition 1 (Read/Write)
8192K bytes of processor board System flash partition 2 (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
1 . vcw-vfc-mz.2.5.bin 330844
2 . btl-vfc-l.2.2.bin 4174
3 . cor-vfc-l.2.3(3).bin 60296
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 29 of 35
4 . jbc-vfc-l.2.2.bin 12286
5 . fax-vfc-l.2.3(3).bin 64314
6 . bas-vfc-l.2.3(3).bin 49634
7 . cdc-g711-l.2.3(3).bin 190
8 . cdc-g729-l.2.3(3).bin 28230
ted53-2#
Current configuration:
!
! No configuration change since last restart
!
version 11.3
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ted53-6
!
aaa new-model
aaa authentication login default local radius
aaa authentication login no_rad local
aaa authentication login h323 radius
aaa authentication login lazy none
aaa authorization network h323 radius
aaa accounting update newinfo
aaa accounting network default start-stop radius
aaa accounting connection default start-stop radius
aaa accounting connection h323 start-stop radius
aaa accounting connection no_rad none
aaa accounting system default start-stop radius
enable secret 5 $1$L2dD$rHRQQLF59SOiwKCEb8uOd/
!
username cisco password 0 cisco
ip subnet-zero
isdn switch-type primary-5ess
!
!
controller T1 0
framing esf
clock source internal
linecode b8zs
pri-group timeslots 1-24
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 30 of 35
controller T1 1
framing esf
clock source line secondary
linecode b8zs
pri-group timeslots 1-24
!
controller T1 2
framing esf
clock source internal
linecode b8zs
pri-group timeslots 1-24
!
controller T1 3
framing esf
clock source line primary
linecode b8zs
pri-group timeslots 1-24
!
gw-accounting h323
!
dial-peer voice 99 pots
destination-pattern 9.T
port 1:D
!
dial-peer voice 5000 pots
destination-pattern 5552000
port 3:D
prefix 5551000
!
dial-peer voice 8 voip
destination-pattern 8.......
fax-rate 9600
session target ipv4:10.11.254.8
!
dial-peer voice 6 pots
destination-pattern 6...
port 0:D
!
dial-peer voice 77 voip
destination-pattern 77
session target ipv4:10.11.254.8
!
!
voice-port 0:D
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 31 of 35
voice-port 1:D
!
voice-port 2:D
!
voice-port 3:D
!
interface Ethernet0
ip address 10.11.253.8 255.255.255.0
!
interface Serial0:23
no ip address
isdn switch-type primary-dms100
isdn tei-negotiation first-call
isdn incoming-voice modem
no cdp enable
!
interface Serial1:23
no ip address
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
interface Serial2:23
no ip address
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
interface Serial3:23
no ip address
isdn switch-type primary-5ess
isdn incoming-voice modem
no cdp enable
!
interface FastEthernet0
no ip address
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.11.253.1
!
snmp-server community public RO
snmp-server community private RW
radius-server host 10.1.11.11 auth-port 1645 acct-port 1646
radius-server key testing123
!
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 32 of 35
line con 0
exec-timeout 0 0
login authentication lazy
line aux 0
line vty 0 4
exec-timeout 0 0
password cisco
accounting connection no_rad
login authentication lazy
!
ntp clock-period 17180081
ntp server 10.11.254.8
end
ted53-6#sh ver
Cisco Internetwork Operating System Software
IOS (tm) 5300 Software (C5300-IS-M), Version 11.3(7)NA, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)
TAC:Home:SW:IOS:Service Provider feature
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Fri 30-Oct-98 14:25 by ayeh
Image text-base: 0x600088E8, data-base: 0x607A0000
cisco AS5300 (R4K) processor (revision A.32) with 32768K/16384K bytes of memory.
Processor board ID 10078660
R4700 processor, Implementation 33, Revision 1.0 (512KB Level 2 Cache)
Bridging software.
X.25 software, Version 3.0.0.
SuperLAT software copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
Backplane revision 2
Manufacture Cookie Info:
EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x30,
Board Hardware Version 1.64, Item Number 800-2544-2,
Board Revision B0, Serial Number 10078660,
PLD/ISP Version 0.0, Manufacture Date 30-Sep-1998.
1 Ethernet/IEEE 802.3 interface(s)
1 FastEthernet/IEEE 802.3 interface(s)
96 Serial network interface(s)
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 33 of 35
4 Channelized T1/PRI port(s)
24 Voice resource(s)
128K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
4096K bytes of processor board Boot flash (Read/Write)
1 . vcw-vfc-mz.2.5.bin 330844
2 . btl-vfc-l.2.2.bin 4174
3 . cor-vfc-l.2.3(3).bin 60296
4 . jbc-vfc-l.2.2.bin 12286
5 . fax-vfc-l.2.3(3).bin 64314
6 . bas-vfc-l.2.3(3).bin 49634
7 . cdc-g711-l.2.3(3).bin 190
8 . cdc-g729-l.2.3(3).bin 28230
ted53-6#
Acknowledgements:
This document was written with the generous assistance of Azita Kia and the Cisco Product Documentation team.
Cisco Confidential
Copyright © 1999 Cisco Systems, Inc. All Rights Reserved.
Page 34 of 35
Corporate Headquarters European Headquarters Americas Asia Headquarters
Cisco Systems, Inc. Cisco Systems Europe s.a.r.l. Headquarters Nihon Cisco Systems K.K.
170 West Tasman Drive Parc Evolic, Batiment L1/L2 Cisco Systems, Inc. Fuji Building, 9th Floor
San Jose, CA 95134-1706 16 Avenue du Quebec 170 West Tasman Drive 3-2-3 Marunouchi
USA Villebon, BP 706 San Jose, CA 95134-1706 Chiyoda-ku, Tokyo 100
http://www.cisco.com 91961 Courtaboeuf Cedex USA Japan
Tel: 408 526-4000 France http://www.cisco.com http://www.cisco.com
800 553-NETS (6387) http://www-europe.cisco.com Tel: 408 526-7660 Tel: 81 3 5219 6250
Fax: 408 526-4100 Tel: 33 1 69 18 61 00 Fax: 408 527-0883 Fax: 81 3 5219 6001
Fax: 33 1 69 28 83 26
Cisco Systems has more than 200 offices in the following countries. Addresses, phone numbers, and fax numbers are listed on the
C i s c o C o n n e c t i o n O n l i n e We b s i t e a t h t t p : / / w w w. c i s c o . c o m / o f fi c e s .
Argentina • Australia • Austria • Belgium • Brazil • Canada • Chile • China • Colombia • Costa Rica • Croatia • Czech Republic • Denmark • Dubai, UAE Finland • France
• Germany • Greece • Hong Kong • Hungary • India • Indonesia • Ireland • Israel • Italy • Japan • Korea • Luxembourg • Malaysia Mexico • The Netherlands • New
Zealand • Norway • Peru • Philippines • Poland • Portugal • Puerto Rico • Romania • Russia • Saudi Arabia • Singapore Slovakia • Slovenia • South Africa • Spain •
Sweden • Switzerland • Taiwan • Thailand • Turkey • Ukraine • United Kingdom • United States • Venezuela
Copyright © 1999 Cisco Systems, Inc. All rights reserved. Printed in USA. IOS is a trademark; and Cisco, Cisco IOS, Cisco Systems, and the Cisco Systems logo are registered trademarks of Cisco Systems, Inc. in the U.S. and
certain other countries. All other trademarks mentioned in this document are the property of their respective owners. (9811R) 1/99LW