H3C SR8800 Configuration Manual page 26

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Figure 7 Network diagram
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 the MAC address of Laptop 2 with
VLAN 200.
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 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
# Configure Laptop 1 and Laptop 2 to access the network through GigabitEthernet 3/1/1:
Configure GigabitEthernet 3/1/1 as a hybrid port that sends packets of VLANs 100 and 200
untagged, and enable MAC-based VLAN on it.
[DeviceA] interface GigabitEthernet 3/1/1
[DeviceA-GigabitEthernet3/1/1] port link-type hybrid
[DeviceA-GigabitEthernet3/1/1] port hybrid vlan 100 200 untagged
16

Advertisement

Table of Contents
loading

Table of Contents