Creating a source MAC address-based VLAN using batch files
Before configuring a source MAC address-based VLAN, you must first enable source MAC address-based VLANs on the system. If you have not already done so, use the following procedure:
"Enabling source MAC address-based VLANs on the system".
To create a source MAC address-based VLAN using batch files:
- From the Device Manager menu bar, choose VLAN > VLANs.
| The VLAN dialog box opens to the Basic tab. |
- Click Insert.
- In the Type field, click bySrcMac.
| The fields needed to set up source MAC-based VLANs become editable. |
- In the ID field, type the unique VLAN ID.
- (Optional) In the Name field, type the VLAN name, or use the one provided.
- (Optional) In the Color Identifier field, select a color, or use the one provided.
| This color is used by VLAN Manager to visually distinguish the VLANs in a network. |
- In the StgId field, click the down arrow, and select a spanning tree group ID for the VLAN.
- To specify the VLAN port membership, click the ellipsis (...) for one of the following fields.
- Port Members
- StaticMembers
- NotAllowedToJoin
| The VlanPortMembers dialog box open. |
- Click each port until the desired color is achieved.
- Yellow--Potential members, dynamic (Potential members are treated as always members.)
- Green--Always members, static
- Red--Never members, not allowed to join
|
Note:
In a source MAC address-based VLAN, a potential member becomes an active member of the VLAN when a frame with the specified source MAC address is received.
|
- Click OK.
| The VlanPortMembers dialog box closes, and the selected port members appear in the VLAN, Insert Basic dialog box. |
- In the Aging Time field, specify the timeout period, in seconds, for aging out the dynamic VLAN member ports, or use the default of 600 seconds.
- (Optional) In the QosLevel field, click a quality of service level, or use the default, level 1.
- Click Insert.
| The VLAN, Insert Basic dialog box closes, and the VLAN appears in the Basic tab. |
- In the VLAN Basic tab, select the newly created VLAN.
- Click Mac.
| The MAC, VLAN dialog box opens. |
- Click File.
| The Edit MAC VLAN dialog box opens. |
- Do one of the following:
- To add a MAC address from a file, click Add From File and use the selection dialog box to browse for the file location.
- To save a MAC address to a file, select it, click Save to File, and use the selection dialog box to browse for a save location.
- To delete a MAC address, select it, and click Delete Members on Device.
- Click Close.
| The Edit MAC dialog box closes. |
- Click Close in the MAC VLAN, and VLAN dialog boxes.
| The source MAC address-based VLAN is configured. |
See also: