Configuring VLANs
These restrictions apply when mapping 802.1Q VLANs to ISL VLANs:
•
•
•
•
•
To map an 802.1Q VLAN to an ISL VLAN, perform this task in privileged mode:
Task
Step 1
Map an 802.1Q VLAN to an ISL Ethernet VLAN.
The valid range for dot1q_vlan is 1001–4095. The
valid range for isl_vlan is 1–1000.
Step 2
Verify the VLAN mapping.
This example shows how to map 802.1Q VLANs 2000, 3000, and 4000 to ISL VLANs 200, 300, and
400 and how to verify the configuration:
Console> (enable) set vlan mapping dot1q 2000 isl 200
802.1q vlan 2000 is existent in the mapping table
Console> (enable) set vlan mapping dot1q 3000 isl 300
Vlan mapping successful
Console> (enable) set vlan mapping dot1q 4000 isl 400
Vlan mapping successful
Console> (enable) show vlan mapping
802.1q vlan
------------------------------------------
2000
3000
4000
Console> (enable)
Clearing 802.1Q-to-ISL VLAN Mappings
To clear an 802.1Q-to-ISL VLAN mapping, perform this task in privileged mode:
Task
Step 1
Clear an 802.1Q-to-ISL VLAN mapping.
Step 2
Verify the VLAN mapping.
This example shows how to clear the VLAN mapping for 802.1Q VLAN 2000:
Console> (enable) clear vlan mapping dot1q 2000
Vlan 2000 mapping entry deleted
Console> (enable)
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
10-6
You can configure up to seven 802.1Q-to-ISL VLAN mappings on the switch.
You must map 802.1Q VLANs to Ethernet-type ISL VLANs.
Do not enter the native VLAN of any 802.1Q trunk in the mapping table.
When you map an 802.1Q VLAN to an ISL VLAN, traffic on the 802.1Q VLAN corresponding to
the mapped ISL VLAN is blocked. For example, if you map 802.1Q VLAN 2000 to ISL VLAN 200,
traffic on 802.1Q VLAN 200 is blocked.
VLAN mappings are local to each switch. Make sure you configure the same VLAN mappings on
all appropriate switches in the network.
ISL vlan
200
300
400
Command
set vlan mapping dot1q dot1q_vlan isl isl_vlan
show vlan mapping
Effective
true
true
true
Command
clear vlan mapping dot1q {dot1q_vlan | all}
show vlan mapping
Chapter 10
Configuring VLANs
78-12647-02