HP A5830 Configuration Manual page 125

Layer 2 lan switching
Hide thumbs Also See for A5830:
Table of Contents

Advertisement

Figure 38 Network diagram for MAC-based VLAN configuration
VLAN 100
IP: 1.1.1.1/24
GE1/0/2
Device A
GE1/0/1
VLAN 100
Laptop1
IP: 1.1.1.2/24
MAC: 000d-88f8-4e71
Configuration consideration
Create VLANs 100 and 200.
Configure the uplink ports of Device A and Device C as trunk ports, and assign them to VLANs 100
and 200.
Configure the downlink ports of Device B as trunk ports, and assign them to VLANs 100 and 200.
Assign the uplink ports of Device B to VLANs 100 and 200.
Associate the MAC address of Laptop 1 with VLAN 100, and associate the MAC address of Laptop
2 with VLAN 200.
Configuration guidelines
MAC-based VLAN can be configured only on hybrid ports.
1.
MAC-based VLAN is usually configured on the downlink ports of access layer devices, and cannot
2.
be configured together with the link-aggregation function.
Configuration procedure
Configure Device A.
1.
# Create VLANs 100 and 200.
<DeviceA> system-view
[DeviceA] vlan 100
[DeviceA-vlan100] quit
[DeviceA] vlan 200
[DeviceA-vlan200] quit
# Associate the MAC address of Laptop 1 with VLAN 100, and associate the MAC address of Laptop 2
with VLAN 200.
[DeviceA] mac-vlan mac-address 000d-88f8-4e71 vlan 100
[DeviceA] mac-vlan mac-address 0014-222c-aa69 vlan 200
Server1
Server2
IP: 1.1.2.1/24
GE1/0/14
GE1/0/13
GE1/0/4
GE1/0/3
Device B
Laptop2
IP: 1.1.2.2/24
MAC: 0014-222c-aa69
VLAN 200
GE1/0/2
Device C
GE1/0/1
VLAN 200
118

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents