
ip-address rw-community-string
ccmCollectionCpeList.0 -i 2
workstation#
Step 6
(Optional) To aggregate all service flow information for each cable modem in a single record, set the
ccmCollectionAggregate object to 1 (true). The default is for each service flow to be written in a separate record:
Example:
workstation#
setany -v2c
ip-address rw-community-string
ccmCollectionAggregate.0 -i 1
workstation#
Step 7
(Optional) To specify the source-interface for the billing packets, set the ccmtrCollectionSrcIfIndex object to 1 (true).
The default is for the billing packets to automatically select a source-interface.
Example:
workstation#
setany -v2c
ip-address rw-community-string
ccmtrCollectionSrcIfIndex.0 -i 1
workstation#
Examples for SNMP Commands
The following example shows the Usage-based Billing feature being configured using SNMP commands.
The following display shows that a Cisco CMTS router at IP address 10.8.8.21 is configured with the default
configuration (the Usage-based Billing feature is disabled):
workstation#
getmany -v2c 10.8.8.21 rw-string ciscoCableMeteringMIB
ccmCollectionType.0 = none(1)
ccmCollectionFilesystem.0 =
ccmCollectionCpeList.0 = true(1)
ccmCollectionAggregate.0 = false(2)
ccmCollectionStatus.0 = 0
ccmCollectionDestination.0 =
ccmCollectionTimestamp.0 = 00 00
00 00
00 00
00 00
ccmCollectionNotifEnable.0 = true(1)
workstation#
The following SNMP commands are then given to enable the Usage-based Billing feature and to configure
it for streaming mode:
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionType.0 -i 3
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionIpAddress.1 -o '0a 08 06 0b'
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionPort.1 -g 6789
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionSecure.1 -i 2
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionRetries.1 -i 3
workstation#
setany -v2c 10.8.8.21 rw-string ccmCollectionInterval.1 -i 45
workstation#
Cisco cBR Series Converged Broadband Routers Troubleshooting and Network Management Configuration Guide
for Cisco IOS XE Fuji 16.8.x
163
Usage-Based Billing (SAMIS)
Enabling Usage-based Billing Feature Streaming Mode Using SNMP Commands