验证 MAC 移动限制是否正常工作
目的
验证交换机上的 MAC 移动限制是否正常工作。
行动
为 VLAN 配置 MAC 移动限制后,在以太网交换表中显示 MAC 地址。以下示例显示了 ge-0/0/2 上的两台主机在 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 秒内从原始接口来回移动了五次以上。