华为eNSP实验——Hybrid实验

华为Hybrid实验

在这里插入图片描述
LSW1:
The device is running!

u t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sw1
[sw1]user-interface console 0
[sw1-ui-console0]idle-timeout 0 0
[sw1-ui-console0]q
[sw1]v b 2 3 10
Info: This operation may take a few seconds. Please wait for a moment…done.
[sw1]int e0/0/1
[sw1-Ethernet0/0/1]p h p v 1
[sw1-Ethernet0/0/1]p h u v 1 2
[sw1-Ethernet0/0/1]un sh
Info: Interface Ethernet0/0/1 is not shutdown.
[sw1-Ethernet0/0/1]int e0/0/2
[sw1-Ethernet0/0/2]p h p v 1
[sw1-Ethernet0/0/2]p h u v 1 2
[sw1-Ethernet0/0/2]un sh
Info: Interface Ethernet0/0/2 is not shutdown.
[sw1-Ethernet0/0/2]int e0/0/3
[sw1-Ethernet0/0/3]p h p v 10
[sw1-Ethernet0/0/3]p h u v 3 10
[sw1-Ethernet0/0/3]un sh
Info: Interface Ethernet0/0/3 is not shutdown.
[sw1-Ethernet0/0/3]q
[sw1]int g0/0/1
[sw1-GigabitEthernet0/0/1]p h p v 1
[sw1-GigabitEthernet0/0/1]p h u v 1 2
[sw1-GigabitEthernet0/0/1]p h t v 3 10
[sw1-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw1-GigabitEthernet0/0/1]q

LSW2:
The device is running!
####################################
u t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname sw2
[sw2]user-interface co
[sw2]user-interface console 0
[sw2-ui-console0]idle-timeout 0 0
[sw2-ui-console0]q
[sw2]v b 2 3 10
Info: This operation may take a few seconds. Please wait for a moment…done.
[sw2]int e0/0/1
[sw2-Ethernet0/0/1]p h p v 2
[sw2-Ethernet0/0/1]p h u v 1 2
[sw2-Ethernet0/0/1]un sh
Info: Interface Ethernet0/0/1 is not shutdown.
[sw2-Ethernet0/0/1]int e0/0/2
[sw2-Ethernet0/0/2]p h p v 3
[sw2-Ethernet0/0/2]p h u v 3 10
[sw2-Ethernet0/0/2]un sh
Info: Interface Ethernet0/0/2 is not shutdown.
[sw2-Ethernet0/0/2]q
[sw2]int g0/0/1
[sw2-GigabitEthernet0/0/1]p h p v 1
[sw2-GigabitEthernet0/0/1]p h u v 1 2
[sw2-GigabitEthernet0/0/1]p h t v 3 10
[sw2-GigabitEthernet0/0/1]un sh
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[sw2-GigabitEthernet0/0/1]q

各个PC机的IP地址和子网掩码设置如下(由于都是同网段的PC机连接,所以可以设置网关,设置完成后需要应用下才能使用):
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

在命令行输入“ping(其他PC机的 IP地址)”,可知PC1与PC2通,与PC3不通,与PC4通,与PC5不通;PC2与PC3不通,与PC4通,与PC5不通;PC3与PC4不通,与PC5通;PC4与PC5不通。

通过Hybrid接口连接华为设备时,心法口诀:
出口检查:查untag表 有标 脱 无标 查tag 有 放通 无 丢掉

进口检查:查有无标签 有标 查tag表 有标 放通 无标 丢弃
无标 打PVID后 放通

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值