217
pvc-name: Specifies a PVC by its name, a case-sensitive string of 1 to 15 characters, excluding
slashes (/) and hyphens (-). For example, neither 1/20 nor a-b is a valid PVC name.
vpi/vci: Specifies a PVC by its VPI and VCI values. The value range for the vpi argument is 0 to 255.
The value range for the vci argument varies by interface type. For more information, see Table 46.
The values of the vpi and vci arguments cannot be 0 at the same time. As a best practice, do not use
VCI values 0 through 31 because they are reserved for special purposes.
number: Specifies the number of OAM F5 end-to-end cells to be transmitted, in the range of 1 to
1000. The default is 5.
timeout: Specifies the OAM F5 end-to-end response timeout period in the range of 1 to 30 seconds.
The default is 2 seconds.
Usage guidelines
Use this command to send OAM F5 end-to-end cells through the specified PVC on the 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 the system does not receive a response within the time specified
by the timeout argument, the system sends an O AM 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 the interface ATM 2/4/0 by sending three 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 the interface ATM 2/4/0 by sending three 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 45 Command output
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 in 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.