(J1-8) Xingrui Network Technology Co., Ltd. network construction and configuration | Eth-trunk, VLANIF


Module 1 Question Number: J1-8, Network Construction and Configuration of Xingrui Network Technology Co., Ltd.

(1)Task description

Xingrui Network Technology Co., Ltd. is an entrepreneurial technology company. Due to the recent rapid development of Internet technology, Xingrui Company has also developed rapidly. The number of employees in the company has increased sharply, and the original network can no longer meet the needs of the growing business. The company’s senior management asked Xiaohua, the network administrator of the network department, to re-plan and manage the company’s network in a unified manner to improve network performance and enhance security.

After careful investigation and analysis, Xiaohua decided to expand the existing network of Xingrui Company and re-plan the topology. The topology adopts a relatively common three-layer architecture (access layer, aggregation layer, core layer). In order to ensure that the network can operate safely, normally and stably, the topology of Xingrui Company is as shown in the figure below:

The company network IP addresses are assigned as follows:

Task 1: Network equipment selection and interconnection (9 points)

① Select appropriate network interconnection equipment for networking and use eNSP to complete. (2 minutes)

②Choose appropriate connection cables to connect network devices. (2 minutes)

③Connect the network cable to each network device interface as needed. Note: The GE0/0/1 port of LSW1 is connected to the GE0/0/1 port of LSW2, and the GE0/0/2 port of LSW1 is connected to the GE0/0/2 port of LSW2. 2 ports are connected, the E0/0/5 port of LSW2 is connected to PC1, the GE0/0/6 port of LSW1 is connected to PC2, and the GE0/0/11 port of LSW1 is connected to PC3. (5 points)

Task 2: Basic switch configuration (9 points)

①Use eNSP to perform basic configuration on LSW1 and LSW2. LSW1 is configured with a host name of S_A, and LSW2 is configured with a host name of S_B. (6 points)

LSW1

[Huawei]sysname S_A

LSW2

[Huawei]sysname S_B

② Configure the login password for the CONSOLE port on LSW1 to be console. (3 points)

[S_A]user-interface console 0
[S_A-ui-console0]authentication-mode password
[S_A-ui-console0]set authentication password cipher console
[S_A-ui-console0]quit

Task 3: Divide vlan (35 points)

① Divide vlan on LSW1 and create vlan10 and vlan30. Divide vlans on LSW2 and create vlan10 and vlan30. On LSW1, GE0/0/6-10 is assigned to vlan10. Assign GE0/0/11-15 to vlan30 on LSW1, and assign E0/0/1-5 to vlan10 on LSW2. (23 points)

LSW1

[S_A]vlan batch 10 30
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_A]port-group vlan10
[S_A-port-group-vlan10]group-member g0/0/6 to g0/0/10
[S_A-port-group-vlan10]port link-type access
[S_A-GigabitEthernet0/0/6]port link-type access
[S_A-GigabitEthernet0/0/7]port link-type access
[S_A-GigabitEthernet0/0/8]port link-type access
[S_A-GigabitEthernet0/0/9]port link-type access
[S_A-GigabitEthernet0/0/10]port link-type access
[S_A-port-group-vlan10]port default vlan 10
[S_A-GigabitEthernet0/0/6]port default vlan 10
[S_A-GigabitEthernet0/0/7]port default vlan 10
[S_A-GigabitEthernet0/0/8]port default vlan 10
[S_A-GigabitEthernet0/0/9]port default vlan 10
[S_A-GigabitEthernet0/0/10]port default vlan 10
[S_A-port-group-vlan10]quit
[S_A]port-group vlan30
[S_A-port-group-vlan30]group-member g0/0/11 to g0/0/15
[S_A-port-group-vlan30]port link-type access
[S_A-GigabitEthernet0/0/11]port link-type access
[S_A-GigabitEthernet0/0/12]port link-type access
[S_A-GigabitEthernet0/0/13]port link-type access
[S_A-GigabitEthernet0/0/14]port link-type access
[S_A-GigabitEthernet0/0/15]port link-type access
[S_A-port-group-vlan30]port default vlan 30
[S_A-GigabitEthernet0/0/11]port default vlan 30
[S_A-GigabitEthernet0/0/12]port default vlan 30
[S_A-GigabitEthernet0/0/13]port default vlan 30
[S_A-GigabitEthernet0/0/14]port default vlan 30
[S_A-GigabitEthernet0/0/15]port default vlan 30
[S_A-port-group-vlan30]q
[S_A]

LSW2

[S_B]vlan batch 10 30
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_B]port-group vlan10
[S_B-port-group-vlan10]group-member e0/0/1 to e0/0/5
[S_B-port-group-vlan10]port link-type access
[S_B-Ethernet0/0/1]port link-type access
[S_B-Ethernet0/0/2]port link-type access
[S_B-Ethernet0/0/3]port link-type access
[S_B-Ethernet0/0/4]port link-type access
[S_B-Ethernet0/0/5]port link-type access
[S_B-port-group-vlan10]port default vlan 10
[S_B-Ethernet0/0/1]port default vlan 10
[S_B-Ethernet0/0/2]port default vlan 10
[S_B-Ethernet0/0/3]port default vlan 10
[S_B-Ethernet0/0/4]port default vlan 10
[S_B-Ethernet0/0/5]port default vlan 10
[S_B-port-group-vlan10]q

②Set the interface IP addresses for vlan10 and vlan30 on LSW1. (12 points)

[S_A]int vlanif 10
[S_A-Vlanif10]ip add 192.168.10.254 24
[S_A-Vlanif10]int vlanif 30
[S_A-Vlanif30]ip add 192.168.30.254 24
[S_A-Vlanif30]quit

Task 4: Port aggregation (24 points)

①Create logical port eth-trunk 4 on LSW1, add GE0/0/1 and GE0/0/2 to eth-trunk 4, set it to Trunk mode, and release the corresponding vlan. (9 points)

[S_A]int eth-trunk 4
[S_A-Eth-Trunk4]port link-type trunk
[S_A-Eth-Trunk4]port trunk allow-pass vlan 10 30
[S_A-Eth-Trunk4]quit
[S_A]int g0/0/1
[S_A-GigabitEthernet0/0/1]eth-trunk 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_A-GigabitEthernet0/0/1]int g0/0/2
[S_A-GigabitEthernet0/0/2]eth-trunk 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_A-GigabitEthernet0/0/2]quit
[S_A]

② Create logical port eth-trunk 4 on LSW2, add GE0/0/1 and GE0/0/2 to eth-trunk 4, set it to Trunk mode, and release the corresponding vlan. (9 points)

[S_B]int eth-trunk 4
[S_B-Eth-Trunk4]port link-type trunk
[S_B-Eth-Trunk4]port trunk allow-pass vlan 10 30
[S_B-Eth-Trunk4]quit
[S_B]int g0/0/1
[S_B-GigabitEthernet0/0/1]eth-trunk 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_B-GigabitEthernet0/0/1]int g0/0/2
[S_B-GigabitEthernet0/0/2]eth-trunk 4
Info: This operation may take a few seconds. Please wait for a moment...done.
[S_B-GigabitEthernet0/0/2]quit
[S_B]

③Network connectivity test, configure the IP address of each PC, PC1 can ping other hosts; (6 points)

Configure the network information of the PC:

PC1: 192.168.10.10–255.255.255.0–192.168.10.254

PC2: 192.168.10.20–255.255.255.0–192.168.10.254

PC3: 192.168.30.10–255.255.255.0–192.168.30.254

PC>ping 192.168.10.20

Ping 192.168.10.20: 32 data bytes, Press Ctrl_C to break
From 192.168.10.20: bytes=32 seq=1 ttl=128 time=63 ms
From 192.168.10.20: bytes=32 seq=2 ttl=128 time=31 ms
From 192.168.10.20: bytes=32 seq=3 ttl=128 time=62 ms

--- 192.168.10.20 ping statistics ---
  3 packet(s) transmitted
  3 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 31/52/63 ms

PC>ping 192.168.30.10

Ping 192.168.30.10: 32 data bytes, Press Ctrl_C to break
From 192.168.30.10: bytes=32 seq=1 ttl=127 time=94 ms
From 192.168.30.10: bytes=32 seq=2 ttl=127 time=46 ms
From 192.168.30.10: bytes=32 seq=3 ttl=127 time=63 ms
From 192.168.30.10: bytes=32 seq=4 ttl=127 time=62 ms

--- 192.168.30.10 ping statistics ---
  4 packet(s) transmitted
  4 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 46/66/94 ms

The knowledge points of the article match the official knowledge files, and you can further learn related knowledge. Network skill treeLAN technologyStacking and clustering 41775 people are learning the system