2-45
Cisco Broadband Cable Command Reference Guide
OL-1581-08
Chapter 2 Cisco CMTS Configuration Commands
cable dot1q-vc-map
Note
To use this command, you must 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 terminal
Router(config)#
cable l2-vpn-service dot1q
Router(config)#
cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4
Router(config)#
cable dot1q-vc-map 0010.7bed.9c95 GigabitEthernet 1/0 4
Router(config)#
exit
Router#
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 terminal
Router(config)#
cable l2-vpn-service dot1q
Router(config)#
cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4 ENTERPRISE-CO1
Router(config)#
cable dot1q-vc-map 0010.7bed.9c95 GigabitEthernet 1/0 4 ENTERPRISE-CO2
Router(config)#
exit
Router#
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 terminal
Router(config)#
no cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 1/0 4
Router(config)#
exit
Router#
Related Commands
Command
Description
cable l2-vpn-service
dot1q
Enables the use of Layer 2 tunnels so that traffic for individual cable
modems can be routed over a particular Virtual Local Area Network
(VLAN) on an Ethernet interface.
debug cable l2-vpn
Displays debugging messages for the Layer 2 mapping of cable modems to
particular PVCs or VLANs.
show cable l2-vpn
dot1q-vc-map
Displays the mapping of one or all cable modems to VLANs on the router’s
Ethernet interfaces.