Configuring mac based vlans, Mac-vlan 808, Table 112: mac based vlan commands – Microsens MS453490M Management Guide User Manual

Page 808: Configuring mac based, Vlans, Mac b, Vlan

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring MAC Based VLANs

– 808 –

C

ONFIGURING

MAC B

ASED

VLAN

S

When using IEEE 802.1Q port-based VLAN classification, all untagged

frames received by a port are classified as belonging to the VLAN whose

VID (PVID) is associated with that port.

When MAC-based VLAN classification is enabled, the source address of

untagged ingress frames are checked against the MAC address-to-VLAN

mapping table. If an entry is found for that address, these frames are

assigned to the VLAN indicated in the entry. If no MAC address is matched,

the untagged frames are classified as belonging to the receiving port’s

VLAN ID (PVID).

mac-vlan

This command configures MAC address-to-VLAN mapping. Use the no form

to remove an assignment.

S

YNTAX

mac-vlan mac-address mac-address vlan vlan-id [priority priority]
no mac-vlan mac-address {mac-address | all}

mac-address – The source MAC address to be matched. Configured

MAC addresses can only be unicast addresses. The MAC address

must be specified in the format xx-xx-xx-xx-xx-xx or xxxxxxxxxxxx.
vlan-id – VLAN to which the matching source MAC address traffic is

forwarded. (Range: 1-4093)
priority – The priority assigned to untagged ingress traffic.

(Range: 0-7, where 7 is the highest priority)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

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.

Table 112: MAC Based VLAN Commands

Command

Function

Mode

mac-vlan

Defines the IP Subnet VLANs

GC

show mac-vlan

Displays IP Subnet VLAN settings

PE

Advertising