display mac-address aging-time vlan

Function

The display mac-address aging-time vlan command displays the aging time of MAC address entries.

Format

display mac-address aging-time vlan [ vlan-id1 [ to vlan-id2 ] ]

Parameters

Parameter Description Value
vlan-id1

Displays the aging time of dynamic MAC address entries with the start VLAN ID.

The value is an integer ranging from 1 to 4094.

vlan-id2

Displays the aging time of dynamic MAC address entries with the end VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mac read

Usage Guidelines

Usage Scenario

You can run this command to check the aging time of MAC addresses.

Precautions

If MAC address entries do not age, the aging time is displayed as 0 seconds.

If the aging time of MAC address entries in a VLAN is set, the aging time configured in the VLAN takes effect.

If the aging time of MAC address entries in a VLAN is not set, the global aging time of MAC address entries takes effect.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the aging time of MAC address entries.
<HUAWEI> display mac-address aging-time vlan 10
  Aging time: 300 second(s)
Table 1 Description of the display mac-address aging-time vlan command output
Item Description
Aging time

Aging time of the MAC address entries.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >