The display mac-address aging-time vlan command displays the aging time of MAC address entries.
| 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. |
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.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mac-address aging-time vlan 10
Aging time: 300 second(s)
| Item | Description |
|---|---|
| Aging time | Aging time of the MAC address entries. |