Mac-Address Timer·························································································································7 - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

interface interface-type interface-number: Displays MAC address learning status of the specified
interface. interface-type interface-number specifies an interface by its type and number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI Configuration in the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays the lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256
characters.
Description
Use the display mac-address command to display information about the MAC address table.
Note that:
If you execute this command without specifying any parameters, this command displays
information of all MAC address entries on the device, including unicast MAC address entries and
static multicast MAC address entries.
If you execute this command using only the vlan keyword or the count keyword, or only these two
keywords, the command output will include information of unicast MAC address entries as well as
that of static multicast MAC address entries.
Related commands: mac-address (system view), mac-address (Ethernet interface view), and
mac-address timer (MAC Address Table in the Layer 2 – LAN Switching Command Reference);
display mac-address multicast and display mac-address multicast count (Multicast Routing and
Forwarding in the IP Multicast Command Reference).
Examples
# Display the MAC address table entry for MAC address 000f-e201-0101.
<Sysname> display mac-address 000f-e201-0101
MAC ADDR
000f-e201-0101
--- 1 mac address(es) found ---
Table 7-1 display mac-address command output description
Field
MAC ADDR
VLAN ID
VLAN ID
STATE
1
Learned
MAC address
ID of the VLAN to which the MAC address belongs
PORT INDEX
GigabitEthernet2/0/1
Description
7-2
AGING TIME
AGING

Advertisement

Table of Contents
loading

Table of Contents