R3303-HP HSR6800 Routers High Availability Command Reference

99
rpr echo mac
Use rpr echo mac to test the connectivity between the current station and a peer station.
Syntax
rpr echo mac mac-address [ -c c-value | -r { ringlet0 | ringlet1 | reverse } | -s { ringlet0 | ringlet1 } |
-t t-value ] *
Default
Five Echo Request packets are sent. It is the default ringlet in use that sends Echo Response packets and
Echo Request packets. The response timeout time is 10 milliseconds.
Views
Layer 3 RPR logical interface view
Default command level
2: System level
Parameters
mac-address: Tests the connectivity to the station identified by the MAC address.
-c c-value: Specifies the number of Echo Requests to be sent for testing connectivity, in the range of 1 to
1000.
-r: Specifies the ringlet for the destination to send Echo Responses. It could be ringlet0, ringlet1, or
reverse. If the reverse keyword is specified, the destination station is expected to send Echo Reponses
from the ringlet different from the one from which it receives Echo Requests. For example, if the destination
station receives Echo Requests from Ringlet 0, it should send out Echo Responses onto Ringlet 1.
-s: Specifies the ringlet for sending Echo Requests, either ringlet0 or ringlet1.
-t t-value: Specifies the echo response timeout in the range of 10 to 65535 milliseconds. If it is not
specified, the default of 10 milliseconds applies.
Usage guidelines
If neither the sending ringlet nor the receiving ringlet is specified, the default ringlet in use will be used
for transmitting Echo Request packets and Echo Response packets.
The connectivity between the current station and a peer station is considered normal only when the
connections between the two stations operate correctly on both the sending ringlet and the receiving
ringlet. The peer station can receive Echo Request packets from the current node on a specific ringlet and
the current station can receive Echo Response packets from the peer station on a specific ringlet.
Otherwise, the connections between the current station and the peer station are considered faulty.
Examples
# Test the connectivity between the current station and the station with MAC address 0012-3F83-A1E3,
and specify ringlet 0 as the sending ringlet and ringlet 1 as the receiving ringlet on Layer 3 RPR logical
interface RPR 1.
<Sysname> system-view
[Sysname] interface rpr 1
[Sysname-RPR1] rpr echo mac 0012-3F83-A1E3 -s ringlet0 -r ringlet1
PING 0012-3F83-A1E3: press CTRL+C to break
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=2 time=1 ms