This is the sixth day of my participation in the November Gwen Challenge. See details: The Last Gwen Challenge 2021.

Basic network connection and VRP basic operations

【 Objective 】

Understand and master the basic usage of simulator networking. Understand and master the packet capture and viewing methods in simulator environment. Master the basic configuration of switches

【 Network Topology 】

Network topology connection, as shown in Figure 1.

[Configuration Planning]

The IP addresses of PC1 and PC2 are 192.168.1.1/24 and 192.168.1.2/24 respectively. The default gateway is 192.168.1.254.

【 exercise 1】

1. Construct the topology as shown in Figure 1;

2. Set IP parameters for PC1 and PC2 as required.

3. Ping PC2 on PC1 to check the connectivity.

4. Enable packet capture on LSW1, ping PC2 on PC1, view captured packets on the Wireshark, and analyze the communication process.

First ARP broadcasts who is 192.168.1.2, then the machine 192.168.1.2 is on responds and sends the MAC address, then 192.168.1.1 sends the request to 192.168.1.2, and 192.168.1.2 sends the reply to 192.168.1.1.

【 exercise 2】

1. Configure the name of the switch as SwitchA.

2. Set the console password to 123 and the remote login password to 456, and require that the privileged password be saved in encrypted form in the configuration file.

3. Save the current switch configuration in the vrpvfg. CFG file.

4. View the contents of the saved-configuration and current-configuration files.

5. View the commands that can be executed in the user view and system view.

User view commands:

The command meaning
cd Change current directory
check Check information
clear Clear information
clock Specify the system clock
cluster Run cluster command
cluster-ftp FTP command of cluster
compare Compare function
configuration Configuration interlock
copy Copy from one file to another
debugging Enable system debugging functions
delete Delete a file
dir List files on a file system

System view Commands:

The command meaning
aaa AAA
acl Specify ACL configuration information
alarm Enter the alarm view
anti-attack Specify anti-attack configurations
application-apperceive Set application-apperceive information
arp ARP module
arp-miss Specify arp suppress configuration information, default is disabled
authentication Authentication
autoconfig AutoConfig configuration information
bfd Specify BFD(Bidirectional Forwarding Detection configuration information
bgp Border Gateway Protocol(BGP)

6. Use the command to close the switch interface that connects PC0. Then, open the interface again.