Table of Contents

Advertisement

Figure 58 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 IP 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 trunk port, and assign it to VLANs 11 through 13.
[L2_SwitchA] interface ethernet 1/7
[L2_SwitchA-Ethernet1/7] port link-type trunk
[L2_SwitchA-Ethernet1/7] port trunk permit vlan 11 to 13
3.
Configure Router:
# Create Ethernet subinterface GigabitEthernet4/0/1.10, and assign an IP address to the
subinterface.
168

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents