Show mac-vlan – LevelOne FGL-2870 User Manual

Page 693

Advertising
background image

VLAN Commands

4-327

4

Command Mode

Global Configuration

Command Usage

• The MAC-to-VLAN mapping applies to all ports on the switch.
• Source MAC addresses can be mapped to only one VLAN ID.
• Configured MAC addresses cannot be broadcast or multicast addresses.
• When MAC-based, IP subnet-based, and protocol-based VLANs are

supported concurrently, priority is applied in this sequence, and then
port-based VLANs last.

Example
The following example assigns traffic from source MAC address 00-00-00-11-22-33
to VLAN 10.

show mac-vlan

This command displays MAC address-to-VLAN assignments.

Command Mode

Privileged Exec

Command Usage

Use this command to display MAC address-to-VLAN mappings.

Example
The following example displays all configured MAC address-based VLANs.

Console(config)#mac-vlan mac-address 00-00-00-11-22-33 vlan 10
Console(config)#

Console#show mac-vlan
MAC address VLAN ID
------------------- ---------
00-00-00-11-22-33 10
Console#

Advertising