< Home

display mac-address flapping record

Function

The display mac-address flapping record command displays MAC address flapping records.

Format

display mac-address flapping record [ slot slot-id ] [ begin YYYY/MM/DD HH:MM:SS ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies a slot ID.

The value depends on the device configuration.

begin YYYY/MM/DD HH:MM:SS

Displays MAC address flapping records generated from the specified time to the current time.

YYYY/MM/DD indicates year/month/date.

HH:MM:SS indicates hour:minute:second.

  • YYYY/MM/DD ranges from 2000/01/01 to 2099/12/31.
  • HH:MM:SS ranges from 00:00:00 to 23:59:59.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display mac-address flapping record command output helps locate the position where MAC address flapping occurs.

Precautions

The command output is displayed only when MAC address flapping has occurred.

Example

# Display all MAC address flapping records.

<HUAWEI> display mac-address flapping record
 S  : start time                                                                
 E  : end time                                                                  
(Q) : quit VLAN 
(D) : error down 
------------------------------------------------------------------------------
Move-Time             VLAN  MAC-Address   Original-Port Move-Ports   MoveNum
-------------------------------------------------------------------------------
S:2011-08-31 17:22:36 300  0000-0000-0007 Eth-Trunk1   Eth-Trunk2   81
E:2011-08-31 17:22:44

-------------------------------------------------------------------------------
Total items on slot 0: 1
	

# Display MAC address flapping records generated from 2012/06/04 09:00:00 to the current time.

<HUAWEI> display mac-address flapping record begin 2012/06/04 09:00:00
 S  : start time                                                                
 E  : end time                                                                  
(Q) : quit VLAN                                                                 
(D) : error down   
-------------------------------------------------------------------------------
Move-Time                 VLAN MAC-Address   Original-Port Move-Ports   MoveNum
-------------------------------------------------------------------------------
S:2012-06-04 17:22:38 300  0000-0000-0007 Eth-Trunk2   Eth-Trunk1   5
E:2012-06-04 17:22:42

-------------------------------------------------------------------------------
Total items on slot 0: 1
Table 1 Description of the display mac-address flapping record command output

Item

Description

Move-Time

Start time and end time MAC address flapping occurs. If the DST is configured, the DST plus the flapping start time or end time is displayed, for example: StartTime: 2012-02-02 15:54:10 DST.

VLAN

VLAN where MAC address flapping occurs.

MAC-Address

Flapping MAC address.

NOTE:

Only one MAC address that flaps is displayed for the same VLAN on the same device.

Original-Port

Port that learns the MAC address first.

Move-Ports

Ports that learn the MAC address later.

MoveNum

Number of times the MAC address has flapped. The maximum value is 65535. When the number of times the MAC address has flapped exceeds 65535, the MoveNum field still displays 65535.

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