Configuring Virtual LANs (VLANs)
December 2000
25 - 55
Figure 25.21
VLAN list on Foundry Stackable Layer 2 Switch
As shown in this example, the MAC VLAN list contains four entries. For simplicity, each of the MAC addresses in
the list in this example belongs to a host attached to the switch. Each of the MAC addresses belongs to a host
attached to the switch port indicated in the file. When the switch receives a packet from one of the MAC
addresses, the packet matches an entry in the MAC VLAN list. When this occurs, the switch adds the packet to
VLAN specified in the MAC VLAN entry. Moreover, of the output port for the packet is a tagged port, the switch
adds the four-byte tag field to the end of the packet thus tagging the packet.
NOTE:
If the switch receives a packet with a source MAC address that is contained in the MAC VLAN list, but
that switch receives that packet on a different port than the one specified in the MAC VLAN list, the packet does
not match the list and is switched normally. The MAC VLAN switching described in this section is not performed
for the packet.
In this example, suppose host 1145.5563.a101 sends a packet destined for a host on the router attached to port
10. The switch compares the packet’s source MAC address and input port against the entries in the MAC VLAN
field and finds a match. The switch then assigns that packet to the VLAN indicated in the MAC VLAN file. In this
case, the VLAN ID is 10. Since the packet’s destination is reached through switch port 10, a tagged port, the
switch also adds the tag to the packet before placing the packet in the output queue on port 10. The MAC VLAN
list does not specify a priority for the packet, so the switch uses the priority associated with the port. In this case,
the priority is normal so the switch places the packet in the normal priority queue.
If the switch receives a packet from host 1145.5563.C11f on port 4, the switch assigns the packet to VLAN 20 and
places the packet in the high priority queue of its output port. If the output port is tagged, the switch also adds the
tag to the packet.
Configuring a MAC VLAN List
To configure the MAC VLAN list:
1.
Create a new text file. For convenience, you might want to create the text file on the TFTP server from which
the switch will download the MAC VLAN list. Otherwise, you can copy the file onto the TFTP server after you
add the commands to the file.
Server
Link
Activity
FDX
Link/Act
FDX
Link/Act
FDX
Link/Act
FDX
Link/Act
Link
Activity
Power
Console
FastIron Multilayer
Router
1145.5563.a101
1145.5563.a102
e4
1145.5563.c11f
MAC VLAN File:
Source MAC, VLAN ID, input port, priority
ext mac-vlan 145.5563.a101 10 ethernet 1
ext mac-vlan 145.5563.a102 10
1
ext mac-vlan 145.5563.a103 20
4
ext mac-vlan 145.5563.c11f 20
4 priority high
ethernet
ethernet
ethernet
1145.5563.a103
e10
e1
Ports e1 - e9 are untagged.
Port e10 is tagged.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...