Note ensp communication network topology - two switches

First, the operating mode

ensp has two modes, <Huawei> system mode, [Huawei] command mode.

When configuring the device, only the command mode to configure the device.

Command completion with the tab key.

Second, the interface specification

In the network topology, the general plan vlan (virtual local area network) to divide network segments can be isolated from other segments of the broadcast domain.

Configure the host IP address, subnet mask

PC1-->192.168.10.1/24

PC2-->192.168.10.2/24

PC3-->192.168.20.1/24

PC4-->192.168.20.2/24

 

PC5-->192.168.10.3/24

PC6-->192.168.10.4/24

PC7-->192.168.20.3/24

PC8-->192.168.20.4/24

This relatively simple network topology, communication as follows:

1, the first to enter command mode, create vlan 10 20 in the first switch, the second creating vlan 10 20 in the switch.

2, an input command int e0 / 0/1 enters port 1, port link-type access is provided to port 1 Access Type, port default vlan 10 command so that the port is incorporated vlan 10.

3, (note incorporated different VLAN) operation setting PC2,3,4,5,6,7,8 same interface type.

4, enter the command int g0 / 0/2 access port, the port set as trunk model, then input port trunk allow-pass vlan 10 20 or port trunk allow-pass vlan all allowed vlan through port within the switch, the other the method of the same set of switches (note the different needs of vlan).

5, the connectivity test command ping. The results show: vlan with the host 10 can ping each other, a different barrier.

Guess you like

Origin www.cnblogs.com/dl115885/p/11783602.html