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
ethernet-interface
vlan-id
{cust-name}
cable
dot1q-vc-map
mac-address
ethernet-interface
backup-interface
ethernet-interface
vlan-id
{cust-name}
no
cable
dot1q-vc-map
mac-address
ethernet-interface
backup-interface
ethernet-interface
vlan-id
{cust-name}
no cable dot1q-vc-map mac-address
no cable dot1q-vc-map customer cust-name
Syntax Description
mac-address
|
Hardware (MAC) address for the cable modem whose traffic is to be mapped.
|
ethernet-interface
|
Outbound interface to which this cable modem should be mapped.
On the
Cisco uBR7100 series and Cisco uBR7246VXR routers, you can specify an Ethernet,
Fast Ethernet, or Gigabit Ethernet interface, depending on what interfaces are
actually installed in the chassis.
On the
Cisco cBR series
routers, you can specify the Gigabit Ethernet 0 interface or a Ten Gigabit
Ethernet interface.
|
vlan-id
|
ID for
the IEEE 802.1Q Virtual Local Area Network (VLAN) that should be used to tag
the frames for this cable modem. The range is 1 to 4095, with no default on the
Cisco uBR7100 series and Cisco uBR7246VXR routers. The range is 2 to 4095 on
the
Cisco cBR series
routers.
Note
|
The
switches acting as the bridge aggregators might support a lower number of VLAN
IDs. If so, the Cisco CMTS router should be configured within the limits of the
switches’ maximum number of VLANs.
|
|
cust-name
|
(Optional) Identifies the customer using this VLAN. The
cust-name can be any arbitrary alphanumeric string, up to
127 characters long.
|
customer
cust-name
|
(Optional) Deletes all VCs belong to this customer. The
cust-name can be any arbitrary alphanumeric string, up to
127 characters long.
|
backup-interface
ethernet-interface
|
Specifies the backup WAN interface.
|
Command Modes
Global configuration (config)
Command History
Release
|
Modification
|
12.2(15)BC2
|
This
command was introduced for Cisco uBR7246VXR universal broadband routers.
|
12.3BC
|
This
command was integrated into Cisco IOS Release 12.3BC.
|
12.2(33)SCA
|
This
command was integrated into Cisco IOS Release 12.2(33)SCA. Support for the
Cisco uBR7225VXR router was added.
|
IOS-XE 3.15.0S
|
This
command was implemented on the
Cisco cBR Series Converged Broadband Routers.
|
12.2(33)SCJ
|
This
command was modified. The
backup-interface
keyword was added.
|
IOS-XE
3.18.0S
|
This
command was modified. The
backup-interface
keyword was added.
|
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, 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 on a Cisco uBR7246VXR router:
Router# configure 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 5
Router(config)# exit
The following example shows the same command as above on a Cisco uBR7246VXR router, but this time each VLAN is identified
by the customer that is using it:
Router# configure 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 5 ENTERPRISE-CO2
Router(config)# exit
The following example shows how to remove the Layer 2 mapping for a specific cable modem on a Cisco uBR7246VXR router. 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
The following example shows how to enable the use of Layer 2 tunnels and then map specific CMs to VLANs on a specific interface
on a
Cisco cBR-8 router:
Router# configure terminal
Router(config)# cable l2-vpn-service dot1q
Router(config)# cable dot1q-vc-map 000C.0e03.69f9 GigabitEthernet 0 2
Router(config)# cable dot1q-vc-map 0010.7bed.9c95 TenGigabitEthernet 4/1/0 5
Router(config)# exit
The following example shows how to configure a backup WAN interface on DOT1Q L2VPN on a Cisco cBR-8 router:
Router# configure terminal
Router(config)# cable l2-vpn-service dot1q
Router(config)# cable dot1q-vc-map 0025.2eab.8482 Te4/0/1 backup-interface Te4/0/7 207 Topgun