![]() |
Table Of Contents
Transparent LAN Service over Cable
Prerequisites for Transparent LAN Service over Cable
Restrictions for Transparent LAN Service over Cable
Information About Transparent LAN Service over Cable
Transparent LAN Service and Layer 2 Virtual Private Networks
Details of IEEE 802.1Q Mapping
How to Configure the Transparent LAN Service over Cable Feature
Configuring Layer 2 Tunneling for ATM PVC Mapping
Enabling and Configuring Layer 2 Tunneling and ATM PVC Mapping
Creating the ATM Virtual Connections and Bridge Group
Configuring IEEE 802.1Q VLAN Mapping
Enabling and Configuring Layer 2 Tunneling for IEEE 802.1Q Mapping
Creating the IEEE 802.1Q VLAN Bridge Group
Configuration Examples for Transparent LAN Service over Cable
CMTS ATM PVC Mapping Configuration Example
ATM Bridge Aggregator Configuration Example
CMTS IEEE 802.1Q VLAN Mapping Configuration Example
IEEE 802.1Q Bridge Aggregator Configuration Example
show cable l2-vpn dot1q-vc-map
Transparent LAN Service over Cable
This document describes the Transparent LAN Service over Cable feature, which enhances existing Wide Area Network (WAN) support to provide more flexible Managed Access for multiple Internet service provider (ISP) support over a hybrid fiber-coaxial (HFC) cable network. This feature allows service providers to create a Layer 2 tunnel by mapping an upstream service identifier (SID) to an ATM permanent virtual connection (PVC) or to an IEEE 802.1Q Virtual Local Area Network (VLAN).
Feature Specifications for Transparent LAN Service over Cable
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://www.cisco.com/go/fn. 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
This document includes the following major sections:
•
Prerequisites for Transparent LAN Service over Cable
•
Restrictions for Transparent LAN Service over Cable
•
Information About Transparent LAN Service over Cable
•
How to Configure the Transparent LAN Service over Cable Feature
•
Configuration Examples for Transparent LAN Service over Cable
Prerequisites for Transparent LAN Service over Cable
The Transparent LAN Service over Cable feature has the following prerequisites:
•
Cisco uBR7100 series and Cisco uBR7246VXR routers must be running Cisco IOS Release 12.2(11)BC3 or later to support ATM PVC mapping. The routers must be running Cisco IOS Release 12.2(15)BC2 or later to support IEEE 802.1Q VLAN mapping.
•
You must know the hardware (MAC) addresses of the cable modems that are to be mapped to ATM PVCs or IEEE 802.1Q VLANs.
•
You must create a bridge group for each separate customer on the Layer 2 bridge aggregator, so that traffic from all of the Customer Premises Equipment (CPE) devices for the customer is grouped together into the same ATM or 802.1Q tunnel.
Restrictions for Transparent LAN Service over Cable
The Transparent LAN Service over Cable feature has the following restrictions and limitations:
•
Configuring ATM L2VPN or 802.1q for a particular cable modem removes any previous cable modem configuration on the Cisco uBR7246VXR router. For example, if TLS with 802.1q is configured on the router for a particular cable modem, and then you configure ATM L2VPN for the same cable modem, the Cisco uBR7246VXR router supports the latter and removes the former with no additional warning or system messages.
•
Cisco strongly recommends that TLS over Cable only be used when Baseline Privacy Interface (BPI) is enabled in the environment. If BPI is not enabled when using the TLS feature, traffic can flow between multiple virtual private networks (VPNs), and become vulnerable to denial-of-service attacks or snooping. Cisco also recommends that remote networks be isolated with a gateway or firewall router when BPI is not enabled.
Commencing in Cisco IOS release 12.3(13a)BC, and later releases, when the TLS feature is used with Layer 2 VPNs, the participating cable modems must have the Baseline Privacy Interface security feature (BPI) enabled. Otherwise, the Cisco CMTS drops such Layer 2 traffic in the upstream or downstream.
•
The Transparent LAN Service over Cable is not supported on the Cisco uBR10012 universal broadband router when using the PRE-1 module.
•
You cannot mix IEEE 802.1Q and ATM PVC mapping in the same bridge group. To use both types of mappings on the same Cisco CMTS, you must use separate bridge groups.
•
Packets are mapped to their Layer 2 tunnel only on the basis of Layer 2 information (the cable modem's MAC address and primary SID). Layer 3 services, such as access lists, IP address source-verify, and IP QoS, are not supported as packets are sent through the tunnel.
•
All traffic from a cable modem is mapped to the same Layer 2 tunnel. It is not possible to differentiate traffic from different customer premises equipment (CPE) devices behind the cable modem.
•
CPE learning is not available when using the Transparent LAN Service over Cable feature. When a cable modem is mapped to a Layer 2 tunnel, the show interface cable modem command shows that the IP addresses for its CPE devices are "unavailable."
•
DOCSIS QoS is supported across the Layer 2 tunnel only on the primary SID. Traffic using secondary services uses the same Layer 2 tunnel as the primary SID.
•
The Spanning Tree Protocol (STP) cannot be used with devices (cable modems, their CPE devices, and the endpoint CPE devices) that are using this feature. In particular, Spanning Tree Protocol cannot be used between the VLAN bridge aggregator and the endpoint customer devices.
•
The following restrictions apply to Layer 2 tunnels over an ATM interface:
–
The virtual connections (VC) on the ATM interface must be configured to use ATM Adaptation Layer 5 (AAL5) IEEE 802.1a Subnetwork Access Point (SNAP) encapsulation. On Cisco routers, this means that each PVC endpoint must be configured for the proper encapsulation using the encapsulation aal5snap command.
–
If a cable modem is being mapped to an ATM PVC, all of its CPE traffic is sent through the ATM tunnel through the ATM cloud, even if the ultimate destination is another cable modem on the same CMTS.
–
Cable modems must have a one-to-one mapping with ATM PVCs, with each cable modem being mapped to its own ATM PVC. Cable modems cannot share a single PVC. Multiple PVCs from the same customer are aggregated at the ATM bridge aggregator into the same bridge group.
•
The following restrictions apply to Layer 2 tunnels over an Ethernet IEEE 802.1Q VLAN interface:
–
IEEE 802.1Q tunnels are supported only on Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces.
–
The Cisco CMTS router supports a maximum of 4095 VLAN IDs, but the switches acting as the bridge aggregator might support a lower number of VLAN IDs. If this is the case, the Cisco CMTS should be configured only for the maximum number of VLANs that are supported by the bridge aggregator switches.
Information About Transparent LAN Service over Cable
This section describes the following variations of the Transparent LAN Service over Cable feature:
Feature Overview
The Transparent LAN Service over Cable feature enables service providers to provide Layer 2 tunnels for traffic to and from cable modems. This allows customers to create their own virtual local area network (VLAN) using any number of cable modems in multiple sites.
On the Cisco CMTS, you map each cable modem (on the basis of its MAC address) to the appropriate VLAN. The CMTS then creates an internal database of this one-to-one mapping of cable modems to VLANs, and uses it to encapsulate packets for the appropriate VLAN.
The CMTS encapsulates the CPE traffic from mapped cable modems using one of the following methods:
•
ATM PVC Mapping—The cable modem's MAC address is mapped to a PVC on a specific ATM interface, so that all traffic from the cable modem is sent over that particular PVC.
•
IEEE 802.1Q Mapping—The cable modem's MAC address is mapped to an IEEE 802.1Q VLAN on a specific Ethernet interface, so that all traffic from the cable modem is tagged with the specified VLAN ID.
Traffic to and from this group of cable modems is bridged into a single logical network (the VLAN) by the bridge aggregator, creating a secure Virtual Private Network (VPN) for that particular group of cable modems. Traffic in one VLAN cannot be sent into another VLAN, unless specifically done so by an external router.
The switch acting as the Layer 2 Bridge Aggregator uses the ATM PVC or the VLAN tagging to forward the traffic to the appropriate destination. This frees up service providers from needing to know the addressing, routing, and topological details of the customer's network.
Transparent LAN Service and Layer 2 Virtual Private Networks
In addition, service providers can provide a Layer 2 VPN with only minimal configuration changes on the provider's routers. The service subscriber does not need to make any changes to their private network or cable modems, nor does the service provider have to provide any special DOCSIS configuration files to enable this feature.
Cisco IOS Release 12.3(13a)BC introduces the following changes or requirements for the TLS feature with Layer 2 VPNs:
•
When the TLS feature is used with Layer 2 VPNs, the participating cable modems must have the Baseline Privacy Interface security feature (BPI) enabled. Otherwise, the Cisco CMTS drops such Layer 2 traffic in the upstream or downstream.
•
Information about Customer Premises Equipment (CPE) does not display in the output of the show cable modem command.
ATM PVC Mapping
This section describes the mapping of cable modems to an ATM PVC, as it is available in the Transparent LAN Service over Cable feature:
Overview
The Transparent LAN Service over Cable feature enables service providers to provide Layer 2 tunnels over an existing ATM network. This allows customers to create their own virtual network using any number of cable modems that are located at multiple sites.
On the Cisco CMTS, you map each cable modem (on the basis of its MAC address) to a separate PVC on an ATM interface. The CMTS then creates an internal database of this one-to-one mapping of cable modems to PVCs, and uses it to determine which packets should be forwarded to the ATM network.
The CMTS encapsulates the CPE traffic from mapped cable modems using AAL5 SNAP encapsulation, as defined in RFC 1483, Multiprotocol Encapsulation over ATM Adaptation Layer 5. It then forwards those packets to the appropriate ATM interface and PVC.
Traffic to and from this group of cable modems is routed to a group of PVCs that are bridged into a single ATM network by the ATM bridge aggregator, creating a secure Virtual Private Network (VPN) for that particular group of cable modems.
Details of ATM PVC Mapping
To implement the Transparent LAN Service over Cable feature for ATM networks, a service provider must perform the following configuration steps:
1.
Identify the cable modems and their MAC addresses that should be mapped to ATM PVCs.
2.
Define one PVC (using AAL5 SNAP encapsulation) for each cable modem to be mapped. This must be done on both endpoints (the CMTS router and the ATM bridge aggregator).
3.
Create a bridge group for each customer on the ATM bridge aggregator, and assign all of a customer's PVCs to the same bridge group, so that all of the mapped traffic for that customer is bridged into the same MAC domain on the ATM bridge aggregator.
4.
Enable Layer 2 mapping on the CMTS, and then map each cable modem on that CMTS to the appropriate PVC.
After the Transparent LAN Service over Cable feature has been enabled and configured, the CMTS immediately begins mapping traffic between the associated cable modems and PVCs. For efficient mapping between the DOCSIS and ATM networks, the CMTS maintains an internal database that links SIDs to the PVCs. This ensures that all service flows from the cable modem are routed properly.
When the CMTS receives a packet on an upstream, it looks up the SID to see if it is mapped to a PVC. If so, and if the packet's source MAC address is not the cable modem's MAC address, the CMTS encapsulates the packet using an AAL5 SNAP header and forwards it to the appropriate PVC on the ATM interface. If the packet is not being mapped, or if the packet originated from the cable modem, the CMTS routes the packet as normal.
When the CMTS receives a packet from a PVC on the ATM interface, it looks up the PVC/PVI information to see if it is mapped to a SID. If so, the CMTS strips off the AAL5 SNAP header, adds a proper DOCSIS header, and transmits the packet on the appropriate downstream interface. If the packet's PVC is not being mapped, the CMTS continues processing the packet on the ATM network.
IEEE 802.1Q Mapping
This section describes the mapping of cable modems to an IEEE 802.1Q VLAN, as it is available in the Transparent LAN Service over Cable feature:
•
Details of IEEE 802.1Q Mapping
Overview
The Transparent LAN Service over Cable feature enables service providers to provide Layer 2 tunnels over an Ethernet network, using IEEE 802.1Q standard tags. This allows customers to create their own virtual network using any number of cable modems in different sites.
On the Cisco CMTS, you map each cable modem (on the basis of its MAC address) to the appropriate VLAN. The CMTS then creates an internal database of this one-to-one mapping of cable modems to VLANs, and uses it to encapsulate packets for the appropriate VLAN.
The CMTS encapsulates the CPE traffic from mapped cable modems using VLAN tags, as defined in IEEE 802.1Q-1993, IEEE Standards for Local and Metropolitan Area Networks: Virtual Bridged Local Area Networks. The switch acting as the Layer 2 Bridge Aggregator uses the VLAN tagging to forward the packets to the appropriate destination.
Traffic to and from this group of cable modems is bridged into a single logical network by the bridge aggregator, creating a secure Virtual Private Network (VPN) for that particular group of cable modems. Traffic in one VLAN cannot be sent into another VLAN, unless specifically done so by an external router.
Details of IEEE 802.1Q Mapping
To implement the Transparent LAN Service over Cable feature using IEEE 802.1Q VLANs, a service provider must perform the following configuration steps:
1.
Identify the cable modems and their MAC addresses that should be mapped to the IEEE 802.1Q VLANs.
2.
Create the required VLANs on the router that is acting as the bridge aggregator.
3.
Enable Layer 2 mapping on the CMTS, and then map each cable modem on that CMTS to the appropriate VLAN.
After the Transparent LAN Service over Cable feature has been enabled and configured to use IEEE 802.1Q mappings, the CMTS immediately begins mapping traffic between the associated cable modems and VLANs. For efficient mapping, the CMTS maintains an internal database that links each cable modem's primary service flow ID (SFID) and service ID (SID) to the appropriate VLAN and Ethernet interface. This ensures that all service flows from the cable modem are routed properly.
When the CMTS receives a packet on an upstream, it looks up its SID to see if it is mapped to a VLAN. If so, and if the packet's source MAC address is not the cable modem's MAC address, the CMTS inserts the appropriate IEEE 802.1Q VLAN tag into the packet's header and forwards the packet to the appropriate Ethernet interface. If the packet is not being mapped, or if the packet originated from the cable modem, the CMTS routes the packet using the normal Layer 3 processes.
When the CMTS receives a packet from a WAN interface that is encapsulated with an IEEE 802.1Q VLAN tag, it looks up the packet's SID to see if it belongs to a cable modem being mapped. If so, the CMTS strips off the VLAN tag, adds the proper DOCSIS header, and transmits the packet on the appropriate downstream interface. If the packet is not being mapped, the CMTS continues with the normal Layer 3 processing.
Benefits
The Transparent LAN Service over Cable feature provides the following benefits to cable service providers and their partners and customers:
•
Provides Layer 2 level mapping, which is transparent to Layer 3 protocols and services. This means that service providers do not need to know the details of their customers' network topologies, routing protocols, or IP addressing.
•
Allows service providers to maximize the use of their existing ATM or Ethernet WAN networks. Multiple customers can be combined on the same outgoing interface, while still ensuring that each customer's network is kept private while it is transmitted over the tunnel.
•
Provides a highly flexible and scalable solution for multiple customers. The service provider needs to create only one bridge group for each VPN, and then only one ATM PVC or VLAN mapping for each cable modem that should participate in that VPN tunnel.
•
Customers retain full control over their private networks, while service providers retain full control over cable modems and the rest of the cable and ATM networks. Only the CPE traffic from the cable modems is mapped into the ATM tunnel, while traffic originating at the cable modem continues to be processed as normal by the service provider's network.
•
Allows service providers to mix tunneled and nontunneled cable modems on the same DOCSIS cable network.
•
Allows customers to create a single, secure virtual network with Ethernet Layer 2 connectivity for multiple sites.
•
Allows multiple tunnels from different customers and endpoints to be aggregated into a single bridge, so as to maximize the use of bandwidth and other network resources.
•
Supports the tunneling of multiple Layer 3, non-IP protocols, and not just IP Layer 3 services, as is the case with Layer 3 solutions, such as Multiprotocol Label Switching (MPLS) VPNs.
•
All DOCSIS services, including BPI+ encryption and authentication, continue to be supported for all cable modems.
How to Configure the Transparent LAN Service over Cable Feature
This section describes the following tasks that are required to implement the Transparent LAN Service over Cable feature:
•
Configuring Layer 2 Tunneling for ATM PVC Mapping
•
Configuring IEEE 802.1Q VLAN Mapping
Configuring Layer 2 Tunneling for ATM PVC Mapping
This section describes how to enable Layer 2 mapping on the Cisco CMTS, and then to map particular cable modems to an ATM PVC.
•
Enabling and Configuring Layer 2 Tunneling and ATM PVC Mapping
•
Creating the ATM Virtual Connections and Bridge Group
Enabling and Configuring Layer 2 Tunneling and ATM PVC Mapping
This section describes how to enable Layer 2 mapping on the Cisco CMTS, and then to map particular cable modems to PVCs on an ATM interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
cable l2-vpn-service atm-vc
4.
cable vc-map mac-address atm-interface vpi/vci [cust-name]
5.
end
DETAILED STEPS
Creating the ATM Virtual Connections and Bridge Group
This section describes the minimum configuration needed to configure a Cisco router, which is acting as an ATM bridge aggregator, so that it can terminate the PVCs being used with the Transparent LAN Service over Cable feature.
Restrictions
Each bridge group used for the Transparent LAN Service over Cable feature must disable Spanning Tree Protocol. Each PVC used for this feature must be configured for AAL5 SNAP encapsulation.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
bridge 2 protocol ieee
4.
interface ATM x/0.y point-to-point
5.
bridge group number
6.
bridge group number spanning-disabled
7.
pvc vpi/vci
8.
encapsulation aal5snap
9.
exit
10.
end
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Router#
Enables privileged EXEC mode. Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Router(config)#
Enters global configuration mode.
Step 3
bridge number protocol ieee
Example:Router(config)# bridge 2 protocol ieee
Router(config)#
Specifies that the bridge being used should use the IEEE bridge protocol.
Step 4
interface ATM x/0.y point-to-point
Example:Router(config)# interface ATM 4.0/1 point-to-point
Router(config-if)#
Enters interface configuration mode for the ATM subinterface that will be used for this PVC.
Step 5
bridge-group number
Example:Router(config-if)# bridge-group 2
Router(config-if)#
Assigns this subinterface to the bridge group that will be used for this particular customer.
Note
You cannot mix IEEE 802.1Q and ATM PVC mapping in the same bridge group. To use both types of mappings on the same Cisco CMTS, you must use separate bridge groups.
Step 6
bridge-group number spanning-disabled
Example:Router(config-if)# bridge-group 2 spanning-disabled
Router(config-if)#
Disables the use of Spanning Tree Protocol on this bridge group.
Step 7
pvc vpi/vci
Example:Router(config-if)# pvc 1/1
Router(config-if-atm-vc)#
Creates an ATM PVC with the given virtual path identifier (VPI) and virtual channel identifier (VCI), and enters interface-ATM-VC configuration mode.
Step 8
encapsulation aal5snap
Example:Router(config-if-atm-vc)# encapsulation aal5snap
Router(config-if-atm-vc)#
Configures the PVC for AAL5 SNAP encapsulation.
Step 9
exit
Example:Router(config-if-atm-vc)# exit
Router(config-if)#
Exits interface-ATM-VC configuration mode.
Note
Repeat Step 4 through Step 9 for each PVC to be created.
Step 10
end
Example:Router(config-if)# end
Router#
Exits interface configuration mode and returns to privileged EXEC mode.
Configuring IEEE 802.1Q VLAN Mapping
This section describes how to enable Layer 2 mapping on the Cisco CMTS, and then to map particular cable modems to an IEEE 802.1Q VLAN.
•
Enabling and Configuring Layer 2 Tunneling for IEEE 802.1Q Mapping
•
Creating the IEEE 802.1Q VLAN Bridge Group
Enabling and Configuring Layer 2 Tunneling for IEEE 802.1Q Mapping
This section describes how to enable Layer 2 mapping on the Cisco CMTS, and then to map particular cable modems to IEEE 802.1Q VLANs on an Ethernet, Fast Ethernet, or Gigabit Ethernet interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
cable l2-vpn-service dot1q
4.
encapsulation dot1q vlan-id
5.
cable dot1q-vc-map mac-address ethernet-interface vlan-id [cust-name]
6.
end
DETAILED STEPS
Creating the IEEE 802.1Q VLAN Bridge Group
This section describes the minimum configuration needed to configure a Cisco router, which is acting as an IEEE 802.1Q VLAN bridge aggregator, so that it can terminate the VLANs being used with the Transparent LAN Service over Cable feature.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface [Ethernet | FastEthernet | GigabitEthernet] x/0
4.
ip address ip-address mask
5.
interface [Ethernet | FastEthernet | GigabitEthernet] x/0.vlan-id
6.
bridge group number
7.
end
DETAILED STEPS
Command or Action PurposeStep 1
enable
Example:Router> enable
Router#
Enables privileged EXEC mode. Enter your password if prompted.
Step 2
configure terminal
Example:Router# configure terminal
Router(config)#
Enters global configuration mode.
Step 3
interface [Ethernet | FastEthernet | GigabitEthernet] x/0
Example:Router(config)# interface fastethernet 1/0
Router(config-if)#
Enters interface configuration mode for the Ethernet interface that is in slot x.
Step 4
ip address ip-address mask
Example:Router(config-if)# ip address 10.10.10.85 255.255.255.0
Router(config-if)#
Configures the interface with the specified IP address and subnet mask.
Step 5
interface [Ethernet | FastEthernet | GigabitEthernet] x/0.y
Example:Router(config)# interface fastethernet 1/0.10
Router(config-if)#
Creates a subinterface on the Ethernet interface that is in slot x. The valid range for y is 1 to 4294967293, with no default.
Note
Note 1: To simplify network management, set the subinterface number to the same value as the VLAN ID that will use this subinterface (which in this case is 10). The valid range for the subinterface number is 1 to 4095. Note 2: The steps to create a subinterface is not essential for dot1q tagging of frames but it is recommended.
Step 6
bridge group number
Example:Router(config-if)# bridge group 20
Router(config-if)#
Configures this subinterface to belong to the specified bridge group. The valid range for number is 1 to 255, with no default.
Note
You cannot mix IEEE 802.1Q and ATM PVC mapping in the same bridge group. To use both types of mappings on the same Cisco CMTS, you must use separate bridge groups.
Note
Repeat steps Step 5 through Step 6 for each subinterface to be created and bridged.
Step 7
end
Example:Router(config-if)# end
Router#
Exits interface configuration mode and returns to privileged EXEC mode.
Configuration Examples for Transparent LAN Service over Cable
This section lists sample configurations for the Transparent LAN Service over Cable feature on a CMTS router and on a Cisco router acting as an ATM bridge aggregator:
•
CMTS ATM PVC Mapping Configuration Example
•
ATM Bridge Aggregator Configuration Example
•
CMTS IEEE 802.1Q VLAN Mapping Configuration Example
•
IEEE 802.1Q Bridge Aggregator Configuration Example
CMTS ATM PVC Mapping Configuration Example
The following partial configuration for a Cisco uBR7246VXR router shows a typical configuration that creates two ATM PVCs and maps them to two cable modems.
!hostname "ubr7246vxr"!cable l2-vpn-service atm-vccable vc-map 0010.7bed.9c95 ATM2/0 1/2cable vc-map 0007.0e03.69f9 ATM2/0 1/1!!interface ATM2/0no ip addressno ip route-cacheno ip mroute-cacheno atm ilmi-keepalive!interface ATM2/0.1 point-to-pointno ip route-cacheno ip mroute-cachepvc 1/1encapsulation aal5snap!!interface ATM2/0.2 point-to-pointno ip route-cacheno ip mroute-cachepvc 1/2encapsulation aal5snap!!ATM Bridge Aggregator Configuration Example
The following partial configuration for a Cisco 7200 or similar router shows a typical configuration that creates two ATM PVCs and configures them as part of the same ATM bridge group.
hostname IRB-Router!bridge irbbridge 2 protocol ieee!!interface ATM4/0no ip addressno ip directed-broadcastno atm enable-ilmi-trapno atm ilmi-keepalive!interface ATM4/0.1 point-to-pointpvc 1/1encapsulation aal5snap!bridge-group 2bridge-group 2 spanning-disabled!interface ATM4/0.2 point-to-pointpvc 1/2encapsulation aal5snap!bridge-group 2bridge-group 2 spanning-disabledCMTS IEEE 802.1Q VLAN Mapping Configuration Example
The following partial configuration for a Cisco uBR7246VXR router shows a typical configuration that shows a number of cable modems being mapped to two different IEEE 802.1Q VLANs.
cable l2-vpn-service dot1q! Customer 1cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 10 Customer1cable dot1q-vc-map 0010.7bea.9c95 GigabitEthernet 1/0 11 Customer1cable dot1q-vc-map 0010.7bed.81c2 GigabitEthernet 1/0 12 Customer1cable dot1q-vc-map 0010.7bed.9b1a GigabitEthernet 1/0 13 Customer1! Customer 2cable dot1q-vc-map 0002.fdfa.137d GigabitEthernet 1/0 20 Customer2cable dot1q-vc-map 0006.28f9.9d19 GigabitEthernet 1/0 21 Customer2cable dot1q-vc-map 000C.7b6b.58c1 GigabitEthernet 1/0 22 Customer2cable dot1q-vc-map 000C.7bed.9dbb GigabitEthernet 1/0 23 Customer2cable dot1q-vc-map 000C.7b43.aa7f GigabitEthernet 1/0 24 Customer2cable dot1q-vc-map 0050.7302.3d83 GigabitEthernet 1/0 25 Customer2...IEEE 802.1Q Bridge Aggregator Configuration Example
The following example shows a router being used as a bridge aggregator to transmit VLANs across the same Fast Ethernet interface, using IEEE 802.1Q tagging.
!interface GigabitEthernet0/1ip address 10.10.10.31 255.255.255.0duplex fullspeed auto!interface GigabitEthernet0/1.10description Customer1-site10encapsulation dot1Q 10bridge-group 200interface GigabitEthernet0/1.11description Customer1-site11encapsulation dot1Q 11bridge-group 200interface GigabitEthernet0/1.12description Customer1-site12encapsulation dot1Q 12bridge-group 200interface GigabitEthernet0/1.13description Customer1-site13encapsulation dot1Q 13bridge-group 200!------------------------------------interface GigabitEthernet0/1.20description Customer2-site20encapsulation dot1Q 20bridge-group 201interface GigabitEthernet0/1.21description Customer2-site21encapsulation dot1Q 21bridge-group 201interface GigabitEthernet0/1.22description Customer2-site22encapsulation dot1Q 22bridge-group 201interface GigabitEthernet0/1.23description Customer2-site23encapsulation dot1Q 23bridge-group 201interface GigabitEthernet0/1.24description Customer2-site24encapsulation dot1Q 24bridge-group 201interface GigabitEthernet0/1.25description Customer2-site25encapsulation dot1Q 25bridge-group 201!bridge 200 protocol ieeebridge 201 protocol ieee...Additional References
For additional information related to Transparent LAN Service over Cable, refer to the following references:
Related Documents
Standards
Standards1 TitleSP-RFIv1.1-I08-020301
Data-over-Cable Service Interface Specifications Radio Frequency Interface Specification
IEEE 802.1Q, 1998 Edition
IEEE Standards for Local and Metropolitan Area Networks: Virtual Bridged Local Area Networks
1 Not all supported standards are listed.
MIBs
MIBs1 MIBs LinkNo new or modified MIB objects are supported by the Transparent LAN Service over Cable feature.
To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
1 Not all supported MIBs are listed.
RFCs
RFCs1 TitleMultiprotocol Encapsulation over ATM Adaptation Layer 5 (AAL5)
1 Not all supported RFCs are listed.
Technical Assistance
Command Reference
This section documents the new or modified commands that are needed to document the Transparent LAN Service over Cable feature.
This section documents the following commands:
•
show cable l2-vpn dot1q-vc-map
Other cable-specific commands are documented in the Cisco IOS CMTS Cable Command Reference Guide, at the following URL:
http://www.cisco.com/en/US/docs/ios/cable/command/reference/cbl_book.htmlAll other commands used with this feature are documented in the Cisco IOS Release 12.2T command reference publications.
cable dot1q-vc-map
To map a cable modem to a particular Virtual Local Area Network (VLAN) on a local outbound Ethernet interface, use the cable dot1q-vc-map command in global configuration mode. To remove this mapping, or to remove a particular customer's name from the internal tables, use the no form of this command.
cable dot1q-vc-map mac-address [ds-srvflow-ref ds-sfref us-srvflow-ref us-sfref] ethernet-interface vlan-id [interface sec-ethernet-interface sec-vlan-id] [cust-name]
no cable dot1q-vc-map mac-address
no cable dot1q-vc-map customer cust-name
Syntax Description
Defaults
No default behavior or values
Command Modes
Global configuration
Command History
Usage Guidelines
This command maps a cable modem, on the basis of its hardware (MAC) address, to a particular IEEE 802.1Q VLAN on a particular outbound Ethernet interface. This enables the cable modem's traffic to be part of a virtual LAN at the Layer-2 level.
Note
To use this command, first enable the use of IEEE 802.1Q Layer 2 tunnels, using the cable l2-vpn-service dot1q command. Then use this command to map individual cable modems to specific VLANs.
Examples
The following example shows how to enable the use of Layer 2 tunnels and then map specific CMs to VLANs on a specific interface:
Router# config terminalRouter(config)# cable l2-vpn-service dot1qRouter(config)# cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4Router(config)# cable dot1q-vc-map 0010.7bed.9c95 GigabitEthernet 1/0 5Router(config)# exitRouter#
Note
It is not required to configure VLAN trunking on the Cisco CMTS. Though VLAN trunking is supported, be aware of additional impact of VLAN trunking on the Cisco CMTS.
The following example shows the same command as above, but this time each VLAN is identified by the customer that is using it:
Router# config terminalRouter(config)# cable l2-vpn-service dot1qRouter(config)# cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4 ENTERPRISE-CO1Router(config)# cable dot1q-vc-map 0010.7bed.9c95 GigabitEthernet 1/0 5 ENTERPRISE-CO2Router(config)# exitRouter#The following example shows how to remove the Layer 2 mapping for a specific cable modem. This particular cable modem's traffic is then routed using the normal Layer 3 routing processes.
Router# config terminalRouter(config)# no cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4Router(config)# exitRouter#Related Commands
cable l2-vpn-service atm-vc
To enable the use of Layer 2 tunnels for the Customer Premises Equipment (CPE) traffic that is behind cable modems so that this traffic can be routed to a particular permanent virtual connection (PVC) on an Asynchronous Transfer Mode (ATM) interface, use the cable l2-vpn-service atm-vc command in global configuration mode. To disable the use of Layer 2 tunneling, use the no form of this command.
cable l2-vpn-service atm-vc
no cable l2-vpn-service atm-vc
Syntax Description
This command has no arguments or keywords.
Defaults
The use of Layer 2 tunneling for ATM PVC mapping is disabled.
Command Modes
Global configuration
Command History
Release Modification12.2(11)BC3
This command was introduced for Cisco uBR7100 series and Cisco uBR7246VXR universal broadband routers.
Usage Guidelines
This command enables the use of Layer 2 tunnels on all cable and ATM interfaces in the router—which in turn allows you to map cable modems, on the basis of their hardware (MAC) addresses, to particular PVCs on an ATM interface—using the cable vc-map command.
Examples
The following example shows how to enable the use of Layer 2 tunnels on a router so that cable modems can be mapped to particular PVCs on an ATM interface:
Router# config terminalRouter(config)# cable l2-vpn-service atm-vcRouter(config)#Related Commands
cable l2-vpn-service dot1q
To enable the use of Layer 2 tunnels so that traffic for individual cable modems can be routed over a particular Virtual Local Area Network (VLAN), use the cable l2-vpn-service dot1q command in global configuration mode. To disable the use of Layer 2 tunneling, use the no form of this command.
cable l2-vpn-service dot1q
no cable l2-vpn-service dot1q
Syntax Description
This command has no arguments or keywords.
Defaults
Layer 2 tunneling is disabled.
Command Modes
Global configuration
Command History
Release Modification12.2(15)BC2
This command was introduced for Cisco uBR7246VXR universal broadband routers.
Usage Guidelines
This command enables the use of Layer 2 tunnels, using IEEE 802.1Q VLAN tagging, on all cable interfaces in the router. This in turn allows you to map traffic to and from cable modems, on the basis of the modems' hardware (MAC) addresses, to a particular VLAN on a particular WAN interface, using the cable dot1q-vc-map command.
Examples
The following example shows how to enable the use of IEEE 802.1Q Layer 2 tunnels on a router so that cable modems can be mapped to particular VLAN:
Router# config terminalRouter(config)# cable l2-vpn-service dot1qRouter(config)#
Note
It is not required to configure VLAN trunking on the Cisco CMTS. Though VLAN trunking is supported, be aware of additional impact of VLAN trunking on the Cisco CMTS.
The following example shows how to disable the use of IEEE 802.1Q Layer 2 tunnels on a router. All mapping of cable modems to IEEE 802.1Q VLANs is halted (but any other Layer 2 mapping, such as the mapping of cable modems to ATM PVCs, is unaffected).
Router# config terminalRouter(config)# no cable l2-vpn-service dot1qRouter(config)#Related Commands
cable vc-map
To map a cable modem to a particular permanent virtual connection (PVC) on an Asynchronous Transfer Mode (ATM) interface, use the cable vc-map command in global configuration mode. To remove this mapping, use the no form of this command.
cable vc-map mac-address atm-interface vpi/vci [cust-name]
no cable vc-map mac-address
no cable vc-map customer cust-name
Syntax Description
Defaults
No default behavior or values
Command Modes
Global configuration
Command History
Release Modification12.2(11)BC3
This command was introduced for Cisco uBR7100 series and Cisco uBR7246VXR universal broadband routers.
12.2(15)BC2
Support for the customer option was added.
Usage Guidelines
This command maps a cable modem, on the basis of its hardware (MAC) address, to a particular PVC on an ATM interface.
Note
To use this command, you must first enable the use of Layer 2 tunnels, using the cable l2-vpn-service atm-vc command. Then use the cable vc-map command to enable the mapping of individual cable modems to specific PVCs.
Examples
The following example shows how to enable the use of Layer 2 tunnels and then map specific CMs to specific PVCS:
Router# config terminalRouter(config)# cable l2-vpn-service atm-vcRouter(config)# cable vc-map 0007.0e03.69f9 ATM2/0 1/1Router(config)# cable vc-map 0010.7bed.9c95 ATM2/0 1/2Router(config)# exitRouter#The following example shows the same configuration as above, but with the addition of a customer name that identifies the customer that is using each particular PVC:
Router# config terminalRouter(config)# cable l2-vpn-service atm-vcRouter(config)# cable vc-map 0007.0e03.69f9 ATM2/0 1/1 ENTERPRISE-CO1Router(config)# cable vc-map 0010.7bed.9c95 ATM2/0 1/2 ENTERPRISE-CO2Router(config)# exitRouter#Related Commands
debug cable l2-vpn
To display debugging messages for the Layer 2 mapping of cable modems to particular permanent virtual connections (PVC) or to a virtual local area network (VLAN), use the debug cable l2-vpn command in privileged EXEC mode. To stop the display of debugging messages, use the no form of this command.
debug cable l2-vpn [conditional]
no debug cable l2-vpn [conditional]
Note
This command is not supported for the Cisco uBR10012 router, through release 12.3(13a)BC.
Syntax Description
Defaults
No default behavior or values
Command Modes
Privileged EXEC
Command History
Usage Guidelines
The debug cable l2-vpn command displays status information for the mapping of cable modems to PVCs on an ATM interface (see the cable vc-map command) or to a VLAN on an Ethernet, Fast Ethernet, or Gigabit Ethernet interface (see the cable dot1q-vc-map command). The debug messages show when a cable modem is mapped to a PVC or VLAN, when the mapping is changed or removed, and when packets are sent and received over the mapping.
The conditional option displays information for each packet that is sent and received over an ATM PVC or VLAN mapping. Because this can produce a large volume of debug information, the conditional option can be used only when you have also enabled debugging for a particular interface or MAC address, using the debug cable interface and debug cable mac-address commands, respectively.
Examples
The following example shows typical output for the debug cable l2-vpn command when a cable modem is mapped to an ATM PVC:
Router# debug cable l2-vpnCMTS L2 VPN debugging is onRouter# configure terminalRouter(config)# cable l2-vpn-service atm-vcRouter(config)# cable vc-map 0007.0e03.69f9 ATM2/0 1/16d00h: Associating vc ATM2/0.1 1/1 to CM 0007.0e03.69f9 sid 0x16d00h: Writing vc-map info to sid 0x1Router(config)#The following example shows typical output for the debug cable l2-vpn command when a cable modem is mapped to an IEEE 802.1Q VLAN:
Router# debug cable l2-vpnCMTS L2 VPN debugging is onRouter# configure terminalRouter(config)# cable l2-vpn-service dot1qRouter(config)# cable dot1q-vc-map 0007.0e03.69f9 FastEthernet0/0 5Router(config)#Set promiscuous mode for FastEthernet0/0Mapped DS srv flow 13 on Cable5/0 to FastEthernet0/0 VLAN 5Mapped US srv flow 11 sid 31 on Cable5/0 to FastEthernet0/0 VLAN 5
Note
It is not required to configure VLAN trunking on the Cisco CMTS. Though VLAN trunking is supported, be aware of additional impact of VLAN trunking on the Cisco CMTS.
The following example shows typical output for the debug cable l2-vpn command when a mapping is deleted:
Router# debug cable l2-vpnCMTS L2 VPN debugging is onRouter# configure terminalRouter(config)# no cable vc-map 0007.0e03.69f9 ATM2/0 1/16d00h: Disassociating vc ATM2/0.1 1/1 from CM 0007.0e03.69f9 sid 0x16d00h: Erasing vc-map info to sid 0x1Router(config)#The following example shows typical output for the conditional option. This example shows output for traffic to and from one particular cable modem. Each debug message shows the size of the packet, the source and destination MAC addresses, the cable interface and SID being used, and the ATM interface and PVC/PVI being used.
Router# debug cable mac-address 000C.0807.06.05Router# debug cable l2-vpn conditionalCMTS L2 VPN conditional debugging is on6d00h: Fwd pkt size 74 from 000C.0807.0605 on Cable4/0:0x1 to 0900.2b00.000f on ATM2/0:1/16d00h: Fwd pkt size 74 from 000C.0807.0605 on Cable4/0:0x1 to 0900.07ff.ffff on ATM2/0:1/16d00h: Fwd pkt size 1028 from 000C.0807.0605 on Cable4/0:0x1 to 0002.4a1d.dc1d on ATM2/0:1/16d00h: Send pkt size 1020 encsize 6 from 0002.4a1d.dc1d on ATM2/0:1/1 to 000C.0807.0605 on Cable4/0:0x16d00h: Fwd pkt size 74 from 000C.0807.0605 on Cable4/0:0x1 to 0900.07ff.ffff on ATM2/0:1/1Router#Related Commands
show cable l2-vpn dot1q-vc-map
To display the mapping of one or all cable modems to IEEE 802.1Q Virtual Local Area Networks (VLANs) on the router's Ethernet interfaces, use the show cable l2-vpn dot1q-vc-map command in privileged EXEC mode.
show cable l2-vpn dot1q-vc-map [mac-address] [verbose] [customer cust-name]
Syntax Description
Defaults
Displays information for all cable modems that have a defined IEEE 802.1Q VLAN mapping.
Command Modes
Privileged EXEC
Command History
Release Modification12.2(15)BC2
This command was introduced for Cisco uBR7246VXR universal broadband routers.
Usage Guidelines
This command displays the cable modem to VLAN mappings that have been defined using the cable dot1q-vc-map command. It displays the MAC address, service ID (SID), and cable interface being used by the cable modem, and the interface and VLAN ID to which it has been mapped.
Tip
The customer option displays only those VLAN mappings that have been configured with a particular customer name, using the cable dot1q-vc-map command.
Examples
The following example shows typical output for the show cable l2-vpn dot1q-vc-map command for all cable modems that are mapped to IEEE 802.1Q VLANs:
Router# show cable l2-vpn dot1q-vc-mapMAC Address Ethernet Interface VLAN ID Cable Intf SID Priv Bits0010.7bed.9c95 FE0/0.2 3 Cable4/0 3 00007.0e03.69f9 FE0/0.1 4 Cable4/0 1 0Router#The following example shows typical output for a particular cable modem with the MAC address of 0010.7bed.9c91:
Router# show cable l2-vpn dot1q-vc-map 0001.0203.0405MAC Address Ethernet Interface VLAN ID Cable Intf SID Priv Bits0010.7bed.9c91 GE2/0 5 Cable5/0 7 0Router#The following example shows a typical example for the verbose option:
Router# show cable l2-vpn dot1q-vc-map 0001.0203.0405 verboseMAC Address : 0010.7bed.9c91Prim Sid : 7Cable Interface : Cable5/0Ethernet Interface : GigabitEthernet2/0DOT1Q VLAN ID : 5Total US pkts : 6Total US bytes : 1402Total DS pkts : 71Total DS bytes : 21975Router#Table 1 describes the fields shown in the display.
Related Commands
show cable l2-vpn vc-map
To display the mapping of one or all cable modems to permanent virtual connections (PVC) on Asynchronous Transfer Mode (ATM) interfaces, use the show cable l2-vpn vc-map command in privileged EXEC mode.
show cable l2-vpn vc-map [mac-address] [customer cust-name]
Syntax Description
mac-address
(Optional) Displays the mapping for the cable modem with the specified hardware (MAC).
customer cust-name
(Optional) Displays the PVC mappings for this particular customer name.
Defaults
Displays information for all cable modems that have a defined ATM PVC mapping.
Command Modes
Privileged EXEC
Command History
Release Modification12.2(11)BC3
This command was introduced for Cisco uBR7100 series and Cisco uBR7246VXR universal broadband routers.
12.2(15)BC2
Support was added for the customer option.
Usage Guidelines
This command displays the cable modem to ATM PVC mappings that have been defined using the cable vc-map command. It displays the MAC address, service ID (SID), and cable interface being used by the cable modem, and the ATM interface and PVC/PVI to which it has been mapped.
Tip
The customer option displays only those PVC mappings that have been configured with a particular customer name, using the cable vc-map command.
Examples
The following example shows typical output for the show cable l2-vpn vc-map command for all cable modems that are mapped to ATM PVCs:
Router# show cable l2-vpn vc-mapMAC Address ATM Intf VPI/VCI Cable Intf SID Priv Bits0010.7bed.9c95 ATM2/0.2 1/2 Cable4/0 3 00007.0e03.69f9 ATM2/0.1 1/1 Cable4/0 1 0Router#The following example shows typical output for a particular cable modem with the MAC address of 0001.0203.0405:
Router# show cable l2-vpn vc-map 0001.0203.0405MAC Address ATM Intf VPI/VCI Cable Intf SID Priv Bits0001.0203.0405 ATM3/0.2 1/2 Cable5/0 3 0Router#Table 2 describes the fields shown in the display.
Related Commands
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)