11-High Availability Command Reference

HomeSupportRouters5G IPRAN Access RoutersReference GuidesCommand ReferencesH3C RA5100-G Routers Command Reference-R7752-6W10011-High Availability Command Reference
01-CFD commands
Title Size Download
01-CFD commands 406.09 KB

CFD commands

cfd cc enable

Use cfd cc enable to enable CCM sending on a specified MEP.

Use undo cfd cc enable to disable CCM sending on a specified MEP.

Syntax

cfd cc service-instance instance-id mep mep-id enable

undo cfd cc service-instance instance-id mep mep-id enable

Default

The CCM sending feature is enabled.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

Examples

# On GigabitEthernet 1/0/6, enable CCM sending on MEP 3 in service instance 5.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/6

[Sysname-GigabitEthernet1/0/6] cfd cc service-instance 5 mep 3 enable

# On GigabitEthernet 1/0/6.1, enable CCM sending on MEP 3 in service instance 5.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/6.1

[Sysname-GigabitEthernet1/0/6.1] cfd cc service-instance 5 mep 3 enable

Related commands

cfd cc interval

cfd cc interval

Use cfd cc interval to set the value of the interval field in the CCM messages.

Use undo cfd cc interval to remove the value of the interval field in the CCM messages.

Syntax

cfd cc interval interval-value service-instance instance-id

undo cfd cc interval [ interval-value ] service-instance instance-id

Default

The value of this field is 4 for all CCMs sent.

Views

System view

Predefined user roles

network-admin

Parameters

interval interval-value: Specifies the value of the interval field in CCM messages. The value range for the interval field is 1 to 7.

service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767.

Usage guidelines

When setting the CCM interval, use the settings described in Table 1.

Table 1 CCM interval field encoding

CCM interval field

Transmission interval

Maximum CCM lifetime

1

10/3 milliseconds

35/3 milliseconds

2

10 milliseconds

35 milliseconds

3

100 milliseconds

350 milliseconds

4

1 second

3.5 seconds

5

10 seconds

35 seconds

6

60 seconds

210 seconds

7

600 seconds

2100 seconds

 

Examples

# Set the value of the interval field to 3 in CCMs sent by MEPs in service instance 2.

<Sysname> system-view

[Sysname] cfd cc interval 3 service-instance 2

Related commands

cfd cc enable

cfd dlm continual

Use cfd dlm continual to configure continual two-way loss measurement (LM).

Use undo cfd dlm continual to disable continual two-way LM.

Syntax

cfd dlm continual service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ]

undo cfd dlm continual service-instance instance-id mep mep-id

Default

Continual two-way LM is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for CCM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

Usage guidelines

The two-way LM function measures the frame loss between the source and target MEPs by using CCMs. The source MEP calculates the number of lost frames according to the counter values of two consecutive CCMs received (the current CCM and the previous CCM).

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

For the two-way LM function to take effect, you must configure it on both the local and peer devices.

If the device supports hardware CC, you can specify the target MEP only by its MAC address. You cannot specify the target MEP by its ID.

If the frame counting mode is dot1p-based, you must specify the dot1p dot1p-value option. If the frame counting mode is port-based, do not specify the dot1p dot1p-value option.

To modify two-way LM settings for a source MEP, disable two-way LM and then reconfigure the function for the source MEP.

The two-way LM detection interval is the CCM interval. Before configuring two-way LM, configure the CCM interval field value to be greater than 2.

One-way LM and two-way LM cannot be configured at the same time for one source MEP. If you have configured short-period one-way LM or continual one-way LM, you can configure two-way LM only after you disable continual one-way LM or short-period one-way LM ends. If you have configured two-way LM, you can configure short-period one-way LM or continual one-way LM only after disable two-way LM.

To display the two-way LM result, use the display cfd dlm history command on the device where the source MEP or target MEP resides.

Examples

# Enable the continual two-way LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> system-view

[Sysname] cfd dlm continual service-instance 1 mep 1101 target-mep 2001

Related commands

cfd cc interval

cfd slm

cfd slm continual

display cfd dlm history

cfd dlm threshold

Use cfd dlm threshold to configure the lower limit and upper limit for continual two-way LM.

Use undo cfd dlm threshold to restore the default.

Syntax

cfd dlm { far-end | near-end } threshold service-instance instance-id mep mep-id { lower-limit lower-limit | upper-limit upper-limit } *

undo cfd dlm { far-end | near-end } threshold service-instance instance-id mep mep-id [ lower-limit | upper-limit ]

Default

The lower limit and upper limit for continual two-way LM are 0 and 100%, respectively, for both the source and target MEPs.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

far-end: Configures the lower limit and upper limit for the target MEP.

near-end: Configures the lower limit and upper limit for the source MEP.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

lower-limit lower-limit: Specifies the lower limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001. The lower limit must be smaller than the upper limit.

upper-limit upper-limit: Specifies the upper limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001.

Usage guidelines

This command takes effect only after you configure continual two-way LM.

When the packet loss ratio for the source MEP or target MEP reaches or exceeds the upper limit, the system displays a message about the situation.

When the packet loss ratios for both the source MEP and target MEP reach or fall below the lower limit, the system displays a message about the situation.

Examples

# Configure the lower limit and upper limit as 0.2% and 0.8%, respectively, for source MEP 1101 in service instance 1.

<Sysname> system-view

[Sysname] cfd dlm near-end threshold service-instance 1 mep 1101 lower-limit 0.2 upper-limit 0.8

Related commands

cfd dlm continual

display cfd dlm history

cfd dm two-way

Use cfd dm two-way to enable short-period two-way DM.

Syntax

cfd dm two-way service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ] [ number number ] [ interval interval ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for DMMs. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

number number: Specifies the number of DMM frames to be sent. The value range for the number argument is 2 to 10, and the default is 5.

interval interval: Specifies the DMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

Usage guidelines

The short-period two-way DM function measures the two-way frame delay between the source and target MEPs by using DMM frames and DMR frames.

You can implement two-way DM by using the following test types:

·     Continual two-way DM.

·     Short-period two-way DM.

·     Scheduled two-way DM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

Examples

# Enable the short-period two-way DM function to test the two-way frame delay between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> cfd dm two-way service-instance 1 mep 1101 target-mep 2001

Frame delay:

Reply from 0010-fc00-6512: 10us

Reply from 0010-fc00-6512: 9us

Reply from 0010-fc00-6512: 11us

Reply from 0010-fc00-6512: 5us

Reply from 0010-fc00-6512: 5us

Average: 8us

Frame jitter: 1us 2us 6us 0us

Average: 2us

Packet statistics:

Sent DMMs: 5        Received: 5        Lost: 0

Table 2 Command output

Field

Description

Reply from 0010-fc00-6512

Delay of the DMR frames returned from the MEP with MAC address 0010-FC00-6512.

Average

Average frame delay or average frame delay variation.

Sent DMMs

Number of sent DMM frames .

Received

Number of received DMR frames.

Lost

Number of lost DMM frames.

 

Related commands

cfd dm two-way continual

cfd dm two-way continual

Use cfd dm two-way continual to enable continual two-way DM.

Use undo cfd dm two-way continual to disable continual two-way DM.

Syntax

cfd dm two-way continual service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ] [ interval interval ]

undo cfd dm two-way continual service-instance instance-id mep mep-id

Default

Continual two-way DM is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for DMM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

interval interval: Specifies the DMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

Usage guidelines

Continual two-way DM continually sends DMM frames at a configurable interval. It measures the two-way frame delay between the source and target MEPs after receiving the returned DMR frames.

You can implement two-way DM by using the following test types:

·     Continual two-way DM.

·     Short-period two-way DM.

·     Scheduled two-way DM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

If the device supports hardware CC, you can only specify the target MEP by its MAC address. You cannot specify the target MEP by its ID.

To modify continual two-way DM settings for a source MEP, disable continual two-way DM and then reconfigure the function for the source MEP.

To display the continual two-way DM result, use the display cfd dm two-way history command on the device where the source MEP resides.

Inward-facing MEPs created in an Ethernet network do not support continual two-way DM.

Examples

# Enable the continual two-way DM function to test the two-way frame delay between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> system-view

[Sysname] cfd dm two-way continual service-instance 1 mep 1101 target-mep 2001

Related commands

cfd dm two-way

display cfd dm two-way history

cfd dm two-way duration start

Use cfd dm two-way duration start to start a scheduled two-way DM.

Syntax

cfd dm two-way duration duration-time start service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [dot1p dot1p-value ] [ interval interval ]

Views

Any view

Predefined user roles

network-admin

Parameters

duration-time: Specifies a two-way DM test duration in the range of 1 to 65535 seconds.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for DMM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

interval interval: Specifies the DMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

Usage guidelines

The scheduled two-way DM function measures the two-way frame delay between the source and target MEPs by using DMM frames and DMR frames.

You can implement one-way DM by using the following test types:

·     Continual one-way DM.

·     Short-period one-way DM.

·     Scheduled one-way DM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

Examples

# Start a scheduled two-way DM to test the two-way frame delay between source MEP 1101 and target MEP 1003 in service instance 1 within 60 seconds.

<Sysname> cfd dm two-way duration 60 start service-instance 1 mep 1101 target-mep 1003

Related commands

cfd dm two-way

cfd dm two-way continual

display cfd dm two-way history

cfd dm two-way duration stop

Use cfd dm two-way duration stop to stop a scheduled two-way DM.

Syntax

cfd dm two-way duration stop service-instance instance-id mep mep-id

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

Examples

# Stop a scheduled two-way DM for source MEP 1101 in service instance 1.

<Sysname> cfd dm two-way duration stop service-instance 1 mep 1101

Related commands

cfd dm two-way duration start

cfd dm two-way threshold

Use cfd dm two-way threshold to configure the lower limit and upper limit for continual two-way DM.

Use undo cfd dm two-way threshold to restore the default.

Syntax

cfd dm two-way threshold service-instance instance-id mep mep-id { lower-limit lower-limit | upper-limit upper-limit } *

undo cfd dm two-way threshold service-instance instance-id mep mep-id [ lower-limit | upper-limit ]

Default

The lower limit and upper limit for continual two-way DM are 0 and 4294967295 microseconds, respectively.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

lower-limit lower-limit: Specifies the lower limit in the range of 0 to 4294967295 microseconds. The lower limit must be smaller than the upper limit.

upper-limit upper-limit: Specifies the upper limit in the range of 0 to 4294967295 microseconds.

Usage guidelines

This command takes effect only after you configure continual two-way DM.

If the delay time reaches or exceeds the upper limit for three consecutive times, the system displays a message about the situation.

If the delay time reaches or falls below the lower limit for three consecutive times, the system displays a message about the situation.

Examples

# Configure the continual two-way DM lower limit and upper limit as 10000 and 5000000 microseconds, respectively, for source MEP 1101 in service instance 1.

<Sysname> system-view

[Sysname] cfd dm two-way threshold service-instance 1 mep 1101 lower-limit 10000 upper-limit 5000000

Related commands

cfd dm two-way continual

display cfd dm two-way history

cfd enable

Use cfd enable to enable CFD.

Use undo cfd enable to disable CFD.

Syntax

cfd enable

undo cfd enable

Default

CFD is disabled.

Views

System view

Predefined user roles

network-admin

Examples

# Enable CFD.

<Sysname> system-view

[Sysname] cfd enable

cfd frame-count mode

Use cfd frame-count mode to configure the frame counting mode for LM.

Use undo frame-count mode to restore the default.

Syntax

cfd frame-count mode { dot1p-based | port-based }

undo cfd frame-count mode

Default

No frame counting mode is configured for LM.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Parameters

dot1p-based: Counts packets by 802.1p priority.

port-based: Counts packets by interface.

Usage guidelines

To obtain accurate test results, configure the same frame counting mode on the source MEP and target MEP.

If the frame counting mode is dot1p-based, you must specify the dot1p dot1p-value option when configuring the cfd slm, cfd slm continual, and cfd dlm continual commands. If the frame counting mode is port-based, do not specify the dot1p dot1p-value option when configuring the cfd slm, cfd slm continual, and cfd dlm continual commands.

If LM has been configured for a MEP, the frame counting mode on the interface where the MEP resides cannot be modified.

This command can be configured only in MPLS Layer 2 VPNs.

Examples

# Configure the frame counting mode for LM as dot1p-based on GigabitEthernet 1/0/6.1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/6.1

[Sysname-GigabitEthernet1/0/6.1] cfd frame-count mode dot1p-based

Related commands

cfd dlm continual

cfd slm

cfd slm continual

cfd hardware-cc

Use cfd hardware-cc to enable hardware CC.

Use undo cfd hardware-cc to disable hardware CC.

Syntax

cfd hardware-cc service-instance instance-id remote-mep mep-list

undo cfd hardware-cc service-instance instance-id remote-mep mep-list

Default

Hardware CC is disabled.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

remote-mep mep-list: Specifies remote MEPs. The mep-list argument specifies a space-separated list of up to 10 MEP items. Each item specifies a MEP ID or a range of MEP IDs in the form of mep-id [ to mep-id ]. The value range for MEP IDs is 1 to 8191.

Usage guidelines

In an Ethernet network, you can enable hardware CC only on Layer 2 Ethernet interfaces and Layer 3 Ethernet interfaces.

In an MPLS Layer 2 VPN, you can enable hardware CC only on L2VE subinterfaces, Layer 3 Ethernet interfaces, Layer 3 Ethernet subinterfaces, Layer 3 aggregate interface, Layer 3 aggregate subinterface, and Layer 2 Ethernet service instances.

Do not modify the value of the interval field in CCM messages after hardware CC is enabled. If you modify the value of the interval field in CCM messages, hardware CC is automatically disabled.

You must configure hardware CC after configuring CC. If you do not configure hardware CC, the device cannot receive CCM messages.

Examples

# Enable hardware CC on GigabitEthernet 1/0/6 to detect remote MEP 5 in service instance 1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/6

[Sysname-GigabitEthernet1/0/6] cfd hardware-cc service-instance 1 remote-mep 5

# Enable hardware CC on GigabitEthernet 1/0/6.1 to detect remote MEP 5 in service instance 1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/6.1

[Sysname-GigabitEthernet1/0/6.1] cfd hardware-cc service-instance 1 remote-mep 5

Related commands

cfd cc interval

cfd linktrace

Use cfd linktrace to identify the path between the source MEP and target MP.

Syntax

