Use the show mac address-table virtual-network or show mac address-table extended commands to
display the MAC addresses learned on a VXLAN virtual network or learned
on both VXLAN virtual networks and legacy VLANs.
Use the clear mac address-table dynamic virtual-network and clear mac address-table dynamic nve remote-vtep commands to delete address entries from the MAC address virtual-network
table.
NOTE The existing show mac address-table and clear mac-address table commands do not display and clear MAC addresses in a virtual-network
bridge domain even when access ports in a switch-scoped VLAN are assigned
to a VXLAN virtual network.
Display VXLAN MAC addresses
Table 1. Display VXLAN
MAC addressesDisplay VXLAN MAC addresses
Command
Description
show mac address-table virtual-network
[vn-id | local | remote | static |
dynamic | address mac-address | interface
{ethernet node/slot/port:subport |
port-channel number}]
Displays all MAC addresses learned
on all or a specified virtual network.
vn-id: Displays only information about
the specified virtual network.
local: Displays only locally-learned MAC addresses.
remote: Displays only remote MAC addresses.
static: Displays only static MAC addresses.
dynamic: Displays only dynamic MAC
addresses.
address mac-address: Displays only information about the
specified MAC address.
interface ethernet node/slot/port:subport: Displays only
MAC addresses learned on the specified interface.
interface port-channel number: Displays only MAC addresses learned on the specified
port channel.
show mac address-table
extended [address mac-address | interface
{ethernet node/slot/port:subport |
port-channel number} | static | dynamic]
Displays MAC addresses learned on
all VLANs and VXLANs (default).
address mac-address: Displays only information
about the specified MAC address.
interface
ethernet node/slot/port:subport: Displays only MAC addresses learned on the specified interface.
interface port-channel number: Displays only MAC addresses learned on
the specified port channel.
static: Displays only static MAC addresses.
dynamic: Displays only dynamic MAC addresses.
show mac address-table nve
{vxlan-vni vn-id | remote-vtep ip-address}
vxlan-vni vn-id: Displays MAC addresses learned
on NVE from the specified VXLAN virtual-network ID.
remote-vtep ip-address: Displays MAC addresses learned on NVE from the specified remote
VTEP.
show mac address-table
count virtual-network [dynamic | local | remote | static | interface
{ethernet node/slot/port:subport |
port-channel number} | vn-id]
Displays the number of MAC addresses
learned on all virtual networks (default).
dynamic: Displays the number of dynamic MAC addresses learned
on all or a specified virtual network.
local: Displays the number of locally-learned MAC addresses.
remote: Displays the number of remote
MAC addresses learned on all or a specified virtual network.
static: Displays the number of static
MAC addresses learned on all or a specified virtual network.
interface ethernet node/slot/port:subport: Displays the number of MAC addresses learned on the
specified interface.
interface port-channel number: Displays the number of MAC
addresses learned on the specified port channel.
vn-id: Displays
the number of MAC addresses learned on the specified virtual network.
show mac address-table
count nve {remote-vtep ip-address |
vxlan-vni vn-id}
Displays the number of MAC addresses
learned for a virtual network or from a remote VTEP.
remote-vtep ip-address: Displays the number of MAC addresses learned on the specified
remote VTEP.
vxlan-vni vn-id: Displays the number of MAC addresses learned
on the specified VXLAN virtual network.
show mac address-table
count extended [interface ethernet node/slot/port:subport | port-channel number]}
Displays the number of MAC addresses
learned on all VLANs and VXLAN virtual networks.
interface ethernet node/slot/port:subport: Displays the number of MAC addresses learned from VLANs
and VXLANs on the specified interface.
port-channel number: Displays
the number of MAC addresses learned from VLANs and VXLANs on the specified
port channel.
Clear VXLAN MAC addresses
Table 2. Clear VXLAN
MAC addressesClear VXLAN MAC addresses
Command
Description
clear mac address-table
dynamic virtual-network [interface {ethernet node/slot/port:subport | port-channel number} | local | vn-id [address mac-address | local]]
Clears all MAC addresses learned
on all VXLAN virtual networks.
interface ethernet node/slot/port:subport: Clears only
MAC addresses learned on the specified interface.
interface port-channel number: Clears only MAC addresses learned on the specified port
channel.
local: Clears only locally-learned
MAC addresses.
vn-id: Clears only the MAC addresses learned on the specified
virtual network.
vn-id address mac-address: Clears only the MAC address learned on the specified
virtual network.
clear mac address-table
dynamic nve remote-vtep ip-address
Clears all MAC addresses learned
from the specified remote VTEP.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\