API Guide

Identifier GUID-6B246BDB-B3E0-4C1E-AEDE-D3C60D163912
Version 2
Status Translation approved
show mac address-table extended
显示在所有 VLAN VXLAN 上了解到的 MAC 地址。
语法
show mac address-table extended [address mac-address | interface {ethernet
node/slot/port:subport | port-channel number} | static | dynamic]
参数
address mac-
address
仅显示有关指定 MAC 地址的信息。
interface
ethernet node/
slot/
port[:subport]
仅显示在指定接口上学习的 MAC 地址。
interface
port-channel
number
仅显示在指定端口通道上学习的 MAC 地址。
static
仅显示静态 MAC 地址。
dynamic
仅显示动态 MAC 地址。
默认 未配置
命令模式
EXEC
使用情况信息
默认情况下从远程 VTEP 进行 MAC 学习已启用。使用此命令以验证是否在交换机上的 VXLAN 虚拟网络和
VLAN 上学习 MAC 地址。show mac address-table 命令仅显示在 LAN 端口和 VLAN 接口上学习的 MAC
地址。
示例
OS10# show mac address-table extended
Virtual-Network VlanId MAC Address Type Interface/Remote-VTEP
----------------------------------------------------------------------------
- 500 00:00:00:00:11:11 dynamic ethernet1/1/31:1
- 500 00:00:00:00:44:44 dynamic port-channel1000
- 1 aa:bb:cc:dd:f0:03 static port-channel1000
- 500 aa:bb:cc:dd:f0:03 static port-channel1000
- 4000 aa:bb:cc:dd:f0:03 static port-channel1000
10000 00:00:00:00:00:11 dynamic ethernet1/1/31:1
10000 100 00:00:00:00:00:44 dynamic port-channel1000
10000 100 00:00:00:00:00:55 dynamic port-channel10
10000 00:00:00:00:00:77 dynamic VxLAN(32.1.1.1)
20000 300 00:00:00:00:00:22 dynamic port-channel100
20000 300 00:00:00:00:00:33 dynamic port-channel1000
20000 300 00:00:00:00:00:66 dynamic port-channel10
20000 00:00:00:00:00:88 dynamic VxLAN(32.1.1.1)
支持的版本
10.4.2.0 or later
Identifier GUID-2B269FF9-17FD-43AD-B9DC-7C5CA5316A65
Version 2
Status Translation approved
show mac address-table nve
显示在 VXLAN 虚拟网络或远程 VXLAN 隧道端点上学习的 MAC 地址。
语法
show mac address-table nve {vxlan-vni vni | remote-vtep ip-address}
参数
vxlan-vni vni
显示已在指定的 VXLAN 虚拟网络上学习的 MAC 地址 1 16,777,215
remote-vtep
ip-address
显示从指定的远程 VTEP 学习的 MAC 地址。
VXLAN 853