
5
Views
Any view
Predefined user roles
network-admin
network-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.
•
Remote-MAC entries advertised through BGP EVPN.
•
Manually added static remote-MAC entries.
•
Remote-MAC entries issued through OpenFlow.
•
Remote-MAC entries issued through OVSDB.
count
: Displays the number of MAC address entries.
verbose
: Displays detailed information about MAC address entries.
Usage guidelines
If you do not specify the
count
or
verbose
keyword, this command displays brief information
about MAC address entries.
Examples
# Display brief information about 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
00e0-fc09-9993 EVPN vpna Tunnel0 NotAging
0001-0001-0003 EVPN vpna Tunnel0 NotAging
Tunnel1 NotAging
00e0-fc09-0001 EVPN vpna 0 NotAging
0002-0003-0004 Multiport vpna GE1/0/2 NotAging
Tunnel8 NotAging
Tunnel9 NotAging
0100-5e00-0003 Multicast vpnb GE1/0/3 NotAging
Tunnel12 NotAging
--- 8 mac address(es) found ---
# Display the total number of MAC address entries in all VSIs.
<Sysname> display l2vpn mac-address count
8 mac address(es) found
Table 3 Command output
Field
Description
State
Entry state: