验证 MAC 移动限制是否正常工作
目的
验证 MAC 移动限制是否在交换机上工作。
行动
为 VLAN 配置 MAC 移动限制时,显示以太网交换表中的 MAC 地址。以下示例显示的结果是在 ge-0/0/2 上的两个主机在这些主机的 MAC 地址在 1 秒内移动到其他接口五次以上之后发送的数据包后的结果。VLAN( 员工-vlan)设置为 MAC 移动限制 为 5 ,操作 丢弃:
user@switch> show ethernet-switching table
Ethernet-switching table: 7 entries, 4 learned VLAN MAC address Type Age Interfaces employee-vlan 00:05:85:3A:82:77 Learn 0 ge-0/0/1.0 employee-vlan 00:05:85:3A:82:79 Learn 0 ge-0/0/1.0 employee-vlan 00:05:85:3A:82:80 Learn 0 ge-0/0/2.0 employee-vlan 00:05:85:3A:82:81 Learn 0 ge-0/0/2.0 employee-vlan * Flood - ge-0/0/2.0 employee-vlan * Flood - ge-0/0/2.0
意义
示例输出的最后两行显示,未获知 ge-0/0/2 上两个主机的 MAC 地址,因为主机在 1 秒内从原始接口来回移动超过 5 次。