4.21的作业

AR1

<Huawei>
May  8 2024 16:33:08-08:00 Huawei %%01IFPDT/4/IF_STATE(l)[0]:Interface GigabitEt
hernet0/0/0 has turned into UP state.
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname 
                ^
Error:Incomplete command found at '^' position.
[Huawei]sysname R1
[R1]
[R1]
[R1]in    
[R1]info-center
[R1]interface g 0/0/0.1
[R1-GigabitEthernet0/0/0.1]ip ad    
[R1-GigabitEthernet0/0/0.1]ip address 192.168.1.1 25
[R1-GigabitEthernet0/0/0.1]
[R1-GigabitEthernet0/0/0.1]do    
[R1-GigabitEthernet0/0/0.1]dot1q te    
[R1-GigabitEthernet0/0/0.1]dot1q termination vid 2
May  8 2024 16:35:34-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP 
on the interface GigabitEthernet0/0/0.1 has entered the UP state. 
[R1-GigabitEthernet0/0/0.1]
[R1-GigabitEthernet0/0/0.1]
[R1-GigabitEthernet0/0/0.1]arp b    
[R1-GigabitEthernet0/0/0.1]arp broadcast  e    
[R1-GigabitEthernet0/0/0.1]arp broadcast  enable 
[R1-GigabitEthernet0/0/0.1]
[R1-GigabitEthernet0/0/0.1]dis    
[R1-GigabitEthernet0/0/0.1]discard    
[R1-GigabitEthernet0/0/0.1]display this    
[R1-GigabitEthernet0/0/0.1]display this 
[V200R003C00]
#
interface GigabitEthernet0/0/0.1
 dot1q termination vid 2
 ip address 192.168.1.1 255.255.255.128 
 arp broadcast enable
#
return
[R1-GigabitEthernet0/0/0.1]q
[R1]
[R1]
[R1]in    
[R1]info-center
[R1]interface g 0/0/0.2
[R1-GigabitEthernet0/0/0.2]ip ad    
[R1-GigabitEthernet0/0/0.2]ip address 192.168.1.129 25
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]do    
[R1-GigabitEthernet0/0/0.2]dot1q te    
[R1-GigabitEthernet0/0/0.2]dot1q termination e    
[R1-GigabitEthernet0/0/0.2]dot1q termination e
                                             ^
Error: Unrecognized command found at '^' position.
[R1-GigabitEthernet0/0/0.2]do    
[R1-GigabitEthernet0/0/0.2]dot1q te    
[R1-GigabitEthernet0/0/0.2]dot1q termination vid 3
May  8 2024 16:37:18-08:00 R1 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IP 
on the interface GigabitEthernet0/0/0.2 has entered the UP state. 
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]arp b    
[R1-GigabitEthernet0/0/0.2]arp broadcast e    
[R1-GigabitEthernet0/0/0.2]arp broadcast enable 
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]dis     
[R1-GigabitEthernet0/0/0.2]discard
[R1-GigabitEthernet0/0/0.2]display this
[V200R003C00]
#
interface GigabitEthernet0/0/0.2
 dot1q termination vid 3
 ip address 192.168.1.129 255.255.255.128 
 arp broadcast enable
#
return
[R1-GigabitEthernet0/0/0.2]q
[R1]
[R1]
[R1]
[R1]
[R1]
[R1]dhcp e    
[R1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[R1]
[R1]
[R1]ip po    
[R1]ip policy-based-route
[R1]ip pool vlan2
Info: It's successful to create an IP address pool.
[R1-ip-pool-vlan2]
[R1-ip-pool-vlan2]
[R1-ip-pool-vlan2]net`    
[R1-ip-pool-vlan2]net    
[R1-ip-pool-vlan2]netbios-type
[R1-ip-pool-vlan2]network 192.168.1.0 ma    
[R1-ip-pool-vlan2]network 192.168.1.0 mask 25
[R1-ip-pool-vlan2]ga    
[R1-ip-pool-vlan2]gateway-list 192.168.1.1
[R1-ip-pool-vlan2]dn    
[R1-ip-pool-vlan2]dns-list 114.114.114.114 8.8.8.8
[R1-ip-pool-vlan2]
[R1-ip-pool-vlan2]
[R1-ip-pool-vlan2]q
[R1]
[R1]in    
[R1]info-center     
[R1]interface g 0/0/0.1
[R1-GigabitEthernet0/0/0.1]dh    
[R1-GigabitEthernet0/0/0.1]dhcp se    
[R1-GigabitEthernet0/0/0.1]dhcp select g    
[R1-GigabitEthernet0/0/0.1]dhcp select global 
[R1-GigabitEthernet0/0/0.1]dis    
[R1-GigabitEthernet0/0/0.1]discard    
[R1-GigabitEthernet0/0/0.1]display this    
[R1-GigabitEthernet0/0/0.1]display this 
[V200R003C00]
#
interface GigabitEthernet0/0/0.1
 dot1q termination vid 2
 ip address 192.168.1.1 255.255.255.128 
 arp broadcast enable
 dhcp select global
#
return
[R1-GigabitEthernet0/0/0.1]
[R1-GigabitEthernet0/0/0.1]q
[R1]
[R1]
[R1]ip po    
[R1]ip policy-based-route
[R1]ip pool vlan3
Info: It's successful to create an IP address pool.
[R1-ip-pool-vlan3]ne    
[R1-ip-pool-vlan3]netbios-type
[R1-ip-pool-vlan3]network 192.168.1.128 mask25
                                        ^
Error:Too many parameters found at '^' position.
[R1-ip-pool-vlan3]network 192.168.1.128 mask 25
[R1-ip-pool-vlan3]ga    
[R1-ip-pool-vlan3]gateway-list 192.168.1.129
[R1-ip-pool-vlan3]
[R1-ip-pool-vlan3]dn    
[R1-ip-pool-vlan3]dns-list 114.114.114.114 8.8.8.8
[R1-ip-pool-vlan3]
[R1-ip-pool-vlan3]q
[R1]
[R1]
[R1]in    
[R1]info-center
[R1]interface g 0/0/0.2
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]dh    
[R1-GigabitEthernet0/0/0.2]dhcp s    
[R1-GigabitEthernet0/0/0.2]dhcp select g    
[R1-GigabitEthernet0/0/0.2]dhcp select global 
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]
[R1-GigabitEthernet0/0/0.2]q
[R1]
[R1]
[R1]q
<R1>save
  The current configuration will be written to the device. 
  Are you sure to continue? (y/n)[n]:y
  It will take several minutes to save configuration file, please wait.......
  Configuration file had been saved successfully
  Note: The configuration file will take effect after being activated
<R1>
 

LSW1

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys    
[Huawei]sysname SW1
[SW1]
May  8 2024 16:05:11-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]
[SW1]
[SW1]
[SW1]v    
[SW1]vlan2
     ^
Error: Unrecognized command found at '^' position.
[SW1]v    
[SW1]vlan 2
[SW1-vlan2]q
[SW1]v
May  8 2024 16:06:11-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.
     ^
Error:Ambiguous command found at '^' position.
[SW1]v    
[SW1]vlan 3
[SW1-vlan3]
[SW1-vlan3]
[SW1-vlan3]
May  8 2024 16:06:31-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-vlan3]q
[SW1]
[SW1]
[SW1]in    
[SW1]info-center    
[SW1]interface g 0/0/3
[SW1-GigabitEthernet0/0/3]
[SW1-GigabitEthernet0/0/3]p    
[SW1-GigabitEthernet0/0/3]port l    
[SW1-GigabitEthernet0/0/3]port link-    
[SW1-GigabitEthernet0/0/3]port link-flap    
[SW1-GigabitEthernet0/0/3]port link-type a    
[SW1-GigabitEthernet0/0/3]port link-type access 
[SW1-GigabitEthernet0/0/3]
[SW1-GigabitEthernet0/0/3]
May  8 2024 16:07:41-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 7, the c
hange loop count is 0, and the maximum number of records is 4095.p    
[SW1-GigabitEthernet0/0/3]port d    
[SW1-GigabitEthernet0/0/3]port discard v    
[SW1-GigabitEthernet0/0/3]port discard vlan 2
                                       ^
Error: Unrecognized command found at '^' position.
[SW1-GigabitEthernet0/0/3]port d    
[SW1-GigabitEthernet0/0/3]port discard    
[SW1-GigabitEthernet0/0/3]port default vlan 2
[SW1-GigabitEthernet0/0/3]
May  8 2024 16:09:11-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 8, the c
hange loop count is 0, and the maximum number of records is 4095.
[SW1-GigabitEthernet0/0/3]
[SW1-GigabitEthernet0/0/3]
[SW1-GigabitEthernet0/0/3]
[SW1-GigabitEthernet0/0/3]q
[SW1]
[SW1]in    
[SW1]info-center    
[SW1]interface g 0/0/4
[SW1-GigabitEthernet0/0/4]po    
[SW1-GigabitEthernet0/0/4]port l    
[SW1-GigabitEthernet0/0/4]port link-    
[SW1-GigabitEthernet0/0/4]port link-flap    
[SW1-GigabitEthernet0/0/4]port link-type a    
[SW1-GigabitEthernet0/0/4]port link-type access 
[SW1-GigabitEthernet0/0/4]
[SW1-GigabitEthernet0/0/4]
May  8 2024 16:09:51-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 9, the c
hange loop count is 0, and the maximum number of records is 4095.po    
[SW1-GigabitEthernet0/0/4]port d    
[SW1-GigabitEthernet0/0/4]port discard    
[SW1-GigabitEthernet0/0/4]port default vlan 3
[SW1-GigabitEthernet0/0/4]
[SW1-GigabitEthernet0/0/4]
[SW1-GigabitEthernet0/0/4]
May  8 2024 16:10:31-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 10, the 
change loop count is 0, and the maximum number of records is 4095.
[SW1-GigabitEthernet0/0/4]
[SW1-GigabitEthernet0/0/4]
[SW1-GigabitEthernet0/0/4]q
[SW1]
[SW1]
[SW1]
[SW1]in    
[SW1]info-center    
[SW1]interface g 0/0/2
[SW1-GigabitEthernet0/0/2]p    
[SW1-GigabitEthernet0/0/2]port l    
[SW1-GigabitEthernet0/0/2]port link-    
[SW1-GigabitEthernet0/0/2]port link-flap    
[SW1-GigabitEthernet0/0/2]port link-type t    
[SW1-GigabitEthernet0/0/2]port link-type trunk 
[SW1-GigabitEthernet0/0/2]
May  8 2024 16:11:21-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 11, the 
change loop count is 0, and the maximum number of records is 4095.po    
[SW1-GigabitEthernet0/0/2]
[SW1-GigabitEthernet0/0/2]po    
[SW1-GigabitEthernet0/0/2]port t    
[SW1-GigabitEthernet0/0/2]port trunk a    
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/2]
May  8 2024 16:12:11-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 12, the 
change loop count is 0, and the maximum number of records is 4095.
[SW1-GigabitEthernet0/0/2]in    
[SW1-GigabitEthernet0/0/2]in    
[SW1-GigabitEthernet0/0/2]in    
[SW1-GigabitEthernet0/0/2]in    
[SW1-GigabitEthernet0/0/2]in    
[SW1-GigabitEthernet0/0/2]q
[SW1]in    
[SW1]info-center    
[SW1]interface    
[SW1]info-center    
[SW1]interface g 0/0/1
[SW1-GigabitEthernet0/0/1]
[SW1-GigabitEthernet0/0/1]
[SW1-GigabitEthernet0/0/1]po    
[SW1-GigabitEthernet0/0/1]port l    
[SW1-GigabitEthernet0/0/1]port link-    
[SW1-GigabitEthernet0/0/1]port link-flap    
[SW1-GigabitEthernet0/0/1]port link-type t    
[SW1-GigabitEthernet0/0/1]port link-type trunk 
[SW1-GigabitEthernet0/0/1]
May  8 2024 16:13:01-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 13, the 
change loop count is 0, and the maximum number of records is 4095.
[SW1-GigabitEthernet0/0/1]
[SW1-GigabitEthernet0/0/1]po    
[SW1-GigabitEthernet0/0/1]port t    
[SW1-GigabitEthernet0/0/1]port trunk a    
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/1]
[SW1-GigabitEthernet0/0/1]
May  8 2024 16:13:21-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 14, the 
change loop count is 0, and the maximum number of records is 4095.
May  8 2024 16:18:15-08:00 SW1 %%01PHY/1/PHY(l)[0]:    GigabitEthernet0/0/2: cha
nge status to down
May  8 2024 16:18:16-08:00 SW1 %%01PHY/1/PHY(l)[1]:    GigabitEthernet0/0/2: cha
nge status to up User interface con0 is available

Please Press ENTER.

<SW1>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]:
May  8 2024 16:49:59-08:00 SW1 %%01CFM/4/SAVE(l)[0]:The user chose Y when decidi
ng whether to save the configuration to the device.
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<SW1>
LSW2

<Huawei>sys    
<Huawei>system-view 
Enter system view, return user view with Ctrl+Z.
[Huawei]sy    
[Huawei]sysname SW2
[SW2]
May  8 2024 16:13:44-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]
[SW2]ion    
[SW2]in    
[SW2]info-center    
[SW2]vlan 2
[SW2-vlan2]
[SW2-vlan2]q
[SW2]vlan
May  8 2024 16:14:14-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. 
          ^
Error:Incomplete command found at '^' position.
[SW2]vlan3
     ^
Error: Unrecognized command found at '^' position.
[SW2]vlan 3
[SW2-vlan3]q
[SW2]
[SW2]
[SW2]
May  8 2024 16:14:34-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]in    
[SW2]info-center    
[SW2]interface g 0/0/2
[SW2-GigabitEthernet0/0/2]po    
[SW2-GigabitEthernet0/0/2]port l    
[SW2-GigabitEthernet0/0/2]port link-    
[SW2-GigabitEthernet0/0/2]port link-flap    
[SW2-GigabitEthernet0/0/2]port link-type a    
[SW2-GigabitEthernet0/0/2]port link-type access 
[SW2-GigabitEthernet0/0/2]po    
[SW2-GigabitEthernet0/0/2]port
May  8 2024 16:15:14-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 7, the c
hange loop count is 0, and the maximum number of records is 4095.
                               ^
Error:Incomplete command found at '^' position.
[SW2-GigabitEthernet0/0/2]po    
[SW2-GigabitEthernet0/0/2]port d    
[SW2-GigabitEthernet0/0/2]port discard    
[SW2-GigabitEthernet0/0/2]port default vlan 2
[SW2-GigabitEthernet0/0/2]
May  8 2024 16:15:34-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 8, the c
hange loop count is 0, and the maximum number of records is 4095.q
[SW2]
[SW2]
[SW2]in    
[SW2]info-center    
[SW2]interface g 0/0/3
[SW2-GigabitEthernet0/0/3]po    
[SW2-GigabitEthernet0/0/3]port l    
[SW2-GigabitEthernet0/0/3]port link-    
[SW2-GigabitEthernet0/0/3]port link-flap    
[SW2-GigabitEthernet0/0/3]port link-type a    
[SW2-GigabitEthernet0/0/3]port link-type access 
[SW2-GigabitEthernet0/0/3]po    
[SW2-GigabitEthernet0/0/3]port
May  8 2024 16:16:04-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 9, the c
hange loop count is 0, and the maximum number of records is 4095.
                               ^
Error:Incomplete command found at '^' position.
[SW2-GigabitEthernet0/0/3]po    
[SW2-GigabitEthernet0/0/3]port d    
[SW2-GigabitEthernet0/0/3]port discard    
[SW2-GigabitEthernet0/0/3]port default vlan 3
[SW2-GigabitEthernet0/0/3]
May  8 2024 16:16:24-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 10, the 
change loop count is 0, and the maximum number of records is 4095.
[SW2-GigabitEthernet0/0/3]
[SW2-GigabitEthernet0/0/3]q
[SW2]
[SW2]in    
[SW2]info-center     
[SW2]info-center    
[SW2]info-center     
[SW2]in    
[SW2]info-center    
[SW2]interface g 0/0/1
[SW2-GigabitEthernet0/0/1]po    
[SW2-GigabitEthernet0/0/1]port l    
[SW2-GigabitEthernet0/0/1]port link-    
[SW2-GigabitEthernet0/0/1]port link-flap    
[SW2-GigabitEthernet0/0/1]port link-type t    
[SW2-GigabitEthernet0/0/1]port link-type trunk 
[SW2-GigabitEthernet0/0/1]
May  8 2024 16:16:54-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 11, the 
change loop count is 0, and the maximum number of records is 4095.po    
[SW2-GigabitEthernet0/0/1]port t    
[SW2-GigabitEthernet0/0/1]port trunk a    
[SW2-GigabitEthernet0/0/1]port trunk allow-pass v    
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all    
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[SW2-GigabitEthernet0/0/1]
May  8 2024 16:17:14-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 12, the 
change loop count is 0, and the maximum number of records is 4095.
[SW2-GigabitEthernet0/0/1] User interface con0 is available

Please Press ENTER.

<SW2>sa    
<SW2>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]:
May  8 2024 16:50:42-08:00 SW2 %%01CFM/4/SAVE(l)[0]:The user chose Y when decidi
ng whether to save the configuration to the device.
Now saving the current configuration to the slot 0.
Save the configuration successfully.
<SW2>

  • 5
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值