reset local-ce mac

Function

The reset local-ce mac command deletes the MAC address and VLAN ID of a local CE's access interface from an Ethernet AC interface.

Format

reset local-ce mac

reset local-ce mac { interface-type interface-number | interface-name }

Parameters

Parameter Description Value
interface-type

Specifies the interface type.

-

interface-number

Specifies the interface number.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn execute

Usage Guidelines

Usage Scenario

In a scenario in which IP interworking is configured on an Ethernet AC interface of a PE, if the VLAN ID of the interface used by the CE to access the PE changes or the access interface changes, you can use the reset local-ce mac command to clear the MAC address of the access interface and the VLAN ID. Then, the PE can learn the new information about the access interface.

Configuration Impact

If you specify the number and type of an interface, information about the specified interface is deleted. Otherwise, all the MAC addresses and VLAN IDs dynamically learned by the local CE are deleted.

Example

# Delete the MAC address and VLAN ID of a local CE's access interface from an Ethernet AC interface.
<HUAWEI> reset local-ce mac
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >