R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - WAN Command Reference Guide

25
Examples
# Enable OAM F5 Loopback detection on PVC 1/32, and set the transmission interval of OAM F5
loopback cells to 12 seconds, set the retransmission detection up-count to 4, down-count to 4, and
retransmission period to 1 second.
<Sysname> system-view
[Sysname] interface atm 1/0/1
[Sysname-Atm1/0/1] pvc 1/32
[Sysname-atm-pvc-Atm1/0/1-1/32] oam frequency 12 up 4 down 4 retry-frequency 1
oamping interface
Use oamping interface to send OAM cells over the specified PVC on the specified ATM interface so as
to check the link state. If no response is received within the specified time, the link is bad or so busy that
packets are lost.
Syntax
oamping interface atm interface-number pvc { pvc-name | vpi/vci } [ number timeout ]
Views
ATM interface view
Default command level
2: Monitor level
Parameters
atm interface-number: Specifies an ATM main interface by its number.
pvc-name: PVC name, a unique string of 1 to 16 characters on ATM interface, case-insensitive. The name
cannot be the same as a valid VPI/VCI pair value. For example, the name 1/20 is not allowed.
vpi/vci: VPI/VCI pair. VPI is short for virtual path identifier, and its value range is 0 to 255. VCI is short
for virtual channel identifier, and its value range varies by interface type. HP recommends not using VCI
values from 0 to 31, because they are reserved for special purposes. For more information about the
value range, see Table 3.
nu
mber: Specifies the number of OAM cells to be transmitted consecutively, in the range of 1 to 1000.
The system default is 5.
timeout: Specifies the OAM response timeout period in the range of 1 to 30 seconds. The system default
is 2 seconds.
Examples
# Check the link state of PVC 1/32 on interface ATM 1/0/1, sending three cells and setting timeout
period to 1 second.
<Sysname> system-view
[Sysname] interface atm 1/0/1
[Sysname-Atm1/0/1] oamping interface atm 3/0/1 pvc 1/32 3 1
Ping interface Atm3/0/1,pvc 0/45, with 3 of 53 bytes of ATM 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