The ce-ping evpn source-ip command detects connectivity between a CE and a PE in an Ethernet VPN (EVPN).
Parameter | Description | Value |
---|---|---|
ip-address |
Specifies a destination IP address for CE ping. |
The value is in dotted decimal notation. |
evpn evpn-name |
Specifies the name of an EVPN for CE ping. |
The name is a string of 1 to 31 case-sensitive characters, spaces not supported. |
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. Note that the following conditions must be met:
By default, the system automatically chooses one from the 16 dedicated MAC addresses for CE ping as the source MAC address and encapsulates it in the packet. You are advised to manually assign a source MAC address for each device because different devices may choose the same MAC address. If a user runs the mac-address blackhole command to set one of the dedicated MAC addresses as a blackhole MAC address, the MAC address cannot be used as the source MAC address for CE ping any longer. |
count count |
Specifies the number of CE ping messages to be sent. |
The value is an integer ranging from 1 to 255. The default value is 3. |
interval interval |
Specifies the interval for sending CE ping messages. |
The value is an integer ranging from 1 to 10, in seconds. The default value is 3 seconds. |
Usage Scenario
In an EVPN scenario, to detect reachability to a CE in a specified EVPN broadcast domain, run the ce-ping evpn source-ip command on a PE in the MPLS network. The PE sends an ARP request to the specified EVPN broadcast domain for the MAC address of the destination CE. If the PE can receive an ARP response from the CE, the PE determines that the CE is reachable.
Precautions
When you run the command to specify the source IP address, note the following:
<HUAWEI> ce-ping 10.1.1.1 evpn huawei123 source-ip 10.1.1.12 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 EVPN network. Are you sure the source-ip is unused in this EVPN? [Y/N]:y
Ce-ping is in process...
10.1.1.1 is used by 00-e0-fc-12-34-56
Item | Description |
---|---|
10.1.1.1 is used by 00-e0-fc-12-34-56 | 10.1.1.1 is reachable, and the corresponding MAC address is 00-e0-fc-12-34-56. |