R3303-HP 6600/HSR6600 Routers High Availability Command Reference

98
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
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=3 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=4 time=1 ms
Reply from 0012-3F83-A1E3: ringlet=1 hops=1 seq=5 time=1 ms
Reply from 0012-3F83-A1E31: ringlet=1 hops=1 seq=6 time=1 ms
--- echo 0012-3F83-A1E3 statistics ---
100 packet(s) transmitted
100 packet(s) received
0.0% packet loss
round-trip min/avg/max = 1/1/16 ms
rpr mate smart-connect
Use rpr mate smart-connect to enable the RPR mate port smart connection function.
Use undo rpr mate smart-connect to disable the function.
Syntax
rpr mate smart-connect