< Home

cfm portid-tlv type

Function

The cfm portid-tlv type command sets the portid-tlv type for trace packets.

The undo cfm portid-tlv type command restores the default portid-tlv type for trace packets.

By default, the portid-tlv type in trace packets is in character string format.

Format

cfm portid-tlv type { interface-name | local }

undo cfm portid-tlv type

Parameters

Parameter Description Value

interface-name

Indicates that the portid-tlv type is in character string format.

-

local

Indicates that the portid-tlv type is in Huawei proprietary format.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When using the trace function, you need to specify the type of inbound and outbound interface names. You can use the cfm portid-tlv type command to set the type of interface names.

Precautions

IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007. Before using the cfm portid-tlv type command, you must use the cfm version command to set the Ethernet CFM version to IEEE Standard 802.1ag-2007.

Vendors may use different TLV types. To implement interworking between Huawei and non-Huawei devices, configure interface-name to specify the interface name type in character string format.

If all the devices running on the entire network are Huawei data communications devices, to interwork with devices running different versions, configure local to specify the interface name type in Huawei proprietary format.

Example

# Configure the portid-tlv type in character string format.

<HUAWEI> system-view
[HUAWEI] cfm portid-tlv type interface-name
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >