Guest

Cisco WAN Interface Cards

Cisco Cable Modem High-Speed WAN Interface Cards Configuration Guide

Table Of Contents

Cisco Cable Modem High-Speed
WAN Interface Cards Configuration Guide

Contents

Open Source License Acknowledgements

OpenSSL/Open SSL Project

License Issues

Restrictions for the Cisco Cable Modem HWICs

Information About the Cisco Cable Modem HWICs

Accessibility

Hardware Overview

Platform Support for Cisco Cable Modem HWICs

Port Numbering Schemes

Software Features and Benefits

How to Configure the Router to Interact with the Cable Modem

Configuring Bridging

Configuring Routing

Configuring Network Address Translation

Configuring Dynamic Host Configuration Protocol

Configuring QoS

Examples

Configuring Easy Virtual Private Network

Configuring Multicast with IGMP Proxy

Prerequisites

Examples

Configuring Circuit Emulation over IP

Configuring the NM-CEM-4TE1 Card Type

Configuring the T1/E1 Line

Creating Circuit Emulation Channels on the T1/E1 Line

Configuring the Connection Using the xconnect Command

Configuring the Circuit Emulation Channel

Examples

Configuration for the Multiple Service Operator

How to Download Firmware from the CMTS

Prerequisites

Preparing the Cable Modem Configuration File

Vendor Specific Type-Length-Values 42

TLV 42

Additional References

Related Documents

MIBs

RFCs

Technical Assistance

Commands at a Glance

clear interface cable-modem

debug cable-modem driver

debug cable-modem rbcp

debug cable-modem startup

service-flow primary upstream

service-module ip address

show controllers cable-modem

show interfaces cable-modem

show ip access-list


Cisco Cable Modem High-Speed
WAN Interface Cards Configuration Guide


This document describes how to configure Cisco Data-Over-Cable Service Interface Specification (DOCSIS) cable modem high-speed WAN interface cards (HWICs) in the following supported Cisco routers: Cisco IAD2431 integrated access devices; Cisco 2691, Cisco 3725, Cisco 3745 series routers; Cisco 815, Cisco 1800, Cisco 2800, and Cisco 3800 integrated services routers (ISRs).

Cisco cable modem HWICs are designed to be fully compliant with DOCSIS 2.0 standards in the United States, Europe, and Japan. Cisco cable modem HWICs provide secure, high-speed connections to hybrid fiber-coaxial (HFC) cable networks.

The Cisco cable modem HWICs allow the router to communicate over high-speed data (HSD) cable networks for office-to-Internet connectivity or for branch-to-branch connectivity. Supported on a wide range of platforms, the Cisco cable modem HWICs are suitable for installations ranging from small office/home office (SOHO) to small and medium business (SMB) to enterprise branch offices. When the Cisco cable modem HWIC is combined with the powerful Cisco IOS software and Cisco's wide range of industry-leading access routers, an unparalleled range of services possible, all within a single, easily manageable platform. This combination allows a provider or business to minimize operational expenses while maximizing the potential return on invested capital.


Note The Cisco cable modem HWIC is fully DOCSIS 2.0 compliant. To see the DOCSIS 2.0 U.S. requirements and specifications, see the CableLabs website at
http://www.cablemodem.com/specifications/specifications20.html

To see Euro DOCSIS 2.0 requirements, see the ComLabs website at
http://www.tcomlabs.com


Feature History for Cisco Cable Modem HWICs (HWIC-CABLE-D-2, HWIC-CABLE-E/J-2)

Release
Modification

12.4(11)T (router software)

This feature was introduced.

12.4(6)XE (router software)

This command was integrated into Cisco IOS Release 12.4(6)XE.


Finding Support Information for Platforms and Cisco IOS Software Images

Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://tools.cisco.com/ITDIT/CFN/jsp/index.jsp. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.

Contents

Open Source License Acknowledgements

Information About the Cisco Cable Modem HWICs

Open Source License Acknowledgements

How to Configure the Router to Interact with the Cable Modem

Configuration for the Multiple Service Operator

Additional References

Commands at a Glance

Open Source License Acknowledgements

The following notices pertain to this software license.

OpenSSL/Open SSL Project

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).

This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).

