H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – MAC Address Table
H3C S7500 Series Ethernet Switches
Chapter 1 MAC Address Table Configuration
Commands
1-3
Table 1-1 Description on the display-option argument
Value Description
mac-address [ vlan vlan-id ]
Displays information about a specified MAC
address entry.
{ static | dynamic } [ interface
interface-type interface-number ]
[ vlan vlan-id ] [ count ]
Displays information about dynamic or static
address entries.
interface interface-type
interface-number [ vlan vlan-id ]
[ count ]
Displays information about the MAC address
entries concerning a specified port.
vlan vlan-id [ count ]
Displays information about the MAC address
entries concerning a specified VLAN.
count
Displays the total number of the MAC
address entries maintained by the switch.
mac-address: MAC address.
static: Displays static MAC address entries. (A static MAC address entry does not age
out.)
dynamic: Displays dynamic MAC address entries. (A dynamic MAC address entry
ages with time.)
interface-type: Port type.
interface-number: Port number.
vlan-id: VLAN ID. This argument ranges from 1 to 4,094.
count: Displays only the total number of the MAC address entries.
Description
Use the display mac-address command to display information about MAC address
entries in a MAC address table, including: MAC address, VLAN and port corresponding
to the MAC address, the type (static or dynamic) of a MAC address entry, and aging
time.
Examples
# Display information about MAC address 000f-e201-0101.
<H3C> display mac-address 000f-e201-0101
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
000f-e201-0101 1 Learned Ethernet2/0/11 AGING
# Display the MAC address entries for the port Ethernet 2/0/4.
<H3C> display mac-address interface Ethernet 2/0/4
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
00e0-0112-9a86 2 Config static Ethernet2/0/4 NOAGED