-566
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)MR
show mac-address-table learning
show mac-address-table learning
To display the MAC-address learning state, use the show mac-address-table learning command in user
EXEC mode.
show mac-address-table learning {vlan vlan-id [,vlan-id | -vlan-id] | interface [interface
slot/port]}
Syntax Description
Command Default This command has no default settings.
Command Modes User EXEC (>)
Command History
Usage Guidelines The interface interface slot/port keyword and arguments can be used on routed interfaces only. The
interface interface slot/port keyword and arguments cannot be used to configure learning on switch-port
interfaces.
If you specify the vlan vlan-id, the state of the MAC-address learning of the specified VLAN, including
router interfaces, on all modules, is displayed.
If you specify the vlan vlan-id and the module num, the state of the MAC-address learning of a specified
VLAN on a specified module is displayed.
If you specify the interface interface slot/port keyword and arguments, the state of the MAC-address
learning of the specified interface on all modules is displayed.
If you specify the interface interface slot/port keyword and arguments, the state of the MAC-address
learning of the specified interface on the specified module is displayed.
If you enter the show mac-address-table learning command with no arguments or keywords, the status
of MAC learning on all the existing VLANs is displayed.
Examples This example shows how to display the MAC-address learning status on all interfaces.
Router# show mac-address-table learning interface
vlan vlan-id (Optional) Displays information about the MAC-address learning state for the
specified switch port VLAN; valid values are from 1 to 4094.
interface
interface
slot/port
(Optional) Displays information about the MAC-address learning state for the
specified routed interface type, the slot number, and the port number.
Release Modification
12.2(18)SXE Support for this command was introduced on the Supervisor Engine 720.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
15.0(1)MR This command was integrated into Cisco IOS Release 15.0(1)MR. This release does
not support the module keyword.
Comments to this Manuals