27.03.2013 Views

Cisco Broadband Cable Command Reference Guide

Cisco Broadband Cable Command Reference Guide

Cisco Broadband Cable Command Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 2 <strong>Cisco</strong> <strong>Cable</strong> Modem Termination System <strong>Command</strong>s<br />

OL-1581-05<br />

<strong>Cisco</strong> <strong>Broadband</strong> <strong>Cable</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Guide</strong><br />

cable source-verify<br />

Note The leasetimer option is active only if you have also specified the cable source-verify dhcp command<br />

for the cable interface. If the dhcp option is not used, the leasetimer option has no effect. In addition,<br />

the leasetimer option can be configured only on an interface, not a subinterface. Applying it to a master<br />

interface automatically applies it to all subinterfaces.<br />

The leasetimer option allows you to configure how often the timer checks the lease times, so as to<br />

specify the maximum amount of time a CPE device can use an IP address that was previously assigned<br />

by the DHCP server but whose lease time has since expired. The time period can range from 1 minute<br />

to 240 minutes (4 hours), with a grace period of 2 minutes to allow a PC enough time to make a DHCP<br />

request to renew the IP address. To turn off the timer, so that the CMTS no longer checks the lease times,<br />

issue the cable source-verify command without the dhcp option, or turn off the feature entirely with the<br />

no cable source-verify command.<br />

Tip In some circumstances, spoofing can still occur even after the cable source-verify command is used, due<br />

to the behavior of the ARP protocol. For additional security, consider blocking ARP requests to the CMs<br />

using the no cable arp command. For more details, see the <strong>Cisco</strong> Tech Note at the following URL:<br />

http://www.cisco.com/warp/public/109/source_verify.html<br />

Examples The following example shows how to turn on CM upstream verification and configures the <strong>Cisco</strong> CMTS<br />

router to send DHCP LEASEQUERIES to verify unknown source IP addresses in upstream data packets:<br />

router# configure terminal<br />

router#(config) interface c4/0<br />

router(config-if)# cable source-verify dhcp<br />

router(config-if)#<br />

The following example shows how to enable the leasetimer feature so that every two hours, the CMTS<br />

checks the IP addresses in the CPE database for that particular interface for expired lease times:<br />

router# configure terminal<br />

router#(config) interface c1/0<br />

router(config-if)# cable source-verify dhcp<br />

router(config-if)# cable source-verify leasetimer 120<br />

The following example shows the error message that is displayed if you try to configure the leasetimer<br />

option on a subinterface, instead of an interface:<br />

router# configure terminal<br />

router#(config) interface c1/0.1<br />

router(config-subif)# cable source-verify dhcp<br />

router(config-subif)# cable source-verify leasetimer 120<br />

% Invalid input detected at '^' marker.<br />

Router(config-subif)#<br />

Related <strong>Command</strong>s <strong>Command</strong> Description<br />

cable arp Enables or disables the use of the ARP protocol for CMs and their<br />

CPE devices.<br />

cable helper-address Specifies a destination IP address for User Datagram Protocol (UDP)<br />

broadcast (DHCP) packets.<br />

2-149

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!