This product includes software written by Tim Hudson (tjh@cryptsoft.com).

License Issues

The OpenSSL toolkit stays under a dual license, i.e. both the conditions of the OpenSSL License and the original SSLeay license apply to the toolkit. See below for the actual license texts. Actually both licenses are BSD-style Open Source licenses. In case of any license issues related to OpenSSL please contact openssl-core@openssl.org.

OpenSSL License:

Copyright © 1998-2007 The OpenSSL Project. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. All advertising materials mentioning features or use of this software must display the following acknowledgment: "This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)".

4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact openssl-core@openssl.org.

5. Products derived from this software may not be called "OpenSSL" nor may "OpenSSL" appear in their names without prior written permission of the OpenSSL Project.

6. Redistributions of any form whatsoever must retain the following acknowledgment:

"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)".

THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT "AS IS"' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). This product includes software written by Tim Hudson (tjh@cryptsoft.com).

Original SSLeay License:

Copyright © 1995-1998 Eric Young (eay@cryptsoft.com). All rights reserved.

This package is an SSL implementation written by Eric Young (eay@cryptsoft.com).

The implementation was written so as to conform with Netscapes SSL.

This library is free for commercial and non-commercial use as long as the following conditions are adhered to. The following conditions apply to all code found in this distribution, be it the RC4, RSA, lhash, DES, etc., code; not just the SSL code. The SSL documentation included with this distribution is covered by the same copyright terms except that the holder is Tim Hudson (tjh@cryptsoft.com).

Copyright remains Eric Young's, and as such any Copyright notices in the code are not to be removed. If this package is used in a product, Eric Young should be given attribution as the author of the parts of the library used. This can be in the form of a textual message at program startup or in documentation (online or textual) provided with the package.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. All advertising materials mentioning features or use of this software must display the following acknowledgement:

"This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)".

The word `cryptographic' can be left out if the routines from the library being used are not cryptography-related.

4. If you include any Windows specific code (or a derivative thereof) from the apps directory (application code) you must include an acknowledgement: "This product includes software written by Tim Hudson (tjh@cryptsoft.com)".

THIS SOFTWARE IS PROVIDED BY ERIC YOUNG "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The license and distribution terms for any publicly available version or derivative of this code cannot be changed. i.e. this code cannot simply be copied and put under another distribution license [including the GNU Public License].

Restrictions for the Cisco Cable Modem HWICs

The Cisco IOS software version and feature set software that are installed on the host router must be compatible with the cable modem HWIC. See the "Feature History for Cisco Cable Modem HWICs (HWIC-CABLE-D-2, HWIC-CABLE-E/J-2)" section. To view the Cisco IOS software release and router feature set, enter the show version command in privileged EXEC mode.


Note To configure the Cisco IOS software on your router, see the Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.4 at the following URL:

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_book09186a0080430ee6.html


Information About the Cisco Cable Modem HWICs

This section describes the features of and some important concepts about Cisco cable modem HWICs:

Accessibility

Hardware Overview

Software Features and Benefits

Accessibility

These HWICs can be configured using the Cisco command-line interface (CLI). The CLI conforms to accessibility code 508 because it is text based and because it relies on a keyboard for navigation. All functions of the router can be configured and monitored through the CLI.

For a complete list of guidelines and Cisco products adherence to accessibility, see Cisco Accessibility Products at the following URL:

http://www.cisco.com/web/about/responsibility/accessibility/products

Hardware Overview

The two types of Cisco cable modem HWICs are as follows:

HWIC-CABLE-D-2

HWIC-CABLE-D-2 is the cable modem HWIC that is designed for North American customers.

HWIC-CABLE-E/J-2

HWIC-CABLE-E/J-2 is the cable modem HWIC that is designed for European and Japanese customers.


Note For complete information about Cisco cable modem HWIC hardware, see the Cisco Network Modules Hardware Installation Guide at the following URL:

http://www.cisco.com/en/US/products/hw/modules/ps2797/products_module_installation_guide_book09186a0080692a92.html


Platform Support for Cisco Cable Modem HWICs

Cisco cable modem HWICs can be inserted into WIC or HWIC slots. Table 1 lists the Cisco routers that support WICs and HWICs.


Note A maximum of four Cisco cable modem HWICs can be inserted in the chassis, depending on the availability of chassis slots.


Table 1 Cisco Router Support for WICs and HWICs 

Cisco Router
WIC
HWIC

8151

Note The HWIC-CABLE-D-2 is a fixed-configuration card and is not field replaceable. The HWIC-CABLE-D-2 card operates only in WIC mode with 8-Mbps throughput.

Yes

No

1800

No

Yes

IAD24311

Yes

No

26911

Yes

No

2800 series

No

Yes

3700 series1

Yes

No

3800 series

No

Yes

1 When the cable modem HWIC is placed in these routers, the HWIC operates only in WAN interface card (WIC) mode, providing total throughput of 8 Mbps on the cable modem HWIC.



Note For specific information about the routers that support the Cisco cable modem HWICs, see the hardware installation documentation for your router, which is available on http://www.cisco.com/.


Port Numbering Schemes

Table 2 shows the port number schemes used on the Cisco routers. For information about port numbering on interface cards in specific routers, see the Cisco Interface Cards Installation Guide.


Note For specific port numbering information for the routers that support the Cisco cable modem HWICs, see the hardware installation documentation for your router, which is available on http://www.cisco.com/.


Table 2 Port Numbering on the Cisco Routers 

Cisco Router
Interface Numbering

1841, 2800, and 3800 ISRs

x/y/z

IAD2431, 2691, 3725, 3745, and 1800 ISR

x/y

815 ISR

x



Note The slot number for all WIC interfaces on Cisco ISRs is always 0. (The W0 and W1 slot designations are for physical slot identification only.) Interfaces in the WICs are numbered from right to left, starting with 0/0 for each interface type, regardless of which physical slot the WICs are installed in.



Note The slot for WICs on the Cisco 2430 IADs is numbered slot 0. WIC interfaces are numbered by interface with this slot number and an interface number, starting with 0 and continuing from right to left.


Software Features and Benefits

Cisco cable modem HWICs are configured automatically by the network (in compliance with DOCSIS provisioning specifications). The configuration file is defined and generated by the cable service provider and delivered over the WAN/DOCSIS network through the radio frequency (RF) interface on the Cisco cable modem HWIC installed in the router. The HWIC provides a path from the router to the service provider network-based DHCP server for host address assignment on the Cisco cable modem HWIC and on the WAN interface of the router.


Note Cisco cable modem HWICs are fully DOCSIS 2.0 compliant. For DOCSIS 2.0 requirements, see the CableLabs website, whick is available at the following URL:

http://www.cablemodem.com/specifications/specifications20.html


The Cisco cable modem HWICs provide the following features and benefits.


Note The following benefits assume that a full-featured enterprise router is in use, rather than use of a Cisco cable modem HWIC as a bridge.


Provides quality of service (QoS) upstream flow control, integrating DOCSIS QoS with Cisco IOS software QoS and packet cable multimedia (PCMM) architecture QoS with Cisco IOS software QoS

Leverages Cisco IOS software to deliver advanced network services and applications

Supports compression and decompression algorithms (codecs)

How to Configure the Router to Interact with the Cable Modem

This section describes how to configure the host router when interacting with the Cisco cable modem HWIC:

Configuring Bridging

Configuring Routing

Configuring Network Address Translation

Configuring Dynamic Host Configuration Protocol

Configuring QoS

Configuring Easy Virtual Private Network

Configuring Multicast with IGMP Proxy

Configuring Circuit Emulation over IP

Cisco cable modem HWICs are configured automatically through a configuration file that is generated by the cable service provider. You can configure the router to function either as a bridge or as a router. The following sections briefly describe both applications.


Note To configure Cisco IOS software on your router, see the Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.4, which is available at the following URL:

http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_book09186a0080430ee6.html



Note The Cisco cable modem HWICs are fully DOCSIS 2.0 compliant. To see DOCSIS 2.0 requirements, see the CableLabs website, which is available at the following URL:

http://www.cablemodem.com/specifications/specifications20.html


Configuring Bridging

Cisco cable modem HWICs comply with the Multimedia Cable Network System Partners Ltd. Consortium (MCNS) standard for interoperable cable modems; it supports full transparent bridging as well as DOCSIS-compliant transparent bridging.

To configure bridging between the router and the cable modem, perform the following tasks, beginning in global configuration mode.

SUMMARY STEPS

1. enable

2. configure terminal

3. bridge irb

4. bridge bridge-group protocol

5. bridge bridge-group route protocol

6. interface bvi bridge-group

7. interface port-type port-number

8. no ip address

9. bridge-group bridge-group

10. interface port-type port-number

11. no ip address dhcp client-id interface-name hostname host-name

12. bridge-group bridge-group

13. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router# enable

Router#

Enters privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Router(config)#

Enters global configuration mode.

Step 3 

bridge irb

Example:

Router(config)# bridge irb

Router(config)#

Enables Cisco IOS software to route a given protocol between routed interfaces and bridge groups or to route a given protocol between bridge groups.

Step 4 

bridge bridge-group protocol

Example:

Router(config)# bridge 59 protocol ieee

Router(config)#

Defines the type of Spanning Tree Protocol.

Step 5 

bridge bridge-group route protocol

Example:

Router(config)# bridge 59 route ip

Router(config)#

Enables the routing of a specified protocol in a specified bridge group.

Step 6 

interface bvi bridge-group

Example:

Router(config)# interface bvi 59

Router(config-if)#

Creates the bridge-group virtual interface (BVI) that represents the specified bridge group to the routed world and links the corresponding bridge group to the other routed interfaces.

Step 7 

interface port-type port-number

Example:

Router(config-if)# interface gigabit ethernet 0/1

Router(config-if)#

Enters interface configuration mode for the Ethernet 0 interface.

Step 8 

no ip address

Example:

Router(config-if)# no ip address

Router(config-if)#

Disables the IP address of the coaxial cable interface, if an address has been set. IP address assignment happens if ip address dhcp is set and the IP address is not assigned by the second router. The address comes from the DHCP server.

Note An IP address is not normally needed becaise bridging is a Layer 2 operation, so IP address is not normally needed.

Step 9 

bridge-group bridge-group

Example:

Router(config-if)# bridge-group 59

Router(config-if)#

Assigns the Ethernet 0 interface to a bridge group. The bridge group must be an integer between 1 and 63.

Step 10 

interface port-type port-number

Example:

Router(config)# interface cable 0/2/0

Router(config-if)#

Enters interface configuration mode for the Ethernet 0 interface.

Step 11 

no ip address dhcp

Example:

Router(config-if)# no ip address

Router(config-if)#

Sets the no form of the ip address dhcp command to acquire an IP address on an interface from the DHCP.

Step 12 

bridge-group bridge-group

Example:

Router(config-if)# bridge-group 59

Router(config-if)#

Assigns the Ethernet 0 interface to a bridge group. The bridge group must be an integer between 1 and 63.

Step 13 

end

Example:

Router(config-if)# end

Router(config)#

Returns to global configuration mode.

Configuring Routing

Routing for the Cisco cable modem HWIC is on by default. To bring the Cisco cable modem HWIC online, use the interface Cable-Modem and ip address dhcp commands.


Note To bring the Cisco cable modem HWIC online, the cable modem must be in the no shut down state.


To configure routing between the router and the cable modem, perform the following tasks, beginning in global configuration mode.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface cable-modem number

4. ip address dhcp interface-name hostname host-name

5. end

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router# enable

Router#

Enters privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Router(config)#

Enters global configuration mode.

Step 3 

interface cable-modem number

Example:

Router(config)# interface Cable-Modem 0

Router(config-if)#

Enters interface configuration mode for the cable modem interface.

Step 4 

ip address dhcp interface-name hostname host-name

Example:

Router(config-if)# ip address dhcp

Router(config-if)#

Acquires an IP address and allows any interface to dynamically learn its IP address by using the DHCP protocol.

Step 5 

end

Example:

Router(config-if)# end

Router(config)#

Exits interface configuration mode for the cable modem interface.

Configuring Network Address Translation

Network Address Translation (NAT) operates on a router that is connecting two networks; one of these networks (designated as the inside network) is addressed with either private or obsolete addresses that must be converted into legal addresses before it forwards packets to the other network (designated as the outside network). The translation operates in conjunction with routing, so that NAT can simply be enabled on a customer-side Internet access router when translation is desired.


Note To configure NAT on your router, see the NAT documentation, which is available at the following URL:

http://www.cisco.com/en/US/tech/tk648/tk361/tk438/tsd_technology_support_sub-protocol_home.html


Configuring Dynamic Host Configuration Protocol

As explained in RFC 2131, Dynamic Host Configuration Protocol (DHCP) provides configuration parameters to Internet hosts. DHCP consists of two components: a protocol for delivering host-specific configuration parameters from a DHCP server to a host, and a mechanism for allocating network addresses to hosts. DHCP is built on a client/server model, in which designated DHCP server hosts allocate network addresses and deliver configuration parameters to dynamically configured hosts. By default, Cisco routers that are running Cisco IOS software simultaneously run DHCP server and relay agent software.


Note To configure DHCP on your router, see the Configuring DHCP documentation, which is available at the following URL:

http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_configuration_guide_chapter09186a00800ca75c.html


Configuring QoS

Cisco cable modem HWICs have the ability to transmit congestion notification for the primary flow, as defined by the configuration received from the cable modem termination system (CMTS). The primary flow is for traffic that has the lowest priority. With this notification, Cisco IOS software performs QoS to manage congestion for primary flow traffic.

The remaining traffic going to secondary service flows is handed directly to the Cisco cable modem HWIC. During this process, the traffic bypasses the Cisco IOS software QoS classification or queuing mechanisms established by the Cisco cable modem HWIC. The Cisco cable modem HWIC then relays the CMTS policies to Cisco IOS software. Cisco IOS software then parses the classification parameters and defines an ACL that will match any non-primary flow traffic. This ACL is invoked before the Cisco IOS QoS classification step in the Cisco Express Forwarding (CEF) egress feature path.

With this functionality, class maps can be defined by using parameters that subclassify the primary flow traffic.


Note When congestion occurs on the primary flow, QoS queues traffic based on this class map.


To configure QoS between the router and the cable modem, perform the following tasks, beginning in global configuration mode.

SUMMARY STEPS

1. enable

2. configure terminal

3. ip cef

4. class-map match-all match-any class-map-name

5. match dscp dscp-value

6. Repeat Step 2 and Step 3 for as many class maps and DSCP values as necessary.

7. policy-map policy-map-name

8. class class-name class-default

9. bandwidth percent percentage

10. Repeat Step 7 for as many classes as necessary.

11. interface cable-modem number

12. service-flow primary upstream

13. service-policy output policy-map-name

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router# enable

Router#

Enters privileged EXEC mode.

Step 2 

configure terminal

Example:

Router# configure terminal

Router(config)#

Enters global configuration mode.

Step 3 

ip cef

Example:

Router(config)# ip cef

Router(config)#

Enables Cisco Express Forwarding (CEF) on the route processor card. Use the ip cef command in global configuration mode.

Step 4 

class map [match-all | match-any] class-map-name

Example:

Router(config)# class-map match-any VOICE

Router(config-cmap)#

Specifies the name of the class for which you want to create or modify class map match criteria.

Step 5 

match dscp

Example:

Router(config-cmap)# match ip dscp ef

Router(config)#

Identifies a specific IP Differentiated Services Code Point (DSCP) value as a match criterion.

Note This command replaces the match ip dscp command.

Step 6 

Repeat Step 2 and Step 3 for as many class maps and DSCP values as necessary.

 

Step 7 

policy-map

Example:

Router(config)# policy-map V3PN-teleworker

Router(config-pmap)#

Specifies the name of the policy map to be created, added to, or modified before you can configure policies for classes whose match criteria are defined in a class map.

Step 8 

class class-name class-default

Example:

Router(config-pmap)# class CALL-SETUP

Router(config-pmap-c)#

Specifies the name of the class whose policy you want to create or change or to specify the default class (commonly known as the class-default class).

Step 9 

bandwidth percent percentage

Example:

Router(config-pmap)# bandwidth percent 2

Router(config-pmap-c)#

Specifies or modifies the bandwidth allocated for a class that belongs to a policy map.

Step 10 

Repeat Step 7 for as many classes as necessary.

 

Step 11 

interface Cable-Modem port-number

Example:

Router(config)# interface Cable-Modem 0/0/1

Router(config-if)#

Specifies the port to attach to the policy map, and enters interface configuration mode. Valid interfaces include physical ports.

Step 12 

service-flow primary upstream

Example:

Router(config-if)# service-flow primary upstream

Router(config-if)#

Specifies whether the primary service flow is set to upstream traffic. Only secondary service flows can be configured.

Step 13 

service-policy output policy-map-name

Example:

Router(config-if)# service-policy output anyname

Router(config)#

Attaches a policy map to the output interface or virtual circuit (VC), to be used as the service policy for that interface or VC.

Examples

The following example shows configuration of QoS on the router.

Identify the class to which you want to apply QoS. In this example, the voice class is identified by the alphanumeric characters ef:

Router(config)# ip cef
class-map match-all VOICE
match ip dscp ef 
class-map match-any CALL-SETUP
match ip dscp af31 
match ip dscp cs3 
class-map match-any INTERNETWORK-CONTROL
match ip dscp cs6

The following example specifies the priority assigned to the different classes. Voice is assigned the highest priority in this example:

Router(config)# policy-map anyname
class CALL-SETUP
bandwidth percent 2
class INTERNETWORK-CONTROL
bandwidth percent 5
class VOICE
priority 234
class class-default
fair-queue
random-detect
interface Cable-Modem0/2/0
ip address dhcp
service-module ip address 209.165.200.225 255.255.255.224

Use the interface Cable-Modem command to apply the priority policy to the cable modem interface:

Router(config)# interface Cable-Modem0/2/0
service-flow primary up
service-policy output anyname

Use the show ip access-lists dynamic command to view the dynamic IP access lists:

Router# show ip access-lists dynamic
Extended IP access list CM_SF#1
10 permit udp any any eq 5060 (650 matches)
20 permit tcp any any eq 5060
30 permit udp any any dscp ef (806184 matches)
c2801-61# 

Configuring Easy Virtual Private Network

VPN provides security by performing a high level of authentication and by encrypting the data between two particular endpoint routers. Establishing a VPN connection between two routers can be complicated; it typically requires tedious coordination between network administrators to configure the VPN parameters of the two routers.

The Cisco Easy VPN remote feature eliminates much of this tedious work by implementing Cisco Unity Client Protocol, which allows most VPN parameters to be defined at a Cisco IOS Easy VPN server.

After the Easy VPN server has been configured, a VPN connection can be created with minimal configuration on an Easy VPN remote router. When the Easy VPN remote router initiates the VPN tunnel connection, the Cisco Easy VPN server pushes the IPsec policies to the Easy VPN remote and creates the VPN tunnel connection.

To learn more about configuring Easy VPN, see Configuration Example: Easy VPN, which is available at the following URL:

http://www.cisco.com/en/US/products/ps5854/prod_configuration_guide09186a00802c3270.html

Configuring Multicast with IGMP Proxy

The Internet Group Management Protocol (IGMP) proxy mechanism permits hosts that are not directly connected to a downstream router to join a multicast group sourced from an upstream network.

Figure 1 shows a typical multicast configuration.

Figure 1 Typical Multicast Configuration


Note For additional information about configuring IGMP proxy, see the IGMP proxy configuration document, which is available at the following URL:

/en/US/docs/ios/12_1t/12_1t5/feature/guide/dtudlr.html#1020541


Prerequisites

The Cisco cable modem HWIC can be configured for multicast with IGMP proxy.

Using a DOCSIS cable modem configurator tool, specify the following fields in the ASCII configuration file:

42          = 01 00 5e 00 00 09 
42          = 01 00 5e 00 00 0d 
42          = 01 00 5e 00 01 27 
42          = 01 00 5e 00 01 28 


=================================================================
  CM MIC        = b5 22 c0 24 5d 8e 64 97 93 e0 94 35 f8 a6 3e 53 
CMTS MIC        = 72 c0 d2 d8 01 67 d5 57 5b 7c 91 df 00 6d 9e 71 
=================================================================


Note For a complete list of common radio frequency interface encodings, see the DOCSIS 2.0 Radio Frequency Interface Specification document, which is available on the CableLabs website at the following URL:

http://www.cablemodem.com/downloads/specs/CM-SP-RFI2.0-I10-051209.pdf


To configure multicast with IGMP proxy, perform the following tasks.

SUMMARY STEPS

1. enable

2. show ip mroute

3. show interfaces type number

4. show ip igmp membership group-address group-name

5. show ip pim vrf vrf-name neighbor interface-type interface-number

6. show running-config options

7. configure terminal

8. ip multicast-routing distributed

9. ip igmp helper-address ip address

10. ip igmp proxy-service ip address

11. ip pim sparse-dense-mode

12. ip igmp mroute-proxy type number

13. ip pim rp-address rp-address access-list

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router# enable

Router#

Enters privileged EXEC mode.

Step 1 

show ip mroute

Example:

Router# show ip mroute

Router#

Displays the contents of the IP multicast routing table.

Step 2 

show interfaces type number

Example:

Router# show interfaces c0

Router#

Displays statistics for all interfaces configured on the router.

Step 3 

show ip igmp membership group-address group-name

Example:

Router> show ip igmp membership

Router>

Displays Internet Group Management Protocol (IGMP) membership information for multicast groups and (S, G [channel or multicast group filtering entry]) channels.

Step 4 

show ip pim vrf vrf-name neighbor interface-type interface-number

Example:

Router# show ip pim neighbor

Router#

Lists the Protocol Independent Multicast (PIM) neighbors discovered by the Cisco IOS software.

Step 5 

show running-config options

Example:

Router# show running-config

Router#

Displays the contents of the currently running configuration file or the configuration for a specific class map, interface, map class, policy map, or virtual circuit (VC) class.

Step 6 

configure terminal

Example:

Router# configure terminal

Router(config)#

Enters global configuration mode.

Step 7 

ip multicast-routing distributed

Example:

Router(config)# ip multicast-routing

Router(config)#

Enables IP multicast routing.

Step 8 

ip igmp helper-address ip address

Example:

Router(config-if)# ip igmp helper-address 209.165.201.1

Router(config-if)#

Causes the system to forward all Internet Group Management Protocol (IGMP) host reports and leave messages received on the interface to the specified IP address.

Step 9 

ip igmp proxy-service ip address

Example:

Router(config-if)# ip igmp proxy-service

Router(config-if)#

Enables the mroute proxy service. Based on the IGMP query interval, the router periodically checks the mroute table for forwarding entries (*, G) that match interfaces configured with the ip igmp mroute-proxy command. Where there is a match, an IGMP report is created and received on this interface.

Step 10 

ip pim sparse-dense-mode

Example:

Router(config-if)# ip pim sparse-dense-mode

Router(config-if)#

Treats the interface in either sparse mode or dense mode of operation, depending on which mode the multicast group operates in.

Step 11 

ip igmp mroute-proxy type number

Example:

Router(config-if)# ip igmp mroute-proxy Loopback0

Router(config-if)#

Enables IGMP report forwarding of proxied (*, G) mroute entries.

Step 12 

ip pim rp-address rp-address access-list

Example:

Router(config)# ip pim rp-address 209.165.202.130

Router(config)#

Specifies the IP address of a router to be a PIM RP address. This is a unicast IP address in four-part dotted-decimal notation.

Examples

The following example shows configuration of the router with multicast and IGMP proxy.

Router# show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
       L - Local, P - Pruned, R - RP-bit set, F - Register flag,
       T - SPT-bit set, J - Join SPT, M - MSDP created entry,
       X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
       U - URD, I - Received Source Specific Host Report,
       Z - Multicast Tunnel, z - MDT-data group sender,
       Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
 Timers: Uptime/Expires
 Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.1.1.1), 02:14:42/stopped, RP 209.165.202.130, flags: SJC
  Incoming interface: Cable-Modem0, RPF nbr 209.165.201.1
  Outgoing interface list:
    Vlan1, Forward/Sparse-Dense, 02:14:42/00:02:51

(209.165.200.226, 224.1.1.1), 02:14:21/00:02:50, flags: JT
  Incoming interface: Cable-Modem0, RPF nbr 209.165.201.1
  Outgoing interface list:
    Vlan1, Forward/Sparse-Dense, 02:14:21/00:02:51

(*, 224.0.1.40), 21:03:48/00:02:40, RP 209.165.202.130, flags: SJCL
  Incoming interface: Cable-Modem0, RPF nbr 209.165.201.1
  Outgoing interface list:
    Loopback0, Forward/Sparse-Dense, 21:03:48/00:02:40

Router# show interfaces c0
Cable-Modem0 is up, line protocol is up 
  HFC state is OPERATIONAL, HFC MAC address is 00d0.2bfe.66ea
  Hardware is Cable modem, address is 0014.a875.8dec (bia 0014.a875.8dec)
  Internet address is 209.165.201.130
  MTU 1500 bytes, BW 2000 Kbit, DLY 5000 usec, 
     reliability 255/255, txload 1/255, rxload 21/255
  Encapsulation ARPA, loopback not set
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input 00:00:00, output 00:00:01, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: Class-based queueing
  Output queue: 0/1000/64/0 (size/max total/threshold/drops) 
     Conversations  0/1/256 (active/max active/max total)
     Reserved Conversations 1/1 (allocated/max allocated)
     Available Bandwidth 520 kilobits/sec
  30 second input rate 2961000 bits/sec, 243 packets/sec
  30 second output rate 0 bits/sec, 0 packets/sec
  HFC input: 0 errors, 0 discards, 0 unknown protocols 0 flow control discards
  HFC output: 0 errors, 0 discards
     11299559 packets input, 4245935967 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     9 input errors, 0 CRC, 0 frame, 9 overrun, 0 ignored
     0 input packets with dribble condition detected
     59044 packets output, 6089309 bytes, 0 underruns
     0 output errors, 0 collisions, 32 interface resets
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier
     0 output buffer failures, 0 output buffers swapped out

Router# show ip igmp membership
Flags: A  - aggregate, T - tracked
       L  - Local, S - static, V - virtual, R - Reported through v3 
       I - v3lite, U - Urd, M - SSM (S,G) channel 
       1,2,3 - The version of IGMP the group is in
Channel/Group-Flags: 
       / - Filtering entry (Exclude mode (S,G), Include mode (*,G))
Reporter:
       <mac-or-ip-address> - last reporter if group is not explicitly tracked
       <n>/<m>      - <n> reporter in include mode, <m> reporter in exclude

 Channel/Group                  Reporter        Uptime   Exp.  Flags  Interface 
 *,224.1.1.1                    172.16.0.33 02:14:51 02:09 2A     Lo0
*,224.0.1.40                   172.16.0.33 21:04:16 02:12 2LA    Lo0

Router# show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
      S - State Refresh Capable
Neighbor          Interface                Uptime/Expires    Ver   DR
Address                                                            Prio/Mode
10.0.0.1          Cable-Modem0             19:49:29/00:01:29 v2    16384/ DR S

Router# show running-config 
Building configuration...

Current configuration : 4362 bytes
!
! Last configuration change at 23:48:55 PST Mon Feb 27 2006
! NVRAM config last updated at 23:48:56 PST Mon Feb 27 2006
!
version 12.4
service timestamps debug datetime localtime
service timestamps log datetime localtime
no service password-encryption
service internal
!
hostname Router
!
boot-start-marker
boot-end-marker
!
logging buffered 500000 debugging
no logging console
enable password lab
!
no aaa new-model
!
resource policy
!
no ip dhcp use vrf connected
!
no ip domain lookup
ip multicast-routing 
!
interface Loopback0
 ip address 172.16.0.33 255.255.255.255
 ip pim sparse-dense-mode

ip igmp helper-address 209.165.201.1
 ip igmp proxy-service
!
interface FastEthernet0
 ip address 172.16.5.203 255.255.255.0
 load-interval 30
 duplex auto
 speed auto
!
interface FastEthernet1
 load-interval 30
 duplex full
 speed 100
!
interface FastEthernet2
 load-interval 30
!
interface FastEthernet4
 load-interval 30
!
interface Cable-Modem0
 ip address dhcp
ip pim sparse-dense-mode
 load-interval 30
 no keepalive
!