Introductory configuration experiment of the switch

Introductory configuration experiment of the switch

Tip: It is recommended to understand the network layer of the computer network before reading!


1 Experiment purpose:

  • Master the difference between various operating modes of the switch command line, and the switching between modes;

  • Master the global basic configuration of the switch;

  • Master the common configuration parameters of switch ports;

  • Will check the switch system and configuration information, master the current working status of the switch

  • The command line interface is the mainstream interface in the switch debugging interface, and basically all network devices support the command line interface. Mainstream network equipment suppliers at home and abroad use very similar command line interfaces to facilitate users to debug equipment from different manufacturers.


2 Experimental principle:

(1) There are basically two management methods of switches: in-band management and out-of-band management. The laboratory manages the switch through the Aux port of the switch, which belongs to out-of-band management, does not occupy the network interface of the switch, and performs network management through the laboratory management network. The basic principle topology is shown in the figure below.

insert image description here

(2) The command line operation mode of H3C mainly includes: user view: the default view after the device is started, and can view the basic running status and statistical information after startup; system view: the view for configuring the global general parameters of the system; routing protocol view: configuration View of routing protocol parameters; interface view: view for configuring interface parameters; user line view: view for configuring attributes of each user who logs in to the device. But as a switch, routing cannot be configured. Use <Ctrl+Z> to return directly to the user view from any view. The command line of the switch supports the functions of obtaining help information, abbreviating commands, auto-completing commands, and shortcut keys.


3 Experimental content and steps

3.1 The basic configuration of the switch, showing the current configuration information

Related commands: display current-configuration

insert image description here


3.2 The basic configuration of the switch, showing the configuration information that has been saved so far

Related commands: display saved-configuration

insert image description here


3.3 Basic configuration of the switch, display interface information

Related commands: display current-configuration interface
insert image description here


3.4 Build a simple local area network with a switch

Related operations: Connect the two PCs in the laboratory to the same switch through the network cable, and configure the ip addresses belonging to the same network segment for the two PCs respectively. In this experiment, the ip addresses of the two PCs are 192.168.100.5/24 and 192.168.100.6/24. Verify connectivity with the ping command.
insert image description here

insert image description here


Guess you like

Origin blog.csdn.net/xu_yushu/article/details/124639906