2021-04-22

 

 

 

 

 

 

 

 

2021-04-22_第1张图片

 

 

题目要求

LSW1 ;

r state BACKUP changed to MASTER, because of protocol timer expired. (Interface=
Vlanif2, VrId=1, InetType=IPv4)    
[sw1-Vlanif2]vrrp
Apr 22 2021 15:39:16-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 21, the 
change loop count is 0, and the maximum number of records is 4095.v    
[sw1-Vlanif2]vrrp v    
[sw1-Vlanif2]vrrp vrid 1 t    
[sw1-Vlanif2]vrrp vrid 1 tr    
[sw1-Vlanif2]vrrp vrid 1 track int    
[sw1-Vlanif2]vrrp vrid 1 track interface g    
[sw1-Vlanif2]vrrp vrid 1 track interface GigabitEthernet0/0/1
[sw1-Vlanif2]q
[sw1]dh
Apr 22 2021 15:40:16-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 22, the 
change loop count is 0, and the maximum number of records is 4095.cp    
[sw1]dhcp en    
[sw1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[sw1]
Apr 22 2021 15:40:26-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 23, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1]ip pol    
[sw1]ip poo    
[sw1]ip pool a
Info:It's successful to create an IP address pool.
[sw1-ip-pool-a]gat    
[sw1-ip-pool-a]gateway-list 
Apr 22 2021 15:40:46-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 24, the 
change loop count is 0, and the maximum number of records is 4095
                            ^
Error:Incomplete command found at '^' position.
[sw1-ip-pool-a]net    
[sw1-ip-pool-a]network 172.16.1.0 ma    
[sw1-ip-pool-a]network 172.16.1.0 mask 24
[sw1-ip-pool-a]gat    
[sw1-ip-pool-a]gateway-list 1
Apr 22 2021 15:41:16-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 25, the 
change loop count is 0, and the maximum number of renetwork 172.16.1.0 mask 24
Error:Please delete the network section first.
[sw1-ip-pool-a]gatw    
[sw1-ip-pool-a]gat    
[sw1-ip-pool-a]gateway-list 172.168.1.100
Error:The network section should be within the subnet of the pool.
[sw1-ip-pool-a]dns    
[sw1-ip-pool-a]dns-list 114.114.114.114
[sw1-ip-pool-a]
Apr 22 2021 15:43:26-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 26, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-ip-pool-a]q
[sw1]int vl 1
[sw1-Vlanif1]dhcp s    
[sw1-Vlanif1]dhcp sel    
[sw1-Vlanif1]dhcp select g    
[sw1-Vlanif1]dhcp select global 
[sw1-Vlanif1]int vl 
Apr 22 2021 15:44:26-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 27, the 
change loop count is 0, and the maximum number of records is 4095.2
[sw1-Vlanif2]dhcp s     
[sw1-Vlanif2]dhcp se    
[sw1-Vlanif2]dhcp select g    
[sw1-Vlanif2]dhcp select global 
[sw1-Vlanif2]
Apr 22 2021 15:44:46-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 28, the 
change loop count is 0, and the maximum number of records is 4095.q
[sw1]g
[sw1]
Apr 22 2021 15:45:26-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 29, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1]
[sw1]int    
[sw1]interface g    
[sw1]interface GigabitEthernet0/0/1
[sw1-GigabitEthernet0/0/1]undo por    
[sw1-GigabitEthernet0/0/1]undo ports    
[sw1-GigabitEthernet0/0/1]undo portswitch 
Apr 22 2021 15:45:53-08:00 sw1 %%01PHY/1/PHY(l)[5]:    GigabitEthernet0/0/1: cha
nge status to down
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
[sw1-GigabitEthernet0/0/1]
Apr 22 2021 15:45:54-08:00 sw1 %%01PHY/1/PHY(l)[6]:    GigabitEthernet0/0/1: cha
nge status to up
Apr 22 2021 15:45:56-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 30, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-GigabitEthernet0/0/1]vlan 3
[sw1-vlan3]ip add    
[sw1-vlan3]ip add    
[sw1-vlan3]ip add
Apr 22 2021 15:46:16-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 31, the 
change loop count is 0, and the maximum number of records is 4095.
              ^
Error: Unrecognized command found at '^' position.
[sw1-vlan3]ip add    
[sw1-vlan3]q
[sw1]inter vl 3
[sw1-Vlanif3]
Apr 22 2021 15:46:47-08:00 sw1 %%01IFNET/4/IF_STATE(l)[7]:Interface Vlanif3 has 
turned into UP state.
[sw1-Vlanif3]ip add    
[sw1-Vlanif3]ip address 172.16.0.1 30
[sw1-Vlanif3]
Apr 22 2021 15:47:09-08:00 sw1 %%01IFNET/4/LINK_STATE(l)[8]:The line protocol IP
 on the interface Vlanif3 has entered the UP state.
Apr 22 2021 15:47:16-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 32, the 
change loop count is 0, and the maximum number of records is 4095.
[sw1-Vlanif3]int    
[sw1-Vlanif3]interface g    
[sw1-Vlanif3]interface g    
[sw1-Vlanif3]q
[sw1]inter    
[sw1]interface g    
[sw1]interface GigabitEthernet0/0/1
[sw1-GigabitEthernet0/0/1]port     
[sw1-GigabitEthernet0/0/1]portswitch
Apr 22 2021 15:48:17-08:00 sw1 %%01PHY/1/PHY(l)[9]:    GigabitEthernet0/0/1: cha
nge status to down
[sw1-GigabitEthernet0/0/1]
Apr 22 2021 15:48:18-08:00 sw1 %%01PHY/1/PHY(l)[10]:    GigabitEthernet0/0/1: ch
ange status to upp
Error: The interface is already a L2 interface.
[sw1-GigabitEthernet0/0/1]
Apr 22 2021 15:48:26-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 33, the 
change loop count is 0, and the maximum number of records is 4095.po
Error: The interface is already a L2 interface.
[sw1-GigabitEthernet0/0/1]port    
[sw1-GigabitEthernet0/0/1]port l    
[sw1-GigabitEthernet0/0/1]port link-t    
[sw1-GigabitEthernet0/0/1]port link-type a    
[sw1-GigabitEthernet0/0/1]port link-type access 
[sw1-GigabitEthernet0/0/1]p    
[sw1-GigabitEthernet0/0/1]port de    
[sw1-GigabitEthernet0/0/1]port default v    
[sw1-GigabitEthernet0/0/1]port default vlan 
Apr 22 2021 15:48:46-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 34, the 
change loop count is 0, and the maximum number of records is 4095.3
[sw1-GigabitEthernet0/0/1]po    
[sw1-GigabitEthernet0/0/1]port d    
[sw1-GigabitEthernet0/0/1]port discard
Apr 22 2021 15:48:56-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 35, the 
change loop count is 0, and the maximum number of records i
                               ^
Error:Incomplete command found at '^' position.
[sw1-GigabitEthernet0/0/1]port de    
[sw1-GigabitEthernet0/0/1]port default v    
[sw1-GigabitEthernet0/0/1]port default vlan  3
[sw1-GigabitEthernet0/0/1]q
[sw1]osp    
[sw1]ospf 10 rot    
[sw1]ospf 10 rou    
[sw1]ospf 10 router-id 2.2.2.2
[sw1-ospf-10]ar    
[sw1-ospf-10]area 
Apr 22 2021 15:49:36-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 36, the 
change loop count is 0, and the maximum number of records is 4095.0
[sw1-ospf-10-area-0.0.0.0]net    
[sw1-ospf-10-area-0.0.0.0]network 17
Apr 22 2021 15:49:46-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 37, the 
change loop count is 0, and the maximum number of records is 4095.2.168.
                                  ^
Error: Wrong parameter found at '^' position.
[sw1-ospf-10-area-0.0.0.0]natw    
[sw1-ospf-10-area-0.0.0.0]natw    
[sw1-ospf-10-area-0.0.0.0]net    
[sw1-ospf-10-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[sw1-ospf-10-area-0.0.0.0]
Apr 22 2021 15:50:26-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 38, the 
change loop count is 0, and the maximum number of records is 4095.q
[sw1-ospf-10]dip    
[sw1-ospf-10]dis    
[sw1-ospf-10]display osp    
[sw1-ospf-10]display ospf p    
[sw1-ospf-10]display ospf peer b    
[sw1-ospf-10]display ospf peer brief 

     OSPF Process 10 with Router ID 2.2.2.2
          Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 ----------------------------------------------------------------------------
[sw1-ospf-10] User interface con0 is available

Please Press ENTER.

User interface con0 is available

Please Press ENTER.
 

SWL2

[sw2-GigabitEthernet0/0/4]
[sw2-GigabitEthernet0/0/4]
[sw2-GigabitEthernet0/0/4]
[sw2-GigabitEthernet0/0/4]
[sw2-GigabitEthernet0/0/4]
[sw2-GigabitEthernet0/0/4]q
[sw2]p    
[sw2]por    
[sw2]port l    
[sw2]port lin    
[sw2]port link    
[sw2]port link t    
[sw2]port link     
[sw2]port \
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]
[sw2-port-group-\]q
[sw2]
[sw2]q
q User interface con0 is available

Please Press ENTER.





Apr 22 2021 16:15:16-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 33, the 
change loop count is 0, and the maximum number of records is 4095.sys
Enter system view, return user view with Ctrl+Z.
[sw2]interf    
[sw2]interface g    
[sw2]interface GigabitEthernet0/0/4
[sw2-GigabitEthernet0/0/4]pot    
[sw2-GigabitEthernet0/0/4]pot l    
[sw2-GigabitEthernet0/0/4]por    
[sw2-GigabitEthernet0/0/4]port l    
[sw2-GigabitEthernet0/0/4]port link-t    
[sw2-GigabitEthernet0/0/4]port link-t    
[sw2-GigabitEthernet0/0/4]port link-t    
[sw2-GigabitEthernet0/0/4]port link-tq
[sw2-port-group-link-tq]q
[sw2]interf    
[sw2]interface 
Apr 22 2021 16:16: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 34, the 
change loop count is 0, and the maximum number of records is 4095.
               ^
Error:Incomplete command found at '^' position.
[sw2]inter    
[sw2]interface g    
[sw2]interface GigabitEthernet0/0/1
[sw2-GigabitEthernet0/0/1]undo     
[sw2-GigabitEthernet0/0/1]undo p    
[sw2-GigabitEthernet0/0/1]undo port    
[sw2-GigabitEthernet0/0/1]undo ports    
[sw2-GigabitEthernet0/0/1]undo portswitch 
Apr 22 2021 16:17:15-08:00 sw2 %%01PHY/1/PHY(l)[0]:    GigabitEthernet0/0/1: cha
nge status to down
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]
[sw2-GigabitEthernet0/0/1]
Apr 22 2021 16:17:16-08:00 sw2 %%01PHY/1/PHY(l)[1]:    GigabitEthernet0/0/1: cha
nge status to down
Apr 22 2021 16:17:16-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 35, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-GigabitEthernet0/0/1]
Apr 22 2021 16:17:17-08:00 sw2 %%01PHY/1/PHY(l)[2]:    GigabitEthernet0/0/1: cha
nge status to up
[sw2-GigabitEthernet0/0/1]vla    
[sw2-GigabitEthernet0/0/1]vlan 3
[sw2-vlan3]i
Apr 22 2021 16:17:36-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 36, the 
change loop count is 0, and the maximum number of records is 4095.n
           ^
Error: Unrecognized command found at '^' position.
[sw2-vlan3]
[sw2-vlan3]int g0/0/1
[sw2-GigabitEthernet0/0/1]p    
[sw2-GigabitEthernet0/0/1]port    
[sw2-GigabitEthernet0/0/1]port l    
[sw2-GigabitEthernet0/0/1]port link-t    
[sw2-GigabitEthernet0/0/1]port link-t    
[sw2-GigabitEthernet0/0/1]port link-t    
[sw2-GigabitEthernet0/0/1]port link-ty    
[sw2-GigabitEthernet0/0/1]port link-type a    
[sw2-GigabitEthernet0/0/1]port link-type a    
[sw2-GigabitEthernet0/0/1]q
[sw2]interf    
[sw2]interface g    
[sw2]interface GigabitEthernet0/0/1
[sw2-GigabitEthernet0/0/1]port    
[sw2-GigabitEthernet0/0/1]port     
[sw2-GigabitEthernet0/0/1]q
[sw2]inter v 3
[sw2-Vlanif3]
Apr 22 2021 16:18:48-08:00 sw2 %%01IFNET/4/IF_STATE(l)[3]:Interface Vlanif3 has 
turned into UP state.
[sw2-Vlanif3]ip add    
[sw2-Vlanif3]ip address 172.16.0.1 30
[sw2-Vlanif3]
Apr 22 2021 16:19:05-08:00 sw2 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
 on the interface Vlanif3 has entered the UP state.
[sw2-Vlanif3]
Apr 22 2021 16:19:06-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 37, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-Vlanif3]interf    
[sw2-Vlanif3]interface g    
[sw2-Vlanif3]interface g0/0/1
[sw2-GigabitEthernet0/0/1]port    
[sw2-GigabitEthernet0/0/1]port l    
[sw2-GigabitEthernet0/0/1]port link-t    
[sw2-GigabitEthernet0/0/1]port link-t
[sw2-port-group-link-t]
[sw2-port-group-link-t]
[sw2-port-group-link-t]
[sw2-port-group-link-t]q
[sw2]
Apr 22 2021 16:19: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 38, the 
change loop count is 0, and the maximum number of records is 4095.osp
     ^
Error:Ambiguous command found at '^' position.
[sw2]ospf 1
[sw2-ospf-1]q
[sw2]osp    
[sw2]ospf
Apr 22 2021 16:20:26-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 39, the 
change loop count is 0, and the maximum number of records is 4095.
[sw2-ospf-1] ospf 10     
[sw2-ospf-1] ospf 10 rou    
[sw2-ospf-1]q
[sw2]ospf 10 rout    
[sw2]ospf 10 router-id 3.3.3.3
[sw2-ospf-10]ar    
[sw2-ospf-10]area 0
[sw2-ospf-10-area-0.0.0.0]
Apr 22 2021 16:21:06-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 41, the 
change loop count is 0, and the maximum number of records is 4095.netw    
[sw2-ospf-10-area-0.0.0.0]network 172.16.0.0 0.0.255.255
[sw2-ospf-10-area-0.0.0.0]
Apr 22 2021 16:21:26-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 42, the 
change loop count is 0, and the maximum number of records is 4095.d
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[5]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neigh
borEvent=HelloReceived, NeighborPreviousState=Down, NeighborCurrentState=Init)
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[6]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neigh
borEvent=2WayReceived, NeighborPreviousState=Init, NeighborCurrentState=2Way)i
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[7]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neigh
borEvent=AdjOk?, NeighborPreviousState=2Way, NeighborCurrentState=ExStart)
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[8]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neigh
borEvent=NegotiationDone, NeighborPreviousState=ExStart, NeighborCurrentState=Ex
change)
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[9]:Neighbor changes ev
ent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neigh
borEvent=ExchangeDone, NeighborPreviousState=Exchange, NeighborCurrentState=Load
ing)
Apr 22 2021 16:21:27-08:00 sw2 %%01OSPF/4/NBR_CHANGE_E(l)[10]:Neighbor changes e
vent: neighbor status changed. (ProcessId=10, NeighborAddress=172.16.2.254, Neig
hborEvent=LoadingDone, NeighborPreviousState=Loading, NeighborCurrentState=Full)
s
                              ^
Error:Incomplete command found at '^' position.
[sw2-ospf-10-area-0.0.0.0]
[sw2-ospf-10-area-0.0.0.0]disp    
[sw2-ospf-10-area-0.0.0.0]display ospf    
[sw2-ospf-10-area-0.0.0.0]display ospf p    
[sw2-ospf-10-area-0.0.0.0]display ospf peer  b    
[sw2-ospf-10-area-0.0.0.0]display ospf peer  brief 

     OSPF Process 1 with Router ID 172.16.1.254
          Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 ----------------------------------------------------------------------------

     OSPF Process 10 with Router ID 3.3.3.3
          Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 0.0.0.0          Vlanif2                          2.2.2.2          Full        
 ----------------------------------------------------------------------------
[sw2-ospf-10-area-0.0.0.0]

SW3

The device is running!

sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sw3
[sw3]
Apr 22 2021 11:53:20-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. User interface con0 is available

Please Press ENTER.




vlan 2
     ^
Error: Unrecognized command found at '^' position.
sys
Enter system view, return user view with Ctrl+Z.
[sw3]vlan 3
[sw3-vlan3]vlan 2
[sw3-vlan2]
Apr 22 2021 16:28:07-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 6, the c
hange loop count is 0, and the maximum number of records is 4095.
[sw3-vlan2]interf    
[sw3-vlan2]q
[sw3]interf    
[sw3]interface G    
[sw3]interface GigabitEthernet0/0/1
[sw3-GigabitEthernet0/0/1]POT    
[sw3-GigabitEthernet0/0/1] PORT    
[sw3-GigabitEthernet0/0/1]port L    
[sw3-GigabitEthernet0/0/1]port link-T    
[sw3-GigabitEthernet0/0/1]port link-type T    
[sw3-GigabitEthernet0/0/1]port link-type trunk 
[sw3-GigabitEthernet0/0/1]P    
[sw3-GigabitEthernet0/0/1]port
Apr 22 2021 16:28: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 7, the c
hange loop count is 0, and the maximum number of records is 4095.     
[sw3-GigabitEthernet0/0/1]port T    
[sw3-GigabitEthernet0/0/1]port trunk     
[sw3-GigabitEthernet0/0/1]port trunk a    
[sw3-GigabitEthernet0/0/1]port trunk allow-pass v    
[sw3-GigabitEthernet0/0/1]port trunk allow-pass vlan a    
[sw3-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[sw3-GigabitEthernet0/0/1]q
[sw3]
Apr 22 2021 16:29:17-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 8, the c
hange loop count is 0, and the maximum number of records is 4095.in    
[sw3]inter    
[sw3]interface g    
[sw3]interface GigabitEthernet0/0/2
[sw3-GigabitEthernet0/0/2]port    
[sw3-GigabitEthernet0/0/2]port l    
[sw3-GigabitEthernet0/0/2]port link-t    
[sw3-GigabitEthernet0/0/2]port link-type a    
[sw3-GigabitEthernet0/0/2]port link-type access 
[sw3-GigabitEthernet0/0/2]p    
[sw3-GigabitEthernet0/0/2]port d    
[sw3-GigabitEthernet0/0/2]port d
Apr 22 2021 16:30:07-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 9, the c
hange loop count is 0, and the maximum number of records is 4095.e    
[sw3-GigabitEthernet0/0/2]port default v    
[sw3-GigabitEthernet0/0/2]port default vlan 1
[sw3-GigabitEthernet0/0/2]q
[sw3]interf    
[sw3]interface g    
[sw3]interface GigabitEthernet 0/0/3
[sw3-GigabitEthernet0/0/3]po    
[sw3-GigabitEthernet0/0/3]port l    
[sw3-GigabitEthernet0/0/3]port link-t    
[sw3-GigabitEthernet0/0/3]port link-type a    
[sw3-GigabitEthernet0/0/3]port link-type access 
[sw3-GigabitEthernet0/0/3]po    
[sw3-GigabitEthernet0/0/3]port 
Apr 22 2021 16:30:47-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 10, the 
change loop count is 0, and the maximum number of records is 4095.d    
[sw3-GigabitEthernet0/0/3]port de    
[sw3-GigabitEthernet0/0/3]port default  v    
[sw3-GigabitEthernet0/0/3]port default  vlan 2
[sw3-GigabitEthernet0/0/3]
Apr 22 2021 16:30: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 11, the 
change loop count is 0, and the maximum number of records is 4095.
[sw3-GigabitEthernet0/0/3]
[sw3-GigabitEthernet0/0/3]q
[sw3]stp    
[sw3]stp en    
[sw3]stp enable 
[sw3]stp    
[sw3]stp  mo    
[sw3]stp  mode ms    
[sw3]stp  mode mstp 
[sw3]mst    
[sw3]stp r    
[sw3]stp region-configuration
[sw3-mst-region]stp    
[sw3-mst-region]re    
[sw3-mst-region]region-name aaa
[sw3-mst-region]ins    
[sw3-mst-region]instance 1 v    
[sw3-mst-region]instance 1 vlan 1
[sw3-mst-region]ins    
[sw3-mst-region]instance  2 v    
[sw3-mst-region]instance  2 vlan 2
[sw3-mst-region]q
[sw3]stp r    
[sw3]stp region-configuration
[sw3-mst-region]act    
[sw3-mst-region]active r    
[sw3-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw3-mst-region]dis
Apr 22 2021 16:32: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 12, the 
change loop count is 0, and the maximum number of records is 4095.p    
[sw3-mst-region]display stp b    
[sw3-mst-region]display stp brief 
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        ROOT  FORWARDING      NONE
   0    GigabitEthernet0/0/2        DESI  DISCARDING      NONE
   0    GigabitEthernet0/0/3        DESI  DISCARDING      NONE
   0    GigabitEthernet0/0/4        ALTE  DISCARDING      NONE
   1    GigabitEthernet0/0/1        ROOT  FORWARDING      NONE
   1    GigabitEthernet0/0/2        DESI  DISCARDING      NONE
   1    GigabitEthernet0/0/4        ALTE  DISCARDING      NONE
   2    GigabitEthernet0/0/1        ROOT  FORWARDING      NONE
   2    GigabitEthernet0/0/3        DESI  DISCARDING      NONE
[sw3-mst-region] User interface con0 is available

Please Press ENTER.

The device is running!


sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sw4
[sw4]
Apr 22 2021 11:53:30-08:00 sw4 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. User interface con0 is available

Please Press ENTER.


sys
Enter system view, return user view with Ctrl+Z.
[sw4]sys
         ^
Error:Incomplete command found at '^' position.
[sw4]
[sw4]vlan    
[sw4]vlan 2
[sw4-vlan2]
Apr 22 2021 16:33:17-08:00 sw4 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.
[sw4-vlan2]q
[sw4]interf    
[sw4]interface g    
[sw4]interface GigabitEthernet0/0/4
[sw4-GigabitEthernet0/0/4]interface GigabitEthernet0/0/1
[sw4-GigabitEthernet0/0/1]p    
[sw4-GigabitEthernet0/0/1]port l    
[sw4-GigabitEthernet0/0/1]port link-t    
[sw4-GigabitEthernet0/0/1]port link-type t    
[sw4-GigabitEthernet0/0/1]port link-type trunk 
[sw4-GigabitEthernet0/0/1]por    
[sw4-GigabitEthernet0/0/1]port t    
[sw4-GigabitEthernet0/0/1]port trunk a    
[sw4-GigabitEthernet0/0/1]port trunk allow-pass v    
[sw4-GigabitEthernet0/0/1]port trunk allow-pass vlan 2
Apr 22 2021 16:34:37-08:00 sw4 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 4095a    
[sw4-GigabitEthernet0/0/1]port trunk allow-pass vlan all 
[sw4-GigabitEthernet0/0/1]q
[sw4]inter
Apr 22 2021 16:34:47-08:00 sw4 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.f    
[sw4]interface g    
[sw4]interface GigabitEthernet0/0/3
[sw4-GigabitEthernet0/0/3]port    
[sw4-GigabitEthernet0/0/3]port t    
[sw4-GigabitEthernet0/0/3]port l    
[sw4-GigabitEthernet0/0/3]port link-t    
[sw4-GigabitEthernet0/0/3]port link-type a    
[sw4-GigabitEthernet0/0/3]port link-type access 
[sw4-GigabitEthernet0/0/3]por     
[sw4-GigabitEthernet0/0/3]port d    
[sw4-GigabitEthernet0/0/3]port de    
[sw4-GigabitEthernet0/0/3]port default  v    
[sw4-GigabitEthernet0/0/3]port default  vlan 
Apr 22 2021 16:35:27-08:00 sw4 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.     
[sw4-GigabitEthernet0/0/3]port default  vlan 2
[sw4-GigabitEthernet0/0/3]q
[sw4]
Apr 22 2021 16:35:37-08:00 sw4 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.
[sw4]
[sw4]
[sw4]interf    
[sw4]interface G    
[sw4]interface GigabitEthernet0/0/2
[sw4-GigabitEthernet0/0/2]PORT    
[sw4-GigabitEthernet0/0/2]port L    
[sw4-GigabitEthernet0/0/2]port link-T    
[sw4-GigabitEthernet0/0/2]port link-type A    
[sw4-GigabitEthernet0/0/2]port link-type access 
[sw4-GigabitEthernet0/0/2]PO
Apr 22 2021 16:36:07-08:00 sw4 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.RT    
[sw4-GigabitEthernet0/0/2]porT DE    
[sw4-GigabitEthernet0/0/2]porT default V    
[sw4-GigabitEthernet0/0/2]porT default vlan 2
[sw4-GigabitEthernet0/0/2]Q
[sw4]STP     
[sw4]stp 
Apr 22 2021 16:36:27-08:00 sw4 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.    
[sw4]stp EN    
[sw4]stp enable 
[sw4]STP M    
[sw4]STP mode MS    
[sw4]STP mode mstp 
[sw4]STP R    
[sw4]STP region-configuration
[sw4-mst-region]RE    
[sw4-mst-region]region-name aaa    
[sw4-mst-region]region-name aaa
[sw4-mst-region]inst    
[sw4-mst-region]instance 1 v    
[sw4-mst-region]instance 1 vlan 1
[sw4-mst-region]ins    
[sw4-mst-region]instance 2 v    
[sw4-mst-region]instance 2 vlan 2
[sw4-mst-region]act    
[sw4-mst-region]active r    
[sw4-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[sw4-mst-region]
Apr 22 2021 16:37:57-08:00 sw4 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. User interface con0 is available

Please Press ENTER.
 

 

 

屏幕截图

2021-04-22_第2张图片

 

SW4 

 

你可能感兴趣的:(经验分享)