Chapter 36: VLAN Commands
Configuring MAC Based VLANs
– 1112 –
--------------- --------------- ------- --------
192.168.12.0 255.255.255.128 1 0
192.168.12.128 255.255.255.192 3 0
192.168.12.192 255.255.255.224 4 0
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#
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
[
mask
mask-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.
mask-address
- Identifies a range of MAC addresses.
(Range: 00-00-00-00-00-00 to FF-FF-FF-FF-FF-FF)
vlan-id
– VLAN to which the matching source MAC address traffic is
forwarded. (Range: 1-4094)
priority
– The priority assigned to untagged ingress traffic.
(Range: 0-7, where 7 is the highest priority)
Table 36-11: MAC Based VLAN Commands
Command
Function
Mode
Defines the IP Subnet VLANs
GC
Displays IP Subnet VLAN settings
PE
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...