Cisco Cisco Packet Data Interworking Function (PDIF) Guía Para Resolver Problemas
Credit Control Configuration Mode Commands
timestamp-rounding ▀
Cisco ASR 5000 Series Command Line Interface Reference ▄
OL-22947-02
timestamp-rounding
This command configures how to convert exact time into the units that are used in quotas.
Product
ACS
Privilege
Security Administrator, Administrator
Syntax
Configures the default timestamp-rounding setting.
Default:
Default:
This keyword round-off to the smallest integer greater than the fraction.
If the fractional part of the seconds is greater than 0, then this keyword adds 1 to the number of seconds and
discard the fraction.
If the fractional part of the seconds is greater than 0, then this keyword adds 1 to the number of seconds and
discard the fraction.
This keyword always discards the fractional part of the second.
This keyword sets the fractional part of the seconds to nearest integer value. If fractional value is greater than
or equal to 0.5 it adds 1 to the number of seconds and discards the fractional part of second.
or equal to 0.5 it adds 1 to the number of seconds and discards the fractional part of second.
Usage
Use this command to configure how to convert exact time into the units that are used in quotas for CCA
charging.
The specified rounding will be performed before system attempts any calculation. For example using round-
off, if the start time is 1.4, and the end time is 1.6, then the calculated duration will be 1 (i.e., 2 – 1 = 1).
charging.
The specified rounding will be performed before system attempts any calculation. For example using round-
off, if the start time is 1.4, and the end time is 1.6, then the calculated duration will be 1 (i.e., 2 – 1 = 1).
Example
The following command sets the CCA timestamp to nearest integer value second; i.e. 34:12.23 to 34:12.00:
The following command sets the CCA timestamp to nearest integer value second; i.e. 34:12.23 to 34:12.00: