交换接口实验

[sw1]vl    
[sw1]vlan 3
[sw1-vlan3]
Jan 27 2024 22:24:33-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-vlan3]q
[sw1]int e 0
Jan 27 2024 22:25:25-08:00 sw1 %%01PHY/1/PHY(l)[0]:    Ethernet0/0/1: change sta
tus to up
[sw1-Eth-Trunk0]
[sw1-Eth-Trunk0]q
[sw1]int e 0/0/2
[sw1-Ethernet0/0/2]por    
[sw1-Ethernet0/0/2]port lin    
[sw1-Ethernet0/0/2]port link-t    
[sw1-Ethernet0/0/2]port link-type ac    
[sw1-Ethernet0/0/2]port link-type access 
[sw1-Ethernet0/0/2]po    
[sw1-Ethernet0/0/2]port
Jan 27 2024 22:26:23-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.
                        ^
Error:Incomplete command found at '^' position.
[sw1-Ethernet0/0/2]po    
[sw1-Ethernet0/0/2]port de    
[sw1-Ethernet0/0/2]port default vl    
[sw1-Ethernet0/0/2]port default vlan 3
[sw1]int e 0/0/1
[sw1-Ethernet0/0/1]por    
[sw1-Ethernet0/0/1]porth    
[sw1-Ethernet0/0/1]port h    
[sw1-Ethernet0/0/1]port hybrid  pv    
[sw1-Ethernet0/0/1]port hybrid  pvid vl    
[sw1-Ethernet0/0/1]port hybrid  pvid vlan 3

[sw1]int e 0/0/1
[sw1-Ethernet0/0/1]por    
[sw1-Ethernet0/0/1]port h    
[sw1-Ethernet0/0/1]port hybrid un    
[sw1-Ethernet0/0/1]port hybrid untagged vl    
[sw1-Ethernet0/0/1]port hybrid untagged vlan 1 3

[sw2]vlan    
[sw2]vlan 2
[sw2-vlan2]q
[sw2]int 
Jan 27 2024 22:28:03-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]int e 0/0/2
[sw2-Ethernet0/0/2]por    
[sw2-Ethernet0/0/2]port lin    
[sw2-Ethernet0/0/2]port link-t    
[sw2-Ethernet0/0/2]port link-type ac    
[sw2-Ethernet0/0/2]port link-type access 
[sw2-Ethernet0/0/2]po    
[sw2-Ethernet0/0/2]port de    
[sw2-Ethernet0/0/2]port default vl
[sw2-Ethernet0/0/2]port default vlan 2
[sw2]int e 0/0/1
[sw2-Ethernet0/0/1]por    
[sw2-Ethernet0/0/1]port h    
[sw2-Ethernet0/0/1]port hybrid vl    
[sw2-Ethernet0/0/1]port hybrid ta    
[sw2-Ethernet0/0/1]port hybrid tagged 
                                      ^
Error:Incomplete command found at '^' position.
[sw2-Ethernet0/0/1]port hybrid tagged vl    
[sw2-Ethernet0/0/1]port hybrid tagged vlan 1 2
[sw2-Ethernet0/0/1]int e 0/0/1
[sw2-Ethernet0/0/1]por    
[sw2-Ethernet0/0/1]port h    
[sw2-Ethernet0/0/1]port hybrid un    
[sw2-Ethernet0/0/1]port hybrid untagged vl    
[sw2-Ethernet0/0/1]port hybrid untagged vlan 1

[Huawei]vl    
[Huawei]vlan 4
[Huawei-vlan4]
[Huawei]int e 0/0/2
[Huawei-Ethernet0/0/2]por    
[Huawei-Ethernet0/0/2]port lin    
[Huawei-Ethernet0/0/2]port link-t    
[Huawei-Ethernet0/0/2]port link-type ac    
[Huawei-Ethernet0/0/2]port li    
[Huawei-Ethernet0/0/2]port link-tac
[Huawei]int e 0/0/2
[Huawei-Ethernet0/0/2]por    
[Huawei-Ethernet0/0/2]port in    
[Huawei-Ethernet0/0/2]port lin    
[Huawei-Ethernet0/0/2]port link-t    
[Huawei-Ethernet0/0/2]port link-type ac    
[Huawei-Ethernet0/0/2]port link-type access 

[Huawei-Ethernet0/0/2]po    
[Huawei-Ethernet0/0/2]port de    
[Huawei-Ethernet0/0/2]port default vlan 4
[Huawei]int e 0/0/1
[Huawei-Ethernet0/0/1]por    


[Huawei-Ethernet0/0/1]port h    
[Huawei-Ethernet0/0/1]port hybrid vl

Huawei-Ethernet0/0/1]port hybrid pvid vlan 4
[Huawei]int e 0/0/1
[Huawei-Ethernet0/0/1]por    
[Huawei-Ethernet0/0/1]porth    
[Huawei-Ethernet0/0/1]port h    
[Huawei-Ethernet0/0/1]port hybrid un    
[Huawei-Ethernet0/0/1]port hybrid untagged vl    
[Huawei-Ethernet0/0/1]port hybrid untagged vlan 1 4
 

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值