API Guide
表. 47: 显示 VXLAN MAC 地址
命令 说明
show mac address-table virtual-network [vn-id |
local | remote | static | dynamic | address mac-
address | interface {ethernet node/slot/
port:subport | port-channel number}]
显示在所有或指定虚拟网络上获知的所有 MAC 地址。
vn-id:仅显示有关指定虚拟网络的信息。
local:仅显示本地获知的 MAC 地址。
remote:仅显示远程 MAC 地址。
static:仅显示静态 MAC 地址。
dynamic:仅显示动态 MAC 地址。
address mac-address:仅显示有关指定 MAC 地址的信
息。
interface ethernet node/slot/port:subport:
仅显示在指定接口上获知的 MAC 地址。
interface port-channel number:仅显示在指定端口
通道上获知的 MAC 地址。
show mac address-table extended [address mac-
address | interface {ethernet node/slot/
port:subport | port-channel number} | static |
dynamic]
显示在所有 VLAN 和 VXLAN 上获知的 MAC 地址(默认
值)。
address mac-address:仅显示有关指定 MAC 地址的信
息。
interface ethernet node/slot/port:subport:
仅显示在指定接口上获知的 MAC 地址。
interface port-channel number:仅显示在指定端口
通道上获知的 MAC 地址。
static:仅显示静态 MAC 地址。
dynamic:仅显示动态 MAC 地址。
show mac address-table nve {vxlan-vni vn-id |
remote-vtep ip-address}
vxlan-vni vn-id:显示在 NVE 上从指定的 VXLAN 虚拟
网络 ID 中获知的 MAC 地址。
remote-vtep ip-address:显示在 NVE 上从指定的远
程 VTEP 获知的 MAC 地址。
show mac address-table count virtual-network
[dynamic | local | remote | static | interface
{ethernet node/slot/port:subport | port-channel
number} | vn-id]
显示在所有虚拟网络上获知的 MAC 地址的数量(默认
值)。
dynamic:显示在所有或指定虚拟网络上获知的动态 MAC
地址的数量。
local:显示本地获知的 MAC 地址的数量。
remote:显示在所有或指定虚拟网络上获知的远程 MAC 地
址的数量。
static:显示在所有或指定虚拟网络上获知的静态 MAC 地
址的数量。
interface ethernet node/slot/port:subport:
显示在指定接口上获知的 MAC 地址的数量。
interface port-channel number:显示在指定端口通
道上获知的 MAC 地址的数量。
vn-id:显示指定虚拟网络上获知的 MAC 地址的数量。
show mac address-table count nve {remote-vtep ip-
address | vxlan-vni vn-id}
显示为虚拟网络或远程 VTEP 获知的 MAC 地址的数量。
remote-vtep ip-address:显示在指定的远程 VTEP 上
获知的 MAC 地址的数量。
838 VXLAN