Chapter 17
| VLAN Commands
Configuring MAC Based VLANs
– 419 –
192.168.12.224 255.255.255.240 5 0
192.168.12.240 255.255.255.248 6 0
192.168.12.248 255.255.255.252 7 0
192.168.12.252 255.255.255.254 8 0
192.168.12.254 255.255.255.255 9 0
192.168.12.255 255.255.255.255 10 0
Console#
Configuring MAC Based VLANs
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.
Syntax
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)
Default Setting
None
Table 91: MAC Based VLAN Commands
Command
Function
Mode
mac-vlan
Defines the IP Subnet VLANs
GC
show mac-vlan
Displays IP Subnet VLAN settings
PE
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...