Foundry Networks Switch and Router Installation And Configuration Manual page 974

Switch and router
Table of Contents

Advertisement

Foundry Switch and Router Installation and Configuration Guide
BigIronF(config)# vlan 103 by port
BigIronF(config-vlan-103)# tagged ethernet 2/1
BigIronF(config-vlan-103)# untagged ethernet 1/3
BigIronF(config-vlan-103)# exit
BigIronF(config)# vlan 104 by port
BigIronF(config-vlan-104)# tagged ethernet 2/1
BigIronF(config-vlan-104)# untagged ethernet 1/4
BigIronF(config-vlan-104)# exit
BigIronF(config)# vlan 105 by port
BigIronF(config-vlan-105)# tagged ethernet 2/1
BigIronF(config-vlan-105)# untagged ethernet 1/5
BigIronF(config-vlan-105)# exit
BigIronF(config)# write memory
Configuring MAC VLANs (Stackable FastIron Backbone Layer 2 Switch
only)
On the Stackable FastIron Backbone Layer 2 Switch, you can configure a list of source MAC addresses and
switch input ports, and associate each address with a VLAN and, optionally, a QoS priority. When the Layer 2
Switch receives a packet that matches an entry in the list, the switch assigns that packet to the specified VLAN. In
addition, if the destination port for the packet is a tagged port, the switch adds the 802.1q tag to the packet.
To configure the switch for MAC VLAN support, you create a text file containing a list of MAC VLAN entries. The
MAC VLAN list is a text file that the switch reads from a TFTP server during startup. The MAC VLAN file contains
entries in the following format:
Syntax: ext mac-vlan <source-mac-address> <vlan-id> ethernet <input-port> [priority normal | high]
The switch adds the MAC VLAN entries in the file to its MAC table. When the switch receives a packet, the switch
checks the packet's contents against the MAC VLAN configuration list.
If a packet matches the source MAC address and input port of an entry in the list, the switch uses the VLAN ID of
the MAC VLAN entry as the packet's VLAN ID. In addition, if the packet is destined an output port that is tagged,
the switch tags the packet, adding the four-byte 802.1p tag field to the end of the packet.
Further, if the MAC VLAN list specifies a priority for the packet, the switch places the packet in the specified queue
on the output port. For example, if the entry is marked with high priority, the switch places the packet in the high-
Figure 25.21 shows an example of how the MAC VLAN list is used.
25 - 54
December 2000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents