The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the command-line utility (CLU) commands when the Internet Protocol Detail Record (IPDR) Login Event Generator (LEG) software is installed on the Subscriber Manager (SM).
The IPDR LEG contains its own CLU commands, called p3ipdr, for monitoring the IPDR server and LEG.
The p3ipdr CLU displays the LEG configuration and statistics. The command format is p3ipdr <operation>.
Table 38-1 lists the p3ipdr operations.
•Viewing the IPDR LEG Statistics
The following is an example of using the p3ipdr CLU with the show operation:
>p3ipdr --show
IPDR LEG
==============
Version : IPDR LEG 3.7.2
Active : TRUE
Cable Mode : FALSE
SNMP Mode For BG : FALSE
Time Interval For Aggregated Query : 60
Number of IPDR Messages waiting in SNMP BG query queue :
SNMP BG Query Queue Size : 100000
Next expected delayed IPDR queue Login: Tue Jan 03 09:28:19 IST 2012
Bulk query enabled: false
Templates : CMTS-CM-REG-STATUS-TYPE_3.5.1-A.1 , SAMIS-TYPE-1_3.5.1-A.1 , CPE-TYPE_3.5.1-A.1
SubscriberID :
==============
IPDRField - key = CmMacAddr, keyType = string
Policies :
==============
Policy Name : packageId
=======================
separator : _
use default : false
default value : 0
allow no package : true
concat option : IPDRField - key = CmtsMdIfIndex, keyType = integer
log success : false
log default success : false
Number of mappings : 0
Policy Name : upVlinkId
=======================
separator : _
use default : false
default value : 0
allow no package : true
concat option : IPDRField - key = CmtsIpv4Addr, keyType = integer,
concat option : IPDRField - key = CmtsMdIfIndex, keyType = integer,
concat option : IPDRField - key = CmtsTcsId, keyType = integer
log success : false
log default success : false
Number of mappings : 0
Policy Name : downVlinkId
=========================
separator : _
use default : false
default value : 0
allow no package : true
concat option : IPDRField - key = CmtsIpv4Addr, keyType = integer,
concat option : IPDRField - key = CmtsMdIfIndex, keyType = integer,
concat option : IPDRField - key = CmtsRcsId, keyType = integer
log success : false
log default success : false
Number of mappings : 0
Command terminated successfully
The following is an example of using the p3ipdr CLU with the show-exporters operation:
>p3ipdr --show-exporters
IPDR EXPORTERS
==============
ExporterName : IPDR.Exporter.nik
ExporterIp : 10.52.206.2
ExporterPort : 4737
ExporterConnectionType : active
Start : true
SessionId : 3,2,4,5
KeepAlive : 15
TimeOut : 100
Command terminated successfully
The following is an example of using the p3ipdr CLU with the show-statistics operation:
>p3ipdr --show-statistics
IPDR LEG statistics
=================================
Total Received IPDR Messages: 372
Invalid IPDR Messages: 0
IPDR Interim Messages: 240
IPDR Login Messages: 45
IPDR Logout Messages: 55
IPDR Login Error Messages: 0
IPDR Logout Error Messages: 10
CPE TYPE Login Messages: 35
CPE TYPE Logout Messages: 35
CM STATUS Login Messages: 10
CM STATUS Logout Messages: 10
SAMIS Login/Interim Messages: 240
Command terminated successfully
The following is an example of using the p3ipdr CLU with the show-statistics operation:
>p3ipdr --reset-statistics
Command terminated successfully
>p3ipdr --show-statistics
IPDR LEG statistics
=================================
Total Received IPDR Messages: 0
Invalid IPDR Messages: 0
IPDR Interim Messages: 0
IPDR Login Messages: 0
IPDR Logout Messages: 0
IPDR Login Error Messages: 0
IPDR Logout Error Messages: 0
CPE TYPE Login Messages: 0
CPE TYPE Logout Messages: 0
CM STATUS Login Messages: 0
CM STATUS Logout Messages: 0
SAMIS Login/Interim Messages: 0
Command terminated successfully