< Home

cfm trigger vlan mac-renew

Function

The cfm trigger vlan mac-renew command clears MAC address entries of a range of VLANs associated with Ethernet CFM after Ethernet CFM detects a fault.

The undo cfm trigger vlan mac-renew command cancels the configuration.

Format

cfm trigger vlan { { vlan-id [ to vlan-id ] } &<1-10> } mac-renew

undo cfm trigger vlan { { vlan-id [ to vlan-id ] } &<1-10> } mac-renew

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Parameters

Parameter Description Value
vlan-id Specifies the ID of a VLAN. The value is an integer that ranges from 1 to 4094.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the cfm trigger vlan mac-renew command is run, CFM deletes MAC address entries of a range of configured VLANs when detecting a fault so that services can be switched between links.

Precautions

A maximum of 10 VLAN ranges can be configured. The VLAN ranges cannot overlap.

When CFM detects a fault in a VLAN associated with the MA in the range specified in this command, the MAC address entries of this VLAN are deleted. If a fault is detected in a VLAN out of the specified range, the MAC address entries of this VLAN are not deleted.

If the cfm trigger vlan mac-renew command is run multiple times, MAC addresses of VLANs specified by the commands are deleted.

Example

# Configure the device to clear MAC address entries of VLANs 100 to 200 after CFM detects a fault.

<HUAWEI> system-view
[HUAWEI] cfm trigger vlan 100 to 200 mac-renew
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >