3
Table 2 Command output
Field
Description
Interface
Layer 3 interface name.
Owner
VSI name.
Link ID
The interface's link ID on the VSI.
State
Physical state of the interface:
•
Up
—The interface is physically up.
•
Down
—The interface is physically down.
Type
L2VPN type of the interface. This field displays
VSI
for the VXLAN feature.
display l2vpn mac-address
Use
display l2vpn mac-address
to display MAC address entries for VSIs.
Syntax
display l2vpn mac-address
[
vsi
vsi-name
]
[
dynamic
]
[
count
]
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
vsi
vsi-name
: Specifies a VSI name, a case-sensitive string of 1 to 31 characters. If you do not
specify a VSI, this command displays MAC address entries for all VSIs.
dynamic
: Specifies dynamic MAC address entries learned in the data plane. If you do not specify
this keyword, the command displays all MAC address entries, including:
•
Dynamic remote- and local-MAC entries.
•
Manually added static remote-MAC entries.
VXLAN does not support static local-MAC entries.
count
: Displays the number of MAC address entries. If you do not specify this keyword, the
command displays detailed information about MAC address entries.
Examples
# Display MAC address entries for all VSIs.
<Sysname> display l2vpn mac-address
MAC Address State VSI Name Link ID/Name Aging
0000-0000-000b Static vpn1 Tunnel10 NotAging
0000-0000-000c Dynamic vpn1 Tunnel60 Aging
0000-0000-000d Dynamic vpn1 Tunnel99 Aging
--- 3 mac address(es) found ---
# Display the total number of MAC address entries in all VSIs.