ce-ping bd

Function

The ce-ping bd command checks the connectivity between the PE and CE in a specified Bridge Domain (BD) in Ethernet Virtual Connection (EVC) scenarios.

Format

ce-ping ip-address bd bd-id source-ip source-ip-address [ mac mac-address | count count | interval interval ] *

Parameters

Parameter Description Value
ip-address

Specifies a destination IP address for CE ping.

The value is in dotted decimal notation.

bd bd-id

Specifies the ID of a BD for CE ping.

The value is an integer ranging from 1 to 16777215.

source-ip source-ip-address

Specifies a source IP address for CE ping.

The value is in dotted decimal notation.

mac mac-address

Specifies a source MAC address for CE ping.

The value ranges from E024-7FA4-D2CB to E024-7FA4-D2DA. The MAC address must meet the following conditions:

  • You can specify only one source MAC address for a device. You must specify different source MAC addresses for different devices.
  • The source MAC address for CE ping must not be used by an interface.

By default, the system automatically selects one MAC address from 16 MAC addresses for CE ping as the source MAC address and encapsulates it into a packet. The system may not select different MAC addresses for different devices. Therefore, you are advised to manually configure this parameter.

If you run the mac-address blackhole command to configure an MAC address as a blackhole MAC address, the MAC address can no longer be specified as the source MAC address for CE ping.

count count

Specifies the number of CE Ping packets to be sent.

The value is an integer ranging from 1 to 255. The default value is 3.

interval interval

Specifies the interval at which CE Ping packets are sent.

The value is an integer ranging from 1 to 10, in seconds. The default value is 3 seconds.

Views

All views

Default Level

0: Visit level

Task Name and Operations

Task Name Operations
sla execute

Usage Guidelines

Usage Scenario

To check the connectivity between the PE on an MPLS network and the CE in a specified BD in EVC scenarios, run the ce-ping bd command on the PE. The PE broadcasts CE Ping packets to the specified BD to request the destination CE's MAC address. If the PE can receive a response packet from the CE, the CE is reachable.

Precautions

When you specify a source IP address, note the following points:

  • The source IP address must be on the same network segment as the CE's IP address. If they are on different network segments, the CE considers received CE pings invalid and discards them.
  • The source IP address must be an unused IP address in the specified BD. If you specify a used IP address for the source IP address, CE Ping packets cannot be properly forwarded. As a result, the user using the source IP address cannot access the Internet. If you specify a gateway IP address for the source IP address, all users cannot access the Internet.

    To avoid this problem, do not specify a used IP address for the source IP address.

Example

# Check CE connectivity with the following settings:
<HUAWEI> ce-ping 10.1.1.1 bd 123 source-ip 10.1.1.2 mac 00e0-fc12-5678 interval 2 count 5
Info: If the designated source IP address is in use, it could cause the abnormal data transmission in EVC network. Are you sure the source-ip is unused in this EVC? [Y/N]:y
Ce-ping is in process...
10.1.1.1 is used by 00e0-fc12-3456
Table 1 Description of the ce-ping bd command output
Item Description
10.1.1.1 is used by 00e0-fc12-3456

The address 10.1.1.1 is reachable, and the corresponding MAC address is 00-e0-fc-12-34-56.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >