Table of Contents

Advertisement

Figure 61 Network diagram

Configuration procedure

1.
Configure Host A, Host B, and Host C:
Configure the IP addresses of Host A, Host B, and Host C as 1.1.1.1/24, 1.1.1.2/24, and
1.1.1.3/24, respectively.
Configure the gateway address as 1.1.1.1 1/24 for the hosts.
2.
Configure Layer 2 Switch A:
# Assign Ethernet 1/1 to VLAN 11.
<L2_SwitchA> system-view
[L2_SwitchA] vlan 11
[L2_SwitchA-vlan11] port ethernet 1/1
[L2_SwitchA-vlan11] quit
# Assign Ethernet 1/2 to VLAN 12.
[L2_SwitchA] vlan 12
[L2_SwitchA-vlan12] port ethernet 1/2
[L2_SwitchA-vlan12] quit
# Assign Ethernet 1/3 to VLAN 13.
[L2_SwitchA] vlan 13
[L2_SwitchA-vlan13] port ethernet 1/3
[L2_SwitchA-vlan13] quit
# Configure Ethernet 1/7 as a hybrid port, assign the port to VLANs 11 through 13 as a tagged
member, and assign the port to VLAN 100 as an untagged member.
[L2_SwitchA] interface ethernet 1/7
[L2_SwitchA-Ethernet1/7] port link-type hybrid
[L2_SwitchA-Ethernet1/7] port hybrid vlan 11 to 13 tagged
[L2_SwitchA-Ethernet1/7] port hybrid vlan 100 untagged
172

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents