3com S7906E 参考指南
1-3
The above information indicates that the aging time of dynamic entries in the MAC address table is 300
seconds.
display mac-address mac-learning
Syntax
display mac-address mac-learning [ interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
interface-type interface-number: Specifies an interface by its type and number. Displays MAC address
learning status of the specified interface.
Description
Use the display mac-address mac-learning command to display MAC address learning status of the
specified or all Ethernet ports.
Examples
# Display MAC address learning status of port GigabitEthernet 2/0/1.
<Sysname> display mac-address mac-learning gigabitethernet 2/0/1
Mac address learning status of the switch: enable
PortName Learning Status
GigabitEthernet2/0/1 enable
Table 1-2 display mac-address mac-learning command output description
Field
Description
Mac address learning status of the switch
Global MAC address learning status, enabled or
disabled
disabled
PortName Port
name
Learning Status
MAC address learning status for a port, enabled
or disabled
or disabled
mac-address (Ethernet interface view)
Syntax
mac-address { dynamic | static } mac-address vlan vlan-id
undo mac-address { dynamic | static } mac-address vlan vlan-id
View
Ethernet interface view, Layer-2 aggregate interface view