验证远程 VTEP 的 MAC 学习
目的
验证本地 VTEP 是否正在从远程 VTEP 学习 MAC 地址。
行动
user@switch> show ethernet-switching table
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static
SE - statistics enabled, NM - non configured MAC, R - remote PE MAC)
Ethernet switching table : 2 entries, 2 learned
Routing instance : default-switch
Vlan MAC MAC Age Logical
name address flags interface
VLAN1 00:00:00:ff:ff:ff D - vtep.12345
VLAN1 00:10:94:00:00:02 D - xe-0/0/0.0
意义
输出显示从远程 VTEP 学习的 MAC 地址(除了在正常第 2 层接口上学习的地址)。它还显示了远程 VTEP 接口的逻辑名称(vtep.12345 在上述输出中)。