Command Line Reference Guide

Layer 2 | 877
Parameters
Defaults
Not configured.
Command Modes
INTERFACE (available on physical interfaces only)
Command
History
Usage
Information
You must place the interface in Layer 2 mode (using the switchport command) prior to configuring the
mac accounting destination command.
mac-address-table aging-time
c e s
Specify an aging time for MAC addresses to be removed from the MAC Address Table.
Syntax
mac-address-table aging-time seconds
Parameters
Defaults
1800 seconds
Command Modes
CONFIGURATION
INTERFACE VLAN (E-Series only)
Command
History
Related
Commands
mac-address
Enter the MAC address in the nn:nn:nn:nn:nn:nn format to count Layer 2 packets
or bytes sent to that MAC address.
vlan vlan-id Enter the keyword vlan followed by the VLAN ID to count Layer 2 packets or
bytes sent to the VLAN.
Range: 1 to 4094.
bytes (OPTIONAL) Enter the keyword bytes to count only bytes
packets (OPTIONAL) Enter the keyword packets to count only packets.
Version 7.4.1.0 Introduced on E-Series
seconds
Enter either zero (0) or a number as the number of seconds before MAC addresses are
relearned. To disable aging of the MAC address table, enter 0.
E-Series Range from CONFIGURATION mode: 10 - 1000000
E-Series Range from INTERFACE VLAN mode: 1 - 1000000
C-Series and S-Series Range: 10 - 1000000
Default: 1800 seconds
Version 8.3.1.0 On the E-Series, available in INTERFACE VLAN context and reduced
minimum aging time in INTERFACE VLAN context from 10 seconds to 1
second.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.2.1.1 Introduced on E-Series
mac learning-limit Set the MAC address learning limits for a selected interface.
show mac-address-table aging-time Display the MAC aging time.