R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
182
Usage guidelines
Use this command to send OAM F5 end-to-end cells through a specific PVC on a specified ATM interface,
and check the link state according to the response condition.
After you configure the oam ping command, the system sends an OAM F5 end-to-end cell. If the system
receives a response within the time specified by the timeout argument, it immediately sends another
OAM F5 end-to-end cell. If not, the system sends an OAM F5 end-to-end cell again. In an oam ping
process, the number of OAM F5 end-to-end cells transmitted is specified by the number argument. If no
response is received, a link failure or link congestion might occur.
Examples
# Check the link state of PVC 1/32 on interface ATM 2/4/0 by sending 3 cells and setting the timeout
period to 1 second.
<Sysname> oam ping interface atm 2/4/0 pvc 1/32 3 1
PING interface ATM2/4/0 pvc 1/32 with 3 of 53 bytes of oam F5 end-to-end cell(s),
timeout is 1 second(s), press CTRL_C to break
Receive reply from pvc 1/32: time=1 ms
Receive reply from pvc 1/32: time=1 ms
Receive reply from pvc 1/32: time=1 ms
oam ping statistics:
Cells: Sent = 3, Received = 3, Lost = 0 (0.00% loss)
# Check the link state of PVC 5/100 on interface ATM 2/4/0 by sending 3 cells and setting the timeout
period to 1 second.
<Sysname> oam ping interface atm 2/4/0 pvc 5/100 3 1
PING interface ATM2/4/0 pvc 5/100 with 3 of 53 bytes of oam F5 end-to-end cell(s),
timeout is 1 second(s), press CTRL_C to break
Request time out!
Request time out!
Request time out!
oam ping statistics:
Cells: Sent = 3, Received = 0, Lost = 3 (100.00% loss)
Table 39 Command output
Field Description
PING interface ATM2/4/0 pvc 1/32 Check if the link of PVC 1/32 on ATM 2/4/0 is available.
53 bytes Number of bytes of each cell.
timeout is 1 second(s) Response timeout period.
Receive reply from pvc 1/32: time=1 ms A response is received within the specified time.
Request time out No response is received within the specified timeout period.
Sent = 3 Number of transmitted cells.
Received = 0 Number of received responses.
Lost = 3(100.00% loss)
Cell loss rate (percentage of the number of unresponded cells to
the total number of cells transmitted).