Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


clear error mac-rewrite



Clear a MAC rewrite error condition on an interface receiving tunneled Layer 2 protocol packets.

On interfaces with L2PT configured, customer-facing ports should not receive packets with the L2PT MAC address as the destination address unless there is a network tolopogy or configuration error. The device sets the status of such interfaces to “Disabled”. Use this command to clear the error and re-enable the interface.


interface interface-name

(Optional) Clear the MAC rewrite error condition for the specified interface.

Required Privilege Level


Output Fields

When you enter this command, the device returns feedback on the status of the request.

Sample Output

clear error mac-rewrite interface

Release Information

Command introduced in Junos OS Release 9.1.