R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)
181
Examples
# Enable OAM F5 Loopback detection on PVC 1/32 of interface ATM 2/4/0. Specify the loopback
interval as 12 seconds, the up-count argument as 4, the down-count argument as 4, and the retry interval
as 1 second.
<Sysname> system-view
[Sysname] interface atm 2/4/0
[Sysname-ATM2/4/0] pvc 1/32
[Sysname-ATM2/4/0-pvc-1/32] oam loopback 12 up 4 down 4 retry 1
# Enable OAM F5 Loopback detection on PVC 1/33 of PVC-group 2. Specify the loopback interval as
12 s e c o n d s , t h e up-count argument as 4, the down-count argument as 3, and the retry interval as 2
seconds.
<Sysname> system-view
[Sysname] interface atm 2/4/0
[Sysname-ATM2/4/0] pvc-group 2
[Sysname-ATM2/4/0-pvc-group-2] pvc 1/33
[Sysname-ATM2/4/0-pvc-group-2-pvc-1/33] oam loopback 12 up 4 down 3 retry 2
oam ping
Use oam ping to send OAM F5 end-to-end cells through the specified PVC on the specified ATM interface
to check the link state.
Syntax
oam ping interface interface-type { interface-number | interface-number.subnumber } pvc { pvc-name |
vpi/vci } [ number timeout ]
Views
Any view
Predefined user roles
network-admin
Parameters
interface interface-type { interface-number | interface-number.subnumber }: Specifies an interface by its
type and number. Both ATM interfaces and ATM subinterfaces are supported.
pvc: Sends OAM F5 end-to-end cells through a specified PVC.
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 depends on the interface type. For more information, see Table 40. T
he
values of the vpi and vci arguments cannot be 0 at the same time. HP recommends not using 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.