华为HCIA第五节-----stp

1.实验拓扑

华为HCIA第五节-----stp_第1张图片

2.实验要求:

华为HCIA第五节-----stp_第2张图片 

华为HCIA第五节-----stp_第3张图片 

3.实验代码:

 sw1:


sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw1
[sw1]
Mar 30 2023 16:02:37-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]stp m	
[sw1]stp mode s	
[sw1]stp mode stp 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw1]
Mar 30 2023 16:04:07-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]
[sw1]di	
[sw1]display dt	
[sw1]display st	
[sw1]display stp b	
[sw1]display stp brief 
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        ROOT  FORWARDING      NONE
   0    GigabitEthernet0/0/2        ALTE  DISCARDING      NONE
[sw1]st	
[sw1]stp p	
[sw1]stp process	
[sw1]stp priority 0
[sw1]
Mar 30 2023 16:05:27-08:00 sw1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw1]
[sw1]
[sw1]q

sw2:


sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys sw2
[sw2]
Mar 30 2023 16:02:46-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]st	
[sw2]stp ,o	
[sw2]stp mo	
[sw2]stp mode s	
[sw2]stp mode stp 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw2]
Mar 30 2023 16:04:17-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]st	
[sw2]stp p	
[sw2]stp process	
[sw2]stp priority 4096
[sw2]
Mar 30 2023 16:05:37-08:00 sw2 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw2]
[sw2]sa
     ^
Error: Unrecognized command found at '^' position.
[sw2]
[sw2]q
save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Mar 30 2023 16:06:35-08:00 sw2 %%01CFM/4/SAVE(l)[0]:The user chose Y when decidi
ng whether to save the configuration to the device.

sw3:


sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sw3
        ^
Error: Unrecognized command found at '^' position.
[Huawei]sys sw3
[sw3]
Mar 30 2023 16:02:57-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 4, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw3]st	
[sw3]stp mo	
[sw3]stp mode st	
[sw3]stp mode stp 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw3]
Mar 30 2023 16:04:27-08:00 sw3 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 5, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw3]q

4.实验结果:

 华为HCIA第五节-----stp_第4张图片

 

你可能感兴趣的:(HCIA,华为,网络)