
2-31
Cisco Broadband Cable Command Reference Guide
OL-1581-08
Chapter 2 Cisco CMTS Configuration Commands
cable config-file
•
service-class
•
snmp manager
•
timestamp
Note
When a DOCSIS shared secret is configured on the downstream interface (see the
cable shared-secret
command), the
cable config-file
command automatically inserts the appropriate MD5 Message Integrity
Check (MIC) value at the end of the dynamically generated DOCSIS configuration file. You do not need
to specify the DOCSIS shared secret string with the
cable config-file
command.
After using the
config-file
subcommands, enter the
exit
command to leave config-file mode and to save
the configuration file in the Flash memory. After a configuration file is created, it also appears in the
running-configuration file. To delete a configuration file and remove it from Flash memory, use the
no
cable config-file
command.
To allow CMs to download the configuration files, you must also enable the router’s onboard TFTP
server, using the
tftp-server
configuration command. Unless you are running on a small lab network,
you should also remove the default limit of 10 TFTP sessions by using the
service udp-small-serves
max-servers no limit
command.
In addition, the following commands are also recommended:
•
cable time-server
—Enables the Cisco CMTS to function as a time-of-day (ToD) server.
•
ip dhcp pool
—Configures the Cisco CMTS as a DHCP server. Otherwise, you need an external
DHCP server.
•
ip dhcp ping packets 0
—Improves the scalability of the Cisco CMTS DHCP server.
Examples
The following example shows two DOCSIS configuration files being configured. The first configuration
file allows each CM to have up to four CPE devices and configures the QoS parameters for its traffic.
The second configuration file denies network access to the CM and its CPE devices.
router#
configure terminal
router(config)#
cable config-file test.cm
router(config-file)#
cpe max 4
router(config-file)#
service-class 1 priority 2
router(config-file)#
service-class 1 max-upstream 128
router(config-file)#
service-class 1 max-downstream 1000
router(config-file)#
timestamp
router(config-file)#
exit
router(config)#
cable config-file denied.cm
router(config-file)#
access-denied
router(config-file)#
exit
router(config)#
The following is a portion of a typical Cisco IOS configuration file that shows the above two DOCSIS
configuration files, as well as a typical DHCP server configuration:
router#
show running-config
...
service udp-small-servers max-servers no-limit
!
cable time-server
!
cable config-file test.cm
cpe max 4
service-class 1 priority 2