![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275976.webp)
Foundry Switch and Router Installation and Configuration Guide
25 - 56
December 2000
2.
Enter the following command in the file to add a MAC VLAN entry to the file:
ext mac-vlan
<mac-addr> <vlan-id>
ethernet
<portnum>
[priority
<num>
]
The <mac-addr> parameter specifies the source MAC address you want to the switch to check for.
The <vlan-id> parameter specifies the VLAN to which you want the switch to assign packets that match the
other values in this command.
The <portnum> parameter specifies the source port. A packet matches this VLAN entry only if the source
MAC address and source port match the values you specify.
The
priority
<num> parameter optionally changes the QoS priority for packets that match this entry. You can
specify normal or high-priority. The default is normal.
3.
Repeat step 2 for each source MAC address and source port.
4.
Save the file and copy it to the TFTP server.
5.
Enter the following command on the switch at the global CONFIG level of the CLI to identify the MAC VLAN
file name and location:
ext get config-file
<ip-addr> <external-file-name>
The <ip-addr> specifies the IP address of the TFTP server.
The <external-file-name> parameter specifies the name of the text file containing the
ext mac-vlan
commands.
6.
Enter the following command on the switch to save the configuration change to flash memory:
write memory
Loading a MAC VLAN List
The switch automatically uses the information you enter with the
ext get config-file
command to load the MAC
VLAN list the next time you reload the switch. However, you can load a MAC VLAN list at any time by entering the
following command at the Privileged EXEC level of the CLI.
Syntax:
ext refresh config-file <ip-addr> <external-file-name>
The <ip-addr> parameter specifies the IP address of the TFTP server on which you placed the MAC VLAN file.
The <external-file-name> parameter specifies the name of the MAC VLAN file.
This command adds the entries in the MAC VLAN list to the MAC table. Existing entries in the table are not
cleared.
Specifying a Default VLAN for MAC Addresses That Are Not in the MAC VLAN
List
You can specify a default port-based VLAN for MAC addresses that the switch receives from sources other than
the MAC VLAN list you configure. For example, if a host plugs into the network and that host’s MAC address is
not in the MAC VLAN list, the switch assigns that VLAN to the default VLAN you specify.
You can specify the default VLAN on an individual interface basis. You can specify the same VLAN or different
VLANs on each interface.
To specify the default VLAN for an interface, enter commands such as the following:
FastIron(config)# int e 1
FastIron(config-if-1)# mvlan-mode 2
FastIron(config-if-1)# write memory
Syntax:
mvlan-mode <vlan-id>
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 ...