display mac-address dynamic vsi

Function

The display mac-address dynamic vsi command displays dynamic MAC address entries on the current VSI network.

Format

display mac-address dynamic [ ineffective ] [ slot slot-id ] vsi vsi-name [ ce-vlan ] [ verbose | last-change ]

Parameters

Parameter Description Value
ineffective

Displays dynamic MAC address entries of ineffective on a VSI.

-

vsi-name

Specifies the name of a VSI.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

ce-vlan

Specifies the inner VLAN ID.

The value is an integer ranging from 1 to 4094.

verbose

Displays detailed information about dynamic black-hole MAC address entries.

-

last-change

Displays the date and time when MAC address entries on a specified VSI are last updated.

-

slot slot-id

Specifies the slot ID.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mac read

Usage Guidelines

A MAC address table is an interface-based Layer 2 forwarding table. It stores information about MAC addresses learned by a device. A MAC address entry contains a MAC address, an interface on which a packet is forwarded to this MAC address, and a VLAN to which the specified interface belongs or a VSI to which the specified interface is bound. Before forwarding a packet, the device searches the MAC address table based on the destination MAC address of the packet and locate the outbound interface quickly. This facilitates packet forwarding and reduces broadcast traffic.

Dynamic MAC address entries: obtained by a device through source MAC address learning and will be aged based on the aging time.

To view information about dynamic MAC address entries on the current VSI network, run the display mac-address dynamic vsi command.

Example

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

# Displays detailed information about the dynamically learned MAC address entries in VSI 1.
<HUAWEI> display mac-address dynamic vsi 1 verbose
MAC address table of slot 1:
------------------------------------------------------------------------------------------------
MAC Address: 0001-0001-0001                              VLAN/BD/VSI/SI/EVPN: 1                         
Port       : GE0/1/15.100                                 Type               : dynamic                   
PEVLAN     : 300                                         CEVLAN             : 400                       
TrustFlag  : 1                                           TrustPort          : GE0/1/15.100               
Peer IP    : -                                           VC-ID              : -                         
Aging time : 0                                           LSP/MAC_Tunnel     : 1/432128                  
TimeStamp  : 213789                                    
MacAccountingEnable: Enable
MAC address used as destination:
Packet count : 0                                         Byte count : 0                                 
MAC address used as source:
Packet count : 503                                       Byte count : 48288                                                      
------------------------------------------------------------------------------------------------
Total matching items on slot 1 displayed = 1
# Display the date and time when the dynamically learned MAC address entries in a VSI were last updated.
<HUAWEI> display mac-address dynamic vsi ldphh last-change
MAC address table of slot 1:
-------------------------------------------------------------------------------
MAC Address    VLAN/BD/    PEVLAN CEVLAN Port/Peerip     Type      Last Change
               VSI/SI/EVPN
-------------------------------------------------------------------------------
00e0-fc12-3458 ldphh       -      -      GE0/1/6         dynamic   Jan 25 2018 11:44:37
00e0-fc12-3456 ldphh       -      -      GE0/1/6         dynamic   Jan 25 2018 11:44:37
00e0-fc12-3461 ldphh       -      -      GE0/1/6         dynamic   Jan 25 2018 11:44:37
00e0-fc12-3459 ldphh       -      -      GE0/1/6         dynamic   Jan 25 2018 11:44:37
00e0-fc12-3462 ldphh       -      -      GE0/1/6         dynamic   Jan 25 2018 11:44:37
-------------------------------------------------------------------------------
Total matching items on slot 1 displayed = 5
Table 1 Description of the display mac-address dynamic vsi command output
Item Description
MAC address table of slot

Slot number of an interface board that dynamically learns MAC addresses.

MAC Address

Learned MAC addresses.

MAC address used as destination/source

Traffic statistics collection is based on a source or destination MAC address.

Type

Types of MAC addresses.

PEVLAN

This parameter is meaningless and always displayed as a hyphen (-).

CEVLAN

This parameter is meaningless and always displayed as a hyphen (-).

TrustFlag

Flag indicating that whether a trusted interface is generated after MAC flapping.

TrustPort

Trusted interface that is generated after MAC flapping.

VC-ID

Virtual circuit (VC) ID.

This field is displayed only when a VC ID is specified.

Aging time

Aging time of MAC address entries.

LSP/MAC_Tunnel
  • LSP: information about the board that learns the MAC address.

    For example, 1/- indicates that the MAC address is learned by the board in slot 1.

  • MAC-Tunnel: the name of a tunnel. This field exists in a MAC address entry for a specific SI.
TimeStamp

How long a MAC address has been learned (in seconds).

Total matching items on slot 1 displayed

Total number of static MAC address entries that are displayed.

Packet count

Number of packets received on an interface.

Byte count

Number of bytes received on an interface.

Port/Peerip

Outbound interface or peer IP address mapped to a learned MAC address.

Last Change

Date and time when MAC address entries on an EVPN were last updated.

VLAN/BD/VSI/SI/EVPN

Home network.

MacAccountingEnable

Whether MAC accounting is enabled.

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