Mac-Vlan; Show Mac-Vlan - Edge-Core ECS4810-12M Layer 2 Management Manual

Hide thumbs Also See for ECS4810-12M Layer 2:
Table of Contents

Advertisement

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

mac-vlan

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}
D
EFAULT
None
C
OMMAND
Global Configuration
C
OMMAND
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.
E
XAMPLE
The following example assigns traffic from source MAC address 00-00-00-
11-22-33 to VLAN 10.
Console(config)#mac-vlan mac-address 00-00-00-11-22-33 vlan 10
Console(config)#
This command displays MAC address-to-VLAN assignments.

show mac-vlan

C
OMMAND
Privileged Exec
C
OMMAND
Use this command to display MAC address-to-VLAN mappings.
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)
S
ETTING
M
ODE
U
SAGE
M
ODE
U
SAGE
– 965 –
| VLAN Commands
C
36
HAPTER
Configuring MAC Based VLANs

Advertisement

Table of Contents
loading

Table of Contents