Mac-Based Vlan Configuration Example - HP A5120 EI Series Configuration Manual

Lan switching
Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

NOTE:
After enabling MAC-based VLAN on the switch, you must configure related authentication settings on
the access authentication server. For more information about access authentication, see the
Configuration Guide
Follow these steps to configure dynamic MAC-based VLAN:
To do...
Enter system view
Enter
Ethernet
interface
view or
port group
view
Configure the link type of the
port(s) as hybrid
Enable MAC-based VLAN

MAC-based VLAN configuration example

Network requirements
As shown in
meeting room. Laptop 1 and Laptop 2 are used for meetings and might be used in either of the two
meeting rooms.
Different departments own Laptop 1 and Laptop 2. The two departments use VLAN 100 and VLAN
200 respectively. Each laptop must be able to access only its own department server, no matter
which meeting room it is used in.
The MAC address of Laptop 1 is 000d-88f8-4e71, and that of Laptop 2 is 0014-222c-aa69.
.
Use the command...
system-view
Enter Ethernet
interface interface-type interface-
interface view
number
Enter port
port-group manual port-group-name
group view
port link-type hybrid
mac-vlan enable
Figure
36, GigabitEthernet 1/0/1 of Device A and Device C are each connected to a
Remarks
Use either command.
Required
Required
Disabled by default
115
Security
The configuration made in
Ethernet interface view applies
only to the current port.
The configuration made in port
group view applies to all ports in
the port group.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents