【关于ensp的bug】关于网传mac地址颠倒学习的现象

lab:

一台交换机下挂两台pc机,分别为pc1和pc2,pc1和pc2的网络规划如下表。

host nameip address/subnet mastMac-addressGateway
PC110.1.1.1/2454-89-98-6A-7B-E1-
PC110.1.1.2/2454-89-98-EA-60-B0-

确保switch的Mac地址表和arp表是空的

<Huawei>dis mac-address 

<Huawei>dis arp all
IP ADDRESS      MAC ADDRESS     EXPIRE(M) TYPE INTERFACE      VPN-INSTANCE      
                                          VLAN 
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Total:0         Dynamic:0       Static:0     Interface:0    

如果mac地址非空使用undo Mac-address

<Huawei>system-view 
[Huawei]undo mac-address 
Info: This operation will delete all MAC address entries except DHCP sticky MAC 
and NAC MAC.

pc1 ping 不存在的ip地址(10.1.1.10)

PC>ping 10.1.1.10

Ping 10.1.1.10: 32 data bytes, Press Ctrl_C to break
From 10.1.1.1: Destination host unreachable
From 10.1.1.1: Destination host unreachable
From 10.1.1.1: Destination host unreachable
From 10.1.1.1: Destination host unreachable
From 10.1.1.1: Destination host unreachable

--- 10.1.1.10 ping statistics ---
  5 packet(s) transmitted
  0 packet(s) received
  100.00% packet loss

swicth

[Huawei]dis mac-address 
MAC address table of slot 0:
-------------------------------------------------------------------------------
MAC Address    VLAN/       PEVLAN CEVLAN Port            Type      LSP/LSR-ID  
               VSI/SI                                              MAC-Tunnel  
-------------------------------------------------------------------------------
5489-986a-7be1 1           -      -      GE0/0/1         dynamic   0/-         
-------------------------------------------------------------------------------
Total matching items on slot 0 displayed = 1 

pc1 ping pc2

PC>ping 10.1.1.2

Ping 10.1.1.2: 32 data bytes, Press Ctrl_C to break
From 10.1.1.2: bytes=32 seq=1 ttl=128 time=46 ms
From 10.1.1.2: bytes=32 seq=2 ttl=128 time=63 ms
From 10.1.1.2: bytes=32 seq=3 ttl=128 time=46 ms
From 10.1.1.2: bytes=32 seq=4 ttl=128 time=63 ms
From 10.1.1.2: bytes=32 seq=5 ttl=128 time=46 ms

--- 10.1.1.2 ping statistics ---
  5 packet(s) transmitted
  5 packet(s) received
  0.00% packet loss
  round-trip min/avg/max = 46/52/63 ms

swicth

[Huawei]dis mac-address
MAC address table of slot 0:
-------------------------------------------------------------------------------
MAC Address    VLAN/       PEVLAN CEVLAN Port            Type      LSP/LSR-ID  
               VSI/SI                                              MAC-Tunnel  
-------------------------------------------------------------------------------
5489-986a-7be1 1           -      -      GE0/0/1         dynamic   0/-         
5489-98ea-60b0 1           -      -      GE0/0/2         dynamic   0/-         
-------------------------------------------------------------------------------
Total matching items on slot 0 displayed = 2 

实验结果并未出现mac地址颠倒的现象,ensp正常。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

JoyceLai

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值