The display local-ce mac command displays MAC addresses and VLAN IDs of Ethernet interfaces on the local CE.
Usage Scenario
If the Ethernet AC interface on the PE is configured with heterogeneous IP interworking, you need to run the local-ce mac or local-ce ip command on this AC interface to specify the MAC address or IP address for the Ethernet AC interface on the local CE, so as to ensure communication between CEs.
To view MAC addresses and VLAN IDs of Ethernet interfaces on the local CE, run the display local-ce mac command.Configuration Impact
If a large number of Ethernet interfaces exist on the local CE, you are advised to specify the interface type and interface number to view MAC addresses and VLAN IDs by using this command. Otherwise, excess output information may cause the following problems:
Precautions
If no interface is specified, the display local-ce mac command will display MAC addresses and VLAN IDs of all interfaces.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display local-ce mac INTERFACE MAC ADDRESS EXPIRE TYPE VLAN PVC IP ADDRESS ----------------------------------------------------------------------------- GigabitEthernet0/1/1.1 00e0-fc20-b3a6 S(A) ----------------------------------------------------------------------------- Total:1 Dynamic:0 Static:1 Broadcast:0
Item | Description |
---|---|
INTERFACE | Name of the Ethernet interface with the encapsulation type as L2VPN interworking. |
MAC ADDRESS | MAC address of the local CE. |
EXPIRE | Aging time, in minutes. |
TYPE | Mode for learning MAC addresses:
|
VLAN | ID of the VLAN to which the MAC address belongs. |
PVC | VPI and VCI corresponding to the interface. |
IP ADDRESS | Dynamically learned IP address of the local CE. |
Total | Total number of MAC address entries matching the specified criteria. |
Dynamic | Number of dynamically learned MAC addresses. |
Static | Number of statically configured MAC addresses. |
Broadcast | Number of learned broadcast MAC addresses. |