Alaxala AX2200S Series Configuration Manual page 299

Table of Contents

Advertisement

Notes
When MAC addresses are registered for MAC VLANs, the same MAC address
cannot be registered for multiple VLANs.
(2) Setting MAC ports
Points to note
The MAC port set for distinguishing VLANs by source MAC address for the MAC
VLAN handles untagged frames.
Command examples
1.
(config)# interface range fastethernet 0/1-2
Switches ports 0/1 and 0/2 to Ethernet interface configuration mode. This setting is
done because MAC VLAN 10 is set to ports 1/0 and 0/2.
2.
(config-if-range)# switchport mode mac-vlan
(config-if-range)# switchport mac vlan 10
(config-if-range)# exit
Sets ports 0/1 and 0/2 for the MAC port. Then, sets VLAN 10.
3.
(config)# interface range fastethernet 0/2-3
(config-if-range)# switchport mode mac-vlan
(config-if-range)# switchport mac vlan add 20
(config-if-range)# exit
Sets ports 0/2 and 0/3 for the MAC port. Then, sets VLAN 20. Because VLAN 10 has
already been set to port 0/2, use the
command to add VLAN 20. Port 0/3 has the same meaning as the initial setting.
Notes
The
switchport mac vlan
configuration. Instead, it replaces the settings in the specified
and remove VLANs for ports on which MAC VLANs are already running, use the
switchport mac vlan add
commands.
(3) Setting trunk ports
Points to note
Even for MAC VLANs, trunk ports are set to handle tagged frames, and VLANs are
set for this trunk port.
Command examples
1.
(config)# interface fastethernet 0/4
Switches to the Ethernet interface configuration mode for port 0/4.
2.
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 10,20
(config-if)# exit
Sets port 0/4 as a trunk port. Then, sets VLAN 10 and VLAN 20.
switchport mac vlan add
configuration command does not add to the previous
and
switchport mac vlan remove
17 VLANs
configuration
<VLAN ID
list>. To add
configuration
277

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ax1250s seriesAx1240s series

Table of Contents