cfd linktrace service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ ttl ttl-value ] [ hw-only ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-map target-mep-id: Specifies the destination MEP by its ID in the range of 1 to 8191.

ttl ttl-value: Specifies the TTL value in the range of 1 to 255. The default value is 64.

hw-only: Sets the hw-only bits of the LTMs sent. If you specify this keyword, the source MEP does not flood LTM messages that have an unknown destination MAC address.

Usage guidelines

This command identifies the path between the source MEP and target MP by using LTMs and LTRs.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

This function is not supported in EVPN VPLS and VPLS networks.

Examples

# Identify the path between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> cfd linktrace service-instance 1 mep 1101 target-mep 2001

Linktrace to MEP 2001 with the sequence number 1101-43361:

MAC address               TTL     Last MAC         Relay action

0010-fc00-6512            63      0010-fc00-6500   Hit

Table 3 Command output

Field

Description

Linktrace to MEP 2001 with the sequence number 1101-43361

Linktrace to target MEP 2001 with the sequence number 1101-43361.

MAC address

Source MAC address in the LTR messages.

TTL

TTL of the LTM when it passes the device.

Last MAC

MAC address of the last-hop device the LTM passes.

Relay action

Indicates whether the forwarding device found the destination MAC address in its MAC address table.

When the standard version (IEEE 802.1ag) of CFD is used:

·     Hit—The current device is the destination device.

·     FDB—The forwarding device found the destination MAC address.

·     MPDB—The destination MAC address is not found, or the destination MAC address is found in the MEP database.

 

Related commands

display cfd linktrace-reply

cfd loopback

Use cfd loopback to enable loopback (LB).

Syntax

cfd loopback service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

number number: Specifies the number of the sent LBMs packets. The value is in the range of 1 to 10. The default value is 5.

Usage guidelines

The LB function verifies link connectivity between the source MEP and the target MP by using LBMs and LBRs.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

This function is not supported in EVPN VPLS and VPLS networks.

Examples

# Enable LB for the link between MEP 1101 and MEP 2001 in service instance 1 (assume that the link status is normal).

<Sysname> cfd loopback service-instance 1 mep 1101 target-mep 2001

Loopback to MEP 2001 with the sequence number start from 1101-43404:

Reply from 0010-fc00-6512: sequence number=1101-43404 Time=5ms

Reply from 0010-fc00-6512: sequence number=1101-43405 Time=5ms

Reply from 0010-fc00-6512: sequence number=1101-43406 Time=5ms

Reply from 0010-fc00-6512: sequence number=1101-43407 Time=5ms

Reply from 0010-fc00-6512: sequence number=1101-43408 Time=5ms

Sent: 5        Received: 5        Lost: 0

# Enable LB for the link between MEP 1101 and MEP 2001 in service instance 1 (assume that the link status is abnormal).

<Sysname> cfd loopback service-instance 1 mep 1101 target-mep 2001

Loopback to MEP 2001 with the sequence number start from 1101-43404:

Sent: 5        Received: 0        Lost: 5

Table 4 Command output

Field

Description

Loopback to MEP 2001 with the sequence number start from 1101-43404

Sends LBMs to remote MEP 2001 with the sequence number starting with 1101-43404.

Reply from 0010-fc00-6512

Reply from the MP with the MAC address 0010-FC00-6512.

sequence number

Sequence number in the LBR messages.

Time=5ms

The interval between the sending of LBMs and receiving of LBRs is 5 milliseconds.

Sent

Number of sent LBMs.

Received

Number of received LBRs.

Lost

Number of lost LBRs.

 

cfd md

Use cfd md to create an MD.

Use undo cfd md to delete an MD.

Syntax

cfd md md-name [ index index-value ] level level-value [ md-id { dns dns-name | mac mac-address subnumber | none } ]

undo cfd md md-name

Default

No MDs exist.

Views

System view

Predefined user roles

network-admin

Parameters

md md-name: Specifies the name of an MD, which is a string of 1 to 43 characters that can contain letters, numbers, and special characters such as grave accent (`), tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk (*), brackets ({ }, ( ),[ ], < >), hyphen (-), underscore (_), plus (+), equal sign (=), vertical bar (|), colon (:), semicolon (;), quotation mark ('), comma (,), period (.), and slash (/).

index index-value: Specifies an MD index in the range of 1 to 4294967295. If you do not specify this option, the system automatically assigns the smallest index number that is not in use. As a best practice, use the index automatically assigned by the system.

level level-value: Specifies an MD level in the range of 0 to 7.

md-id: Specifies the MD name carried by packets sent by the MEP. If you do not provide this keyword, the MD name is represented by md-name.

dns dns-name: Specifies an MD name in the format of DNS name, where dns-name represents the DNS name.

mac mac-address subnumber: Specifies an MD name containing the MAC address and an integer. The mac-address argument represents the MAC address of the MD, and the subnumber argument is in the range of 0 to 65535.

none: Specifies that no MD name is carried in the packets sent by the MEP.

Usage guidelines

An MD name must be in compliant with the specifications in IEEE802.1ag-2007.

You can create only one MD with a specific level. MD cannot be created if you enter an invalid MD name or an existing MD name or the MD index is in use.

When deleting an MD, you will also delete the configurations related to that MD.

Examples

# Create an MD named test_md1, with its level being 3.

<Sysname> system-view

[Sysname] cfd md test_md1 level 3

# Create an MD named test_md2, and the MD name carried in the packet sent by the MEP comprises the MAC address 1-1-1 and integer 1.

<Sysname> system-view

[Sysname] cfd md test_md2 level 5 md-id mac 1-1-1 1

cfd mep

Use cfd mep to create a MEP.

Use undo cfd mep to delete a MEP.

Syntax

cfd mep mep-id service-instance instance-id inbound

undo cfd mep mep-id service-instance instance-id

Default

No MEPs exist.

Views

Layer 3 Ethernet interface view

Layer 3 Ethernet subinterface view

Predefined user roles

network-admin

Parameters

mep mep-id: Specifies the MEP ID, in the range of 1 to 8191.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

inbound: Creates an inward-facing MEP.

Usage guidelines

In creating a MEP, the service instance you specified defines the MD and MA to which the MEP belongs.

You cannot create a MEP if the MEP ID is not included in the MEP list of the relevant service instance.

Examples

# In an MPLS Layer 2 VPN, configure a MEP list in service instance 5, and create inward-facing MEP 3 in service instance 5 on GigabitEthernet 1/0/6.1.

<Sysname> system-view

[Sysname] cfd md vpnmd level 4

[Sysname] cfd service-instance 5 ma-id string vpnma md vpnmd xconnect-group vpn1 connection ac2pw

[Sysname] cfd meplist 3 service-instance 5

[Sysname] interface gigabitethernet 1/0/6.1

[Sysname-GigabitEthernet1/0/6.1] cfd mep 3 service-instance 5 inbound

Related commands

cfd meplist

cfd meplist

Use cfd meplist to create a MEP list.

Use undo cfd meplist to delete a MEP list.

Syntax

cfd meplist mep-list service-instance instance-id

undo cfd meplist mep-list service-instance instance-id

Default

No MEP list is created.

Views

System view

Predefined user roles

network-admin

Parameters

meplist mep-list: Specifies a space-separated list of up to 10 MEP items. Each item specifies a MEP ID or a range of MEP IDs in the form of mep-id 1 to mep-id 2. The value range for the MEP ID is 1 to 8191. The mep-id 2 must be equal to or greater than mep-id 1.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

Usage guidelines

A MEP list is a collection of local MEPs allowed to be configured and the remote MEPs to be monitored in the same MA.

Before creating a MEP list, create the relevant MD and service instance.

After you delete a MEP list, all local MEP configurations based on this list are deleted.

Examples

# In an MPLS Layer 2 VPN, create a MEP list that includes MEP 9 through MEP 15 in service instance 5.

<Sysname> system-view

[Sysname] cfd md test_md level 3

[Sysname] cfd service-instance 5 ma-id string vpnma md vpnmd xconnect-group vpn1 connection ac2pw

[Sysname] cfd meplist 9 to 15 service-instance 5

Related commands

cfd md

cfd service-instance

cfd service-instance

Use cfd service-instance to create a service instance.

Use undo cfd service-instance to remove a service instance.

Syntax

cfd service-instance instance-id ma-id { icc-based ma-name | integer ma-num | string ma-name } [ ma-index index-value ] md md-name { xconnect-group group-name connection connection-name | vsi vsi-name }

undo cfd service-instance instance-id

Default

No service instances exist.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767.

ma-id: Creates an MA.

icc-based ma-name: Specifies that an MA is identified by an ICC. The ma-name argument is a string of 1 to 13 characters. An MA name must be compliant with the specifications in IEEE802.1ag-2007

integer ma-num: Specifies that an MA is identified by an integer, where the ma-num argument is in the range of 0 to 65535.

string ma-name: Specifies that an MA is identified by a string, where the ma-name argument is string of 1 to 45 characters that can contain letters, numbers, and special characters such as grave accent (`), tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk (*), brackets ({ }, ( ),[ ], < >), hyphen (-), underscore (_), plus (+), equal sign (=), vertical bar (|), colon (:), semicolon (;), quotation mark ('), comma (,), period (.), and slash (/).

ma-index index-value: Specifies an MA index in the range of 1 to 4294967295. If you do not specify this option, the system automatically assigns the smallest index number that is not in use. As a best practice, use the index automatically assigned by the system.

md md-name: Specifies the name of an MD. The md-name argument is a string of 1 to 43 characters that can contain letters, numbers, and special characters such as grave accent (`), tilde (~), exclamation mark (!), at sign (@), number sign (#), dollar sign ($), percent (%), caret (^), ampersand (&), asterisk (*), brackets ({ }, ( ),[ ], < >), hyphen (-), underscore (_), plus (+), equal sign (=), vertical bar (|), colon (:), semicolon (;), quotation mark (’), comma (,), period (.), and slash (/).

xconnect-group group-name: Specifies the cross-connect group that the MA serves. The group-name argument is a case-sensitive string of 1 to 31 characters excluding hyphens (-).

connection connection-name: Specifies the cross-connect that the MA serves. The connection-name argument is a case-sensitive string of 1 to 20 characters excluding hyphens (-).

vsi vsi-name: Specifies the VSI that the MA serves. The vsi-name argument is a case-sensitive string of 1 to 31 characters.

Usage guidelines

You must create the relevant MD before creating a service instance.

Deleting a service instance also deletes the configurations related to that service instance.

Deleting a service instance not only removes the connection between the service instance and the relevant MA, but also deletes the MA.

In an MPLS Layer 2 VPN, you must create the relevant cross-connect group and cross-connect or the relevant VSI before creating a service instance. For more information about cross-connect groups and cross-connects, see MPLS L2VPN in MPLS Configuration Guide. For more information about VSIs, see VPLS in MPLS Configuration Guide.

The total number of characters of the ma-name and md-name arguments cannot exceed 45.

Examples

# Create a level-4 MD named vpnmd and create service instance 10, in which the MA is identified by vpnma and serves cross-connect ac2pw in cross-connect group vpn1.

<Sysname> system-view

[Sysname] cfd md vpnmd level 4

[Sysname] cfd service-instance 10 ma-id string vpnma md vpnmd xconnect-group vpn1 connection ac2pw

Related commands

cfd md

cfd slm

Use cfd slm to enable short-period one-way loss measurement.

Syntax

cfd slm service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ] [ number number ] [ interval { interval | msec msec-interval } ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for LMM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

number number: Specifies the number of LMM frames to be sent. The value range for the number argument is 2 to 10, and the default is 5.

interval interval: Specifies the LMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

msec msec-interval: Specifies the LMM frame sending interval, in milliseconds. The value takes 100, 1000, 10000, 60000, or 600000. The default value is 1000.

Usage guidelines

The short-period one-way LM function measures the frame loss between the source and target MEPs by using LMM frames and LMR frames.

You can implement one-way LM by using the following test types:

·     Continual one-way LM.

·     Short-period one-way LM.

·     Scheduled one-way LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

Before enabling short-period one-way LM in an MPLS Layer 2 VPN, you must configure the same frame counting mode on the source MEP and target MEP.

If the frame counting mode is dot1p-based, you must specify the dot1p dot1p-value option. If the frame counting mode is port-based, do not specify the dot1p dot1p-value option.

Short-period one-way LM and continual two-way LM cannot be configured at the same time for one source MEP. If you have configured short-period one-way LM, you can configure continual two-way LM only after the short-period one-way LM ends. If you have configured continual two-way LM, you can configure short-period one-way LM only after you disable continual two-way LM.

Examples

# Enable the short-period one-way LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> cfd slm service-instance 1 mep 1101 target-mep 2001

Reply from 0010-fc00-6512:

Far-end frame loss : 10                   Far-end frame loss rate : 10.00%

Near-end frame loss: 20                   Near-end frame loss rate: 20.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 40                   Far-end frame loss rate : 40.00%

Near-end frame loss: 40                   Near-end frame loss rate: 40.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 0                    Far-end frame loss rate : 0.00%

Near-end frame loss: 10                   Near-end frame loss rate: 10.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 30                   Far-end frame loss rate : 30.00%

Near-end frame loss: 30                   Near-end frame loss rate: 30.00%

Average:

Far-end frame loss : 20                   Far-end frame loss rate : 20.00%

Near-end frame loss: 25                   Near-end frame loss rate: 25.00%

Packet statistics:

Sent LMMs: 5    Received: 5

Table 5 Command output

Field

Description

Reply from 0010-fc00-6512

LMR frames returned from the target MEP with MAC address 0010-FC00-6512.

Far-end frame loss

Number of lost frames on the target MEP.

Near-end frame loss

Number of lost frames on the source MEP.

Far-end frame loss rate

Frame loss ratio on the target MEP.

Near-end frame loss rate

Frame loss ratio on the source MEP.

Average

Average number of lost frames.

Sent LMMs

Number of sent LMM frames.

Received

Number of received LMR frames.

 

Related commands

cfd dlm continual

cfd frame-count mode

cfd slm continual

cfd slm continual

Use cfd slm continual to configure continual one-way LM.

Use undo cfd slm continual to disable continual one-way LM.

Syntax

cfd slm continual service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ] [ interval { interval | msec msec-interval }] [ period period ]

undo cfd slm continual service-instance instance-id mep mep-id

Default

Continual one-way LM is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for LMM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

interval interval: Specifies the LMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

msec msec-interval: Specifies the LMM frame sending interval, in milliseconds. The value takes 100, 1000, 10000, 60000, or 600000. The default value is 1000.

period period: Specifies the statistics collection period in the range of 1 to 65535 seconds.

Usage guidelines

The continual one-way LM function measures the frame loss between the source and target MEPs by using LMM frames and LMR frames.

You can implement one-way LM by using the following test types:

·     Continual one-way LM.

·     Short-period one-way LM.

·     Scheduled one-way LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

If the device supports hardware CC, you can specify the target MEP only by its MAC address. You cannot specify the target MEP by its ID.

If the frame counting mode is dot1p-based, you must specify the dot1p dot1p-value option. If the frame counting mode is port-based, do not specify the dot1p dot1p-value option.

To modify continual one-way LM settings for a source MEP, disable continual one-way LM and then reconfigure the function for the source MEP.

Before enabling continual one-way LM in an MPLS Layer 2 VPN, you must configure the same frame counting mode on the source MEP and target MEP.

To display the continual one-way LM result, use the display cfd slm history command on the device where the source MEP resides.

Examples

# Enable the continual one-way LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> system-view

[Sysname] cfd slm continual service-instance 1 mep 1101 target-mep 2001

Related commands

cfd dlm continual

cfd slm

display cfd slm history

cfd slm duration start

Use cfd slm duration start to start a scheduled one-way LM.

Syntax

cfd slm duration duration-time start service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ peer ip-address pw-id pw-id ] [ dot1p dot1p-value ] [ interval { interval | msec msec-interval }]

Views

Any view

Predefined user roles

network-admin

Parameters

duration-time: Specifies a one-way LM test duration in the range of 1 to 65535 seconds.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, which is in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

peer ip-address: Specifies a remote PE device by its LSR ID. This option is required only if the target MEP resides on a remote PE device in a VPLS network.

pw-id pw-id: Specifies a PW by its ID in the range of 1 to 4294967295.

dot1p dot1p-value: Specifies an 802.1p priority for LMM frames. The value range for the dot1p-value argument is 0 to 7. The default value is 7.

interval interval: Specifies the LMM frame sending interval, in seconds. The value takes 1, 10, 60, or 600. The default value is 1.

msec msec-interval: Specifies the LMM frame sending interval, in milliseconds. The value takes 100, 1000, 10000, 60000, or 600000. The default value is 1000.

Usage guidelines

The scheduled one-way LM function measures the frame loss between the source and target MEPs by using LMM frames and LMR frames.

You can implement one-way LM by using the following test types:

·     Continual one-way LM.

·     Short-period one-way LM.

·     Scheduled one-way LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

Before starting a scheduled one-way LM in an MPLS Layer 2 VPN, you must configure the same frame counting mode on the source MEP and target MEP.

If the frame counting mode is dot1p-based, you must specify the dot1p dot1p-value option. If the frame counting mode is port-based, do not specify the dot1p dot1p-value option.

Examples

# Start a scheduled one-way LM to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1 within 60 seconds.

<Sysname> system-view

[Sysname] cfd slm duration 60 start service-instance 1 mep 1101 target-mep 2001

Related commands

cfd slm

cfd slm continual

display cfd slm history

cfd slm duration stop

Use cfd slm duration stop to stop a scheduled one-way LM.

Syntax

cfd slm duration stop service-instance instance-id mep mep-id

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

Examples

# Stop a scheduled one-way LM for source MEP 1101 in service instance 1.

<Sysname> system-view

[Sysname] cfd slm duration stop service-instance 1 mep 1101

Related commands

cfd slm duration start

cfd slm threshold

Use cfd slm threshold to configure the lower limit and upper limit for continual one-way LM.

Use undo cfd slm threshold to restore the default.

Syntax

cfd slm { far-end | near-end } threshold service-instance instance-id mep mep-id { lower-limit lower-limit | upper-limit upper-limit } *

undo cfd slm { far-end | near-end } threshold service-instance instance-id mep mep-id [ lower-limit | upper-limit ]

Default

The lower limit and upper limit for continual one-way LM are 0 and 100%, respectively, for both the source and target MEPs.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

far-end: Configures the lower limit and upper limit for the target MEP.

near-end: Configures the lower limit and upper limit for the source MEP.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

lower-limit lower-limit: Specifies the lower limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001. The lower limit must be smaller than the upper limit.

upper-limit upper-limit: Specifies the upper limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001.

Usage guidelines

This command takes effect only after you configure continual one-way LM.

If the packet loss ratio for the source MEP or target MEP reaches or exceeds the upper limit for three consecutive times, the system displays a message about the situation.

If the packet loss ratios for both the source MEP and target MEP reach or fall below the lower limit for three consecutive times, the system displays a message about the situation.

Examples

# Configure the lower limit and upper limit as 0.2% and 0.8%, respectively, for source MEP 1101 in service instance 1.

<Sysname> system-view

[Sysname] cfd slm near-end threshold service-instance 1 mep 1101 lower-limit 0.2 upper-limit 0.8

Related commands

cfd slm continual

display cfd slm history

cfd synthetic-slm

Use cfd synthetic-slm to enable short-period single-ended synthetic LM.

Syntax

cfd synthetic-slm service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] [ interval msec-interval ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

number number: Specifies the number of SLM frames to be sent. The value range for the number argument is 1 to 100, and the default is 10.

interval msec-interval: Specifies the SLM frame sending interval in milliseconds. The value takes 100 or 1000. The default value is 1000.

Usage guidelines

The short-period single-ended synthetic LM function measures the frame loss between the source and target MEPs by using SLM frames and SLR frames.

You can implement single-ended synthetic LM by using the following test types:

·     Continual single-ended synthetic LM.

·     Short-period single-ended synthetic LM.

·     Scheduled single-ended synthetic LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

This function is supported only in EVPN VPWS and MPLS VPWS networks.

Examples

# Enable the single-ended synthetic LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> cfd synthetic-slm service-instance 1 mep 1101 target-mep 2001

Please wait while testing is in progress.

Reply from 0010-fc00-6512:

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

Table 6 Command output

Field

Description

Near-end frame send

Number of SLM frames sent by the source MEP.

Far-end frame send

Number of SLM frames sent by the target MEP.

Near-end frame loss

Number of lost frames on the source MEP.

Far-end frame loss

Number of lost frames on the target MEP.

Near-end frame loss rate

Frame loss ratio on the source MEP.

Far-end frame loss rate

Frame loss ratio on the target MEP.

 

Related commands

cfd synthetic-slm continual

cfd synthetic-slm continual

Use cfd synthetic-slm continual to enable continual single-ended synthetic LM.

Use undo cfd synthetic-slm continual to disable continual single-ended synthetic LM.

Syntax

cfd synthetic-slm continual service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] [ interval  msec-interval ]

undo cfd synthetic-slm continual service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id }

Default

Continual single-ended synthetic LM is disabled.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

interval msec-interval: Specifies the SLM frame sending interval, in milliseconds. The value takes 1000 or 10000. The default value is 1000.

number number: Specifies the number of SLM frames to be sent at a time. The value range for the number argument is 1 to 100, and the default is 10. After the number of SLM frames are sent, a frame loss measurement is performed.

Usage guidelines

The continual single-ended synthetic LM function measures the frame loss between the source and target MEPs by using SLM frames and SLR frames.

You can implement single-ended synthetic LM by using the following test types:

·     Continual single-ended synthetic LM.

·     Short-period single-ended synthetic LM.

·     Scheduled single-ended synthetic LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

This function is supported only in EVPN VPWS and MPLS VPWS networks.

To display the continual single-ended synthetic LM result, use the display cfd synthetic-slm history command on the device where the source MEP resides.

Examples

# Enable the continual single-ended synthetic LM function to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> system-view

[Sysname] cfd synthetic-slm continual service-instance 1 mep 1101 target-mep 2001

Related commands

cfd synthetic-slm

display cfd synthetic-slm history

cfd synthetic-slm duration start

Use cfd synthetic-slm duration start to start a scheduled single-ended synthetic LM.

Syntax

cfd synthetic-slm duration duration-time start service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ number number ] [ interval  msec-interval ]

Views

Any view

Predefined user roles

network-admin

Parameters

duration-time: Specifies a single-ended synthetic LM test duration in the range of 1 to 65535 seconds.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

interval msec-interval: Specifies the SLM frame sending interval, in milliseconds. The value takes 1000 or 10000. The default value is 1000.

number number: Specifies the number of SLM frames to be sent at a time. The value range for the number argument is 1 to 100, and the default is 10. After the number of SLM frames are sent, a frame loss measurement is performed.

Usage guidelines

The scheduled single-ended synthetic LM function measures the frame loss between the source and target MEPs by using SLM frames and SLR frames.

You can implement single-ended synthetic LM by using the following test types:

·     Continual single-ended synthetic LM.

·     Short-period single-ended synthetic LM.

·     Scheduled single-ended synthetic LM.

You can configure only one of the test types for a source MEP. To change the test type, you must stop the ongoing test and then start a new test.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

This function is supported only in EVPN VPWS and MPLS VPWS networks.

Examples

# Start a scheduled single-ended synthetic LM to measure the frame loss between source MEP 1101 and target MEP 2001 in service instance 1 within 100 seconds.

<Sysname> cfd synthetic-slm duration 100 start service-instance 1 mep 1101 target-mep 2001

Related commands

cfd synthetic-slm

cfd synthetic-slm continual

display cfd synthetic-slm history

cfd synthetic-slm duration stop

Use cfd synthetic-slm duration stop to stop a scheduled single-ended synthetic LM.

Syntax

cfd synthetic-slm duration stop service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id }

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies the source MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

Examples

# Stop a scheduled single-ended synthetic LM that measures the frame loss between source MEP 1101 and target MEP 2001 in service instance 1.

<Sysname> cfd synthetic-slm duration stop service-instance 1 mep 1101 target-mep 2001

Related commands

cfd synthetic-slm duration start

cfd synthetic-slm threshold

Use cfd synthetic-slm threshold to configure the lower limit and upper limit for continual single-ended synthetic LM.

Use undo cfd synthetic-slm threshold to restore the default.

Syntax

cfd synthetic-slm { far-end | near-end } threshold service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } { lower-limit lower-limit | upper-limit upper-limit } *

undo cfd synthetic-slm { far-end | near-end } threshold service-instance instance-id mep mep-id { target-mac mac-address | target-mep target-mep-id } [ lower-limit | upper-limit ]

Default

The lower limit and upper limit for continual single-ended synthetic LM are 0 and 100%, respectively, for both the source and target MEPs.

Views

System view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

far-end: Configures the lower limit and upper limit for the target MEP.

near-end: Configures the lower limit and upper limit for the source MEP.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

target-mac mac-address: Specifies the target MEP by its bridge MAC address, in the format of H-H-H.

target-mep target-mep-id: Specifies the target MEP by its ID in the range of 1 to 8191.

lower-limit lower-limit: Specifies the lower limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001. The lower limit must be smaller than the upper limit.

upper-limit upper-limit: Specifies the upper limit in percentage, in the range of 0 to 100. It can contain a maximum of 8 digits, including the dot (.), for example, 1.000001.

Usage guidelines

This command takes effect only after you configure continual single-ended synthetic LM.

To view the bridge MAC address of the target MEP, execute the display lacp system-id command on the target MEP.

If the packet loss ratio for the source MEP or target MEP reaches or exceeds the upper limit for three consecutive times, the system displays a message about the situation.

If the packet loss ratios for both the source MEP and target MEP reach or fall below the lower limit for three consecutive times, the system displays a message about the situation.

Examples

# Configure the lower limit and upper limit as 0.2% and 0.8%, respectively, for source MEP 1101 in service instance 1.

<Sysname> system-view

[Sysname] cfd synthetic-slm near-end threshold service-instance 1 mep 1101 target-mep 1102 lower-limit 0.2 upper-limit 0.8

Related commands

cfd synthetic-slm continual

display cfd synthetic-slm history

display cfd dlm history

Use display cfd dlm history to display the two-way LM result.

Syntax

display cfd dlm history [ service-instance instance-id [ mep mep-id ] ] [ number number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the two-way LM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the two-way LM results for all MEPs.

number number: Specifies the number of most recent two-way LM result entries to be displayed, in the range of 1 to 64. The default is 5.

Examples

# Display the two-way LM result for source MEP 1101 in service instance 1.

<Sysname> display cfd dlm history service-instance 1 mep 1101

Total continual tests: 1

Service instance: 1

MEP ID: 1101

Send status: Testing

Test state: Active

Reply from 0010-fc00-6512:

Far-end frame loss : 1000        Far-end frame loss rate : 0.10%

Near-end frame loss: 2000        Near-end frame loss rate: 0.20%

Reply from 0010-fc00-6512:

Far-end frame loss : 4000        Far-end frame loss rate : 0.40%

Near-end frame loss: 4000        Near-end frame loss rate: 0.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 0           Far-end frame loss rate : 0.00%

Near-end frame loss: 1000        Near-end frame loss rate: 0.10%

Reply from 0010-fc00-6512:

Far-end frame loss : 3000        Far-end frame loss rate : 0.30%

Near-end frame loss: 3000        Near-end frame loss rate: 0.30%

Reply from 0010-fc00-6512:

Far-end frame loss : 2000        Far-end frame loss rate : 0.20%

Near-end frame loss: 1           Near-end frame loss rate: <0.01%

Average:

Far-end frame loss : 2000        Far-end frame loss rate : 0.20%

Near-end frame loss: 2500        Near-end frame loss rate: 0.25%

Table 7 Command output

Field

Description

Total continual tests

Total number of continual two-way LM tests.

Send status

LM test status:

·     Testing—An LM test is in progress.

·     Init—An LM test is in initialization state and is about to start.

·     Stop—An LM test stopped.

If an LM test has never been performed on a source MEP, this field displays a hyphen (-).

Test state

Test state:

·     Active.

·     Inactive (reason). Table 9 shows possible reasons for this state.

·     -—Unknown.

Reply from 0010-fc00-6512

CCM frames returned from the target MEP with MAC address 0010-FC00-6512.

Far-end frame loss

Number of lost frames on the target MEP.

Near-end frame loss

Number of lost frames on the source MEP.

Far-end frame loss rate

Frame loss ratio on the target MEP.

Near-end frame loss rate

Frame loss ratio on the source MEP.

Average

Average number of lost frames.

 

Related commands

cfd dlm continual

display cfd dm two-way history

Use display cfd dm two-way history to display the two-way DM result.

Syntax

display cfd dm two-way history [ service-instance instance-id [ mep mep-id ] ] [ number number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the two-way DM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the two-way DM results for all MEPs.

number number: Specifies the number of most recent two-way DM result entries to be displayed, in the range of 1 to 64. The default is 5.

Examples

# Display the two-way DM results for all the MEPs in all service instances.

<Sysname> display cfd dm two-way history

Total continual tests: 2

Service instance: 1

MEP ID: 1003

Send status: Testing

Test state: Active

Frame delay:

Reply from 0010-fc00-6512: 10us

Reply from 0010-fc00-6512: 9us

Reply from 0010-fc00-6512: 11us

Reply from 0010-fc00-6512: 5us

Reply from 0010-fc00-6512: 5us

Average: 8us

Frame jitter: 1us 2us 6us 0us

Average: 2us

 

MEP ID: 1004

Remaining time: 30s

Send status: Init

Test state: Inactive (cfd disable)

Frame delay:

Reply from 0010-fc00-6512: 10us

Reply from 0010-fc00-6512: 9us

Reply from 0010-fc00-6512: 11us

Reply from 0010-fc00-6512: 5us

Reply from 0010-fc00-6512: 5us

Average: 8us

Frame jitter: 1us 2us 6us 0us

Average: 2us

 

Service instance: 2

No MEP exists in the service instance.

Table 8 Command output

Field

Description

Total continual tests

Total number of continual two-way DM tests.

Remaining time

Remaining time of the scheduled two-way DM test. This field is available only when scheduled two-way DM is configured.

Send status

DM test status:

·     Testing—A DM test is in progress.

·     Init—A DM test is in initialization state and is about to start.

·     Stop—A DM test stopped.

If a DM test has never been performed on a source MEP, this field displays a hyphen (-).

Test state

Test state:

·     Active.

·     Inactive (reason). Table 9 shows possible reasons for this state.

·     -—Unknown.

Reply from 0010-fc00-6512

Delay of DMR frames returned from the target MEP with MAC address 0010-FC00-6512.

Average

Average frame delay or average frame delay variation.

 

Table 9 Reasons for the Inactive state

Reason

Description

cfd disable

CFD is disabled.

not support

The test type is not supported.

mep disable

The MEP is disabled.

target information error

The target MEP information is incorrect.

link down

The link state is down.

frame-count mode error

The frame counting mode setting is incorrect.

rmep failed

The CC fails.

 

Related commands

cfd dm two-way

cfd dm two-way continual

display cfd dm two-way statistics

Use display cfd dm two-way statistics to display the two-way DM packet statistics.

Syntax

display cfd dm two-way statistics [ service-instance instance-id [ mep mep-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the two-way DM packet statistics for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the two-way DM packet statistics for all MEPs.

Examples

# Display the two-way DM packet statistics for all the MEPs in all service instances.

<Sysname> display cfd dm two-way statistics

Service instance: 1

MEP ID: 1101

  Sent: 100          Received: 100

MEP ID: 2101

  Sent: 100          Received: 100

 

Service instance: 2

MEP ID: 1101

  Sent: 10           Received: 10

Table 10 Command output

Field

Description

Service instance

Service instance of the MEP.

Sent

Number of sent DMM frames.

Received

Number of received DMR frames.

 

Related commands

cfd dm two-way

cfd dm two-way continual

cfd dm two-way duration start

display cfd linktrace-reply

Use display cfd linktrace-reply to display the LTR information received by a MEP.

Syntax

display cfd linktrace-reply [ service-instance instance-id [ mep mep-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies the service instance ID in the range of 1 to 32767. If you do not specify this option, the command displays the LTR information for all service instances.

mep mep-id: Specifies the ID of a MEP, in the range of 1 to 8191. If you do not specify this option, the command displays the LTR information for all MEPs.

Usage guidelines

This command displays only information about LTRs received by execution of the cfd linktrace command.

Examples

# Display the LTR information saved on all the MEPs in every service instance.

<Sysname> display cfd linktrace-reply

Service instance: 1       MEP ID: 1003

MAC address               TTL     Last MAC          Relay action

0000-fc00-6505            63      0000-fc00-6504    MPDB

000f-e269-a852            62      0000-fc00-6505    FDB

0000-fc00-6508            61      000f-e269-a852    Hit

Service instance: 2       MEP ID: 1023

MAC address               TTL     Last MAC          Relay action

0000-fc00-6508            61      000f-e269-a852    Hit

Table 11 Command output

Field

Description

Service instance

Service instance to which the MEPs that send LTMs belong.

MEP ID

ID of the MEP that sends LTMs.

MAC address

Source MAC address in the LTR message.

TTL

TTL of the LTM when it passes the device.

Last MAC

MAC address of the last-hop device the LTM passes.

Relay action

Indicates whether the forwarding device found the destination MAC address in its MAC address table.

When the standard version (IEEE 802.1ag) of CFD is used:

·     Hit—The current device is the destination device.

·     FDB—The forwarding device found the destination MAC address.

·     MPDB—The destination MAC address is not found, or the destination MAC address is found in the MEP database.

 

Related commands

cfd linktrace

display cfd md

Use display cfd md to display the MD configuration information.

Syntax

display cfd md

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the MD configuration information.

<Sysname> display cfd md

CFD is enabled.

Maintenance domains configured: 4 in total

Level  Index      Maintenance domain                          MD format  MD ID

0      1          md_0                                        CHARSTRING md_0

1      2          md_1                                        DNS        dns1

2      3          md_2                                        MAC        0001-00

01-0001-1

3      4          md_3                                        NONE       Without

 ID

Table 12 Command output

Field

Description

Maintenance domains configured

Number of MDs configured.

Level

Level of MD.

Index

MD index.

Maintenance domain

Name of MD.

MD format

MD name format:

·     CHARSTRING—Character string.

·     DNS—DNS name.

·     MAC—MAC address and an integer.

·     NONE—No MD name is carried.

MD ID

MD ID value:

·     A character string if the MD format is CHARSTRING.

·     A DNS name if the MD format is DNS.

·     A MAC address-subnumber if the MD format is MAC.

·     No ID if the MD format is NONE.

 

display cfd mep

Use display cfd mep to display the attribute and operating information of a MEP.

Syntax

display cfd mep mep-id service-instance instance-id

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

Examples

# In an MPLS Layer 2 VPN, display the attribute and operating information of MEP 50 in service instance 1.

<Sysname> display cfd mep 50 service-instance 1

Interface: GigabitEthernet1/0/7.1

Maintenance domain: md_0

Maintenance domain index: 1

Maintenance association: ma_0

Maintenance association index: 1

Level: 0                         Direction: Inbound

Current state: Active          CCM send: Enabled

FNG state: FNG_DEFECT_REPORTED

CCM:

Current state: CCI_WAITING

Interval: 1s        SendCCM: 12018       ReceiveCCM: 24036

 

Loopback:

NextSeqNumber: 8877

SendLBR: 0          ReceiveInOrderLBR: 0          ReceiveOutOrderLBR: 0

SendLBM: 0          ReceiveLBM: 0

 

Linktrace:

NextSeqNumber: 8877

SendLTR: 0          ReceiveLTM: 0

SendLTM: 0          ReceiveLTR: 0

 

No CCM received from some remote MEPs.

Table 13 Command output

Field

Description

Interface

Interface on which the MEP is configured.

Maintenance domain

MD to which the MEP belongs. (If the MD does not have a name, this field is displayed as Without ID.)

Maintenance domain index

Index of the MD to which the MEP belongs..

Maintenance association

MA to which the MEP belongs.

Maintenance association index

Index of the MA to which the MEP belongs.

Level

Level of the MD.

EthSrv

Ethernet service instance for the MEP.

Direction

Direction of the MEPs.

Current state

State of MEP:

·     Active.

·     Inactive.

CCM send

Whether the MEP sends CCM.

FNG state

State of FNG (Fault Notification Generator):

·     FNG_RESET—A fault has been cleared.

·     FNG_DEFECT—A fault has been detected.

·     FNG_REPORT_DEFECT—Report a fault.

·     FNG_DEFECT_REPORTED—A fault has been reported.

·     FNG_DEFECT_CLEARING—A fault is being cleared.

If this field is not supported, a hyphen (-) is displayed.

CCM

Information related to CCM.

Current state

State of CCMs sent:

·     CCI_IDLE—Initial state.

·     CCI_WAITING—Sending state.

If this field is not supported, a hyphen (-) is displayed.

Interval

Interval to send CCM. Not supported means the MEP does not support CCM sending.

SendCCM

Number of CCMs that have been sent by the MEPs.

If this field is not supported, a hyphen (-) is displayed.

ReceiveCCM

Number of CCMs that have been received by the MEPs.

If this field is not supported, a hyphen (-) is displayed.

Loopback

Information related to Loopback.

NextSeqNumber

Sequence number of the next LBM to be sent.

SendLBR

Number of LBRs that have been sent. If the MEP is inward-facing, the number of LBRs will not be counted.

ReceiveInOrderLBR

Number of LBR messages received in correct sequence.

ReceiveOutOrderLBR

Number of LBR messages received out of order.

SendLBM

Number of LBMs that have been sent. If the MEP is inward-facing, the number of LBMs will not be counted.

ReceiveLBM

Number of LBMs that have been received.

Linktrace

Information related to linktrace.

NextSeqNumber

Sequence number of the next LTM to be sent.

SendLTR

Number of LTRs sent. If the MEP is inward-facing, the number of LTRs will not be counted.

ReceiveLTM

Number of LTMs received.

SendLTM

Number of LTMs that have been sent. If the MEP is inward-facing, the number of LTMs will not be counted.

ReceiveLTR

Number of LTRs that have been received.

No CCM received from some remote MEPs.

Failure to receive CCMs from some remote MEPs. (This information is displayed only when some CCMs are lost.)

One or more streams of error CCMs is received. The last received CCM:

Display the content of the last error CCM when one or more error CCMs are received. (This information is displayed only when error CCMs are received.)

Maintenance domain

MD of the last error CCM message.

If this field is not supported, a hyphen (-) is displayed.

Maintenance association

MA of the last error CCM message.

If this field is not supported, a hyphen (-) is displayed.

MEP

ID of the MEP that sent the last error CCM message.

If this field is not supported, a hyphen (-) is displayed.

Sequence Number

Sequence number of the last error CCM.

If this field is not supported, a hyphen (-) is displayed.

Received Time

Time when the last error CCM is received.

If this field is not supported, a hyphen (-) is displayed.

One or more streams of cross-connect CCMs is received. The last received CCM:

Cross-connect CCMs are received, and the content of the last cross-connect CCM is displayed. (This information is displayed only when cross-connect CCMs are received.)

Some other MEPs are transmitting the RDI bit.

CCMs with the RDI flag bits set are received from other MEPs. (This information is displayed only when this type of CCMs are received.)

 

display cfd meplist

Use display cfd meplist to display the MEP list in a service instance.

Syntax

display cfd meplist [ service-instance instance-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays MEP lists in all service instances.

Examples

# Display the MEP list in service instance 5.

<Sysname> display cfd meplist service-instance 5

Service instance: 5

MEP list: 1 to 20, 30, 50.

display cfd mp

Use display cfd mp to display the MP information.

Syntax

display cfd mp [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number. If you do not specify this option, the command displays MP information for all interfaces.

Examples

# Display the MP information on all interfaces.

<Sysname> display cfd mp

Interface GigabitEthernet1/0/7   VLAN NONE

MEP ID: 101      Level: 2    Service instance: 102    Direction: Inbound

Maintenance domain: md_2

Maintenance domain index: 3

Maintenance association: ma_2

Maintenance association index: 3

Table 14 Command output

Field

Description

Interface GigabitEthernet1/0/7   VLAN NONE

Configuration of the MP that does not serve any VLAN or configuration of the MP in an MPLS Layer 2 VPN.

Level

MD level to which the MP belongs.

Service instance

Service instance to which the MP belongs.

Maintenance domain

MD to which the MP belongs.

Maintenance domain index

Index of the MD to which the MP belongs.

Maintenance association

MA to which the MP belongs.

Maintenance association index

Index of the MA to which the MP belongs.

Direction

Direction of the MEP:

Inbound.

 

display cfd remote-mep

Use display cfd remote-mep to display information about a remote MEP.

Syntax

display cfd remote-mep service-instance instance-id mep mep-id

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191.

Examples

# Display remote MEP information for MEP 10 in service instance 4.

<Sysname> display cfd remote-mep service-instance 4 mep 10

MEP ID   MAC address      State        Time                  MAC status

20       00e0-fc00-6565   OK           2013/03/06 02:36:38   UP

30       00e0-fc27-6502   OK           2013/03/06 02:36:38   DOWN

40       00e0-fc00-6510   FAILED       2013/03/06 02:36:39   DOWN

50       00e0-fc52-baa0   OK           2013/03/06 02:36:44   DOWN

60       0010-fc00-6502   OK           2013/03/06 02:36:42   DOWN

Table 15 Command output

Field

Description

MEP ID

ID of the remote MED.

MAC address

MAC address of the remote MEP device.

If this field is not supported, a hyphen (-) is displayed.

State

Running state of the remote MEP:

·     OK.

·     FAILED.

Time

Time when the remote MEP entered the FAILED or OK state for the last time.

If this field is not supported, a hyphen (-) is displayed.

MAC status

State of the interface indicated by the last CCM received from the remote MEP:

·     UP—The interface is ready to pass packets.

·     DOWN—The interface cannot pass packets.

·     TESTING—The interface is in some test mode.

·     UNKNOWN—The interface status cannot be determined.

·     DORMANT—The interface is not in a state to pass packets. Instead, it is in a pending state, waiting for some external event.

·     NOT-PRESENT—Some component of the interface is missing.

·     LLD—The interface is down due to state of the lower layer interfaces.

If this field is not supported, a hyphen (-) is displayed.

 

display cfd service-instance

Use display cfd service-instance to display the configuration information of service instances.

Syntax

display cfd service-instance [ instance-id ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

instance-id: Specifies a service instance ID in the range of 1 to 32767. If you do not specify this argument, the command displays configuration information for all service instances.

Examples

# In an MPLS Layer 2 VPN, display the configuration information of all service instances.

<Sysname> display cfd service-instance

Service instances configured (2 in total):

Service instance 5:

Maintenance domain: md_5

Maintenance domain index: 5

Maintenance association: ma_5

Maintenance association index: 5

Xconnect-group: vpn1

Xconnection: ldp1

Level: 5        MIP rule: NONE    CCM interval: 1s

Direction: Inbound

MEP ID: 730  Interface: GigabitEthernet1/0/6

Service instance 6:

Maintenance domain: (Without ID)

Maintenance domain index: 6

Maintenance association: ma_6

Maintenance association index: 6

Xconnect-group: vpn2

Xconnection: ldp2

Level: 6        MIP rule: NONE    CCM interval: 1s

Direction: Inbound

MEP ID: 731  Interface: GigabitEthernet1/0/7

Table 16 Command output

Field

Description

Service instances are configured.

Number of service instances configured.

Service instance

Service instance ID.

Maintenance domain

MD of the service instance. (If the MD does not have a name, this field displays Without ID.)

Maintenance domain index

Index of the MD to which the service instance belong.

Maintenance association:

MA of the service instance.

Maintenance association index

Index of the MA to which the service instance belong.

Xconnect-group

Cross-connect group name.

Xconnection

Cross-connect name.

Level

MD level.

CCM interval

Interval to send CCMs.

Direction

Direction of the MEPs configured on the service instance.

MEP ID

ID of MEPs configured on the service instance.

Interface

Interface of the MEP configured on the service instance.

 

display cfd slm history

Use display cfd slm history to display the one-way LM result.

Syntax

display cfd slm history [ service-instance instance-id [ mep mep-id ] ] [ number number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the one-way LM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the one-way LM results for all MEPs.

number number: Specifies the number of most recent one-way LM result entries to be displayed, in the range of 1 to 64. The default is 5.

Examples

# Display the one-way LM result for source MEP 1101 in service instance 1.

<Sysname> display cfd slm history service-instance 1 mep 1101

Service instance: 1

MEP ID: 1101

Send status: Testing

Test state: Active

Reply from 0010-fc00-6512:

Far-end frame loss : 10                   Far-end frame loss rate : 10.00%

Near-end frame loss: 20                   Near-end frame loss rate: 20.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 40                   Far-end frame loss rate : 40.00%

Near-end frame loss: 40                   Near-end frame loss rate: 40.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 0                    Far-end frame loss rate : 0.00%

Near-end frame loss: 10                   Near-end frame loss rate: 10.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 30                   Far-end frame loss rate : 30.00%

Near-end frame loss: 30                   Near-end frame loss rate: 30.00%

Reply from 0010-fc00-6512:

Far-end frame loss : 20                   Far-end frame loss rate : 20.00%

Near-end frame loss: 25                   Near-end frame loss rate: 25.00%

Average:

Far-end frame loss : 20                   Far-end frame loss rate : 20.00%

Near-end frame loss: 25                   Near-end frame loss rate: 25.00%

Packet statistics:

Sent LMMs: 100    Received: 100

Table 17 Command output

Field

Description

Total continual tests

Total number of continual one-way LM tests.

Remaining time

Remaining time of the scheduled one-way LM test. This field is available only when scheduled one-way LM is configured.

Send status

LM test status:

·     Testing—An LM test is in progress.

·     Init—An LM test is in initialization state and is about to start.

·     Stop—An LM test stopped.

If an LM test has never been performed on a source MEP, this field displays a hyphen (-).

Test state

Test state:

·     Active.

·     Inactive (reason). Table 9 shows possible reasons for this state.

·     -—Unknown.

Reply from 0010-fc00-6512

LMR frames returned from the target MEP with MAC address 0010-FC00-6512.

Far-end frame loss

Number of lost frames on the target MEP.

Near-end frame loss

Number of lost frames on the source MEP.

Far-end frame loss rate

Frame loss ratio on the target MEP.

Near-end frame loss rate

Frame loss ratio on the source MEP.

Average

Average number of lost frames.

 

Related commands

cfd slm

cfd slm continual

display cfd slm statistics

Use display cfd slm statistics to display the one-way LM packet statistics.

Syntax

display cfd slm statistics [ service-instance instance-id [ mep mep-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the one-way LM packet statistics for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the one-way LM packet statistics for all MEPs.

Examples

# Display the one-way LM packet statistics for all the MEPs in all service instances.

<Sysname> display cfd slm statistics

Service instance: 1

MEP ID: 1101

  Sent: 100          Received: 100

MEP ID: 2101

  Sent: 100          Received: 100

 

Service instance: 2

MEP ID: 1101

  Sent: 10           Received: 10

Table 18 Command output

Field

Description

Service instance

Service instance of the MEP.

Sent

Number of sent LMM frames.

Received

Number of received LMR frames.

 

Related commands

cfd slm

cfd slm continual

display cfd status

Use display cfd status to display the CFD status.

Syntax

display cfd status

Views

Any view

Predefined user roles

network-admin

network-operator

Examples

# Display the CFD status.

<Sysname> display cfd status

CFD is enabled.

AIS is disabled.

Table 19 Command output

Field

Description

AIS is enabled

This field is not supported in the current software version.

AIS is enabled.

AIS is disabled

This field is not supported in the current software version.

AIS is disabled.

display cfd synthetic-slm history

Use display cfd synthetic-slm history to display the single-ended synthetic LM result.

Syntax

display cfd synthetic-slm history [ service-instance instance-id [ mep mep-id [ target-mac mac-address | target-mep target-mep-id ] ] ] [ number number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command displays the single-ended synthetic LM results for all service instances.

mep mep-id: Specifies a source MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the single-ended synthetic LM results for all source MEPs.

[ target-mac mac-address | target-mep target-mep-id ]: Specifies a target MEP by its bridge MAC address, in the format of H-H-H, or specifies a target MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command displays the single-ended synthetic LM results for all target MEPs of the source MEP.

number number: Specifies the number of most recent one-way LM result entries to be displayed, in the range of 1 to 64. The default is 5.

Examples

# Display all single-ended synthetic LM results.

<Sysname> display cfd synthetic-slm history

Total continual tests: 2

Service instance: 1

Test instance: mep(1101) to target-mep(1102)

Remaining time: 120s

Send status: Testing

Test status: Active

Index 1

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 2

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 3

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 4

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 5

Near-end frame send: 10                   Far-end frame send: 10

Near-end frame loss: 0                    Far-end frame loss: 0

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 0.00%

 

Average Near-end loss rate:   0.00%       Average Far-end loss rate: 16.00%

Maximum Near-end loss rate:   0.00%       Maximum Far-end loss rate: 20.00%

Minimum Near-end loss rate:   0.00%       Minimum Far-end loss rate:  0.00%

 

Service instance: 2

Test instance: mep(1201) to target-mac(0010-fc00-6512)

Send status: Testing

Test status: Active

Index 1

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 2

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 3

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 4

Near-end frame send: 10                   Far-end frame send: 8

Near-end frame loss: 0                    Far-end frame loss: 2

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 20.00%

 

Index 5

Near-end frame send: 10                   Far-end frame send: 10

Near-end frame loss: 0                    Far-end frame loss: 0

Near-end frame loss rate: 0.00%           Far-end frame loss rate: 0.00%

 

Average Near-end loss rate:   0.00%       Average Far-end loss rate: 16.00%

Maximum Near-end loss rate:   0.00%       Maximum Far-end loss rate: 20.00%

Minimum Near-end loss rate:   0.00%       Minimum Far-end loss rate:  0.00%

Table 20 Command output

Field

Description

Total continual tests

Total number of continual single-ended synthetic LM tests.

Remaining time

Remaining time of the scheduled single-ended synthetic LM test. This field is available only when scheduled single-ended synthetic LM is configured.

Send status

LM test status:

·     Testing—An LM test is in progress.

·     Init—An LM test is in initialization state and is about to start.

·     Stop—An LM test stopped.

If an LM test has never been performed on a source MEP, this field displays a hyphen (-).

Test status

Test status:

·     Active.

·     Inactive (reason). Table 9 shows possible reasons for this state.

·     -—Unknown.

Index

Number of times the test was performed. For example, Index 4 indicates that the test was performed for the fourth time.

Near-end frame send

Number of SLMs sent by the source MEP.

Far-end frame send

Number of SLRs sent by the target MEP.

Near-end frame loss

Number of lost SLRs sent by the target MEP.

Far-end frame loss

Number of lost SLMs sent by the source MEP.

Near-end frame loss rate

Frame loss ratio of SLRs sent by the target MEP.

Far-end frame loss rate

Frame loss ratio of SLMs sent by the source MEP.

Average Near-end loss rate

Average frame loss ratio of SLRs received by the source MEP during the statistics collection interval.

Average Far-end loss rate

Average frame loss ratio of SLMs received by the target MEP during the statistics collection interval.

Maximum Near-end loss rate

Maximum frame loss ratio of SLRs received by the source MEP during the statistics collection interval.

Maximum Far-end loss rate

Maximum frame loss ratio of SLMs received by the target MEP during the statistics collection interval.

Minimum Near-end loss rate

Minimum frame loss ratio of SLRs received by the source MEP during the statistics collection interval.

Minimum Far-end loss rate

Minimum frame loss ratio of SLMs received by the target MEP during the statistics collection interval.

 

Related commands

cfd synthetic-slm

cfd synthetic-slm continual

reset cfd dlm history

Use reset cfd dlm history to clear the two-way LM result.

Syntax

reset cfd dlm history [ service-instance instance-id [ mep mep-id ] ]

Views

User view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command clears the two-way LM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command clears the two-way LM results for all MEPs.

Examples

# Clear the two-way LM results for all MEPs in all service instances.

<Sysname> reset cfd dlm history

Related commands

cfd dlm continual

display cfd dlm history

reset cfd dm two-way history

Use reset cfd dm two-way history to clear the two-way DM result.

Syntax

reset cfd dm two-way history [ service-instance instance-id [ mep mep-id ] ]

Views

User view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command clears the two-way DM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command clears the two-way DM results for all MEPs.

Examples

# Clear the two-way DM results for all MEPs in all service instances.

<Sysname> reset cfd dm two-way history

Related commands

cfd dm two-way

cfd dm two-way continual

display cfd dm two-way history

reset cfd slm history

Use reset cfd slm history to clear the one-way LM result.

Syntax

reset cfd slm history [ service-instance instance-id [ mep mep-id ] ]

Views

User view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command clears the one-way LM results for all service instances.

mep mep-id: Specifies a MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command clears the one-way LM results for all MEPs.

Examples

# Clear the one-way LM results for all MEPs in all service instances.

<Sysname> reset cfd slm history

Related commands

cfd slm

cfd slm continual

display cfd slm history

reset cfd synthetic-slm history

Use reset cfd synthetic-slm history to clear the single-ended synthetic LM result.

Syntax

reset cfd synthetic-slm history [ service-instance instance-id [ mep mep-id [ target-mac mac-address | target-mep target-mep-id ] ] ]

Views

Any view

Predefined user roles

network-admin

Parameters

service-instance instance-id: Specifies a service instance by its ID in the range of 1 to 32767. If you do not specify this option, the command clears the single-ended synthetic LM results for all service instances.

mep mep-id: Specifies a source MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command clears the single-ended synthetic LM results for all source MEPs.

[ target-mac mac-address | target-mep target-mep-id ]: Specifies a target MEP by its bridge MAC address, in the format of H-H-H, or specifies a target MEP by its ID in the range of 1 to 8191. If you do not specify this option, the command clears the single-ended synthetic LM results for all target MEPs.

Examples

# Clear the single-ended synthetic LM result for all MEPs in all service instances.

<Sysname> reset cfd synthetic-slm history

Related commands

cfd synthetic-slm

cfd synthetic-slm continual

display cfd synthetic-slm history

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网