R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)

218
Examples
# Set the AIS/RDI alarm detection parameters for PVC 1/32, setting up-seconds to 10, and down-count
to 5.
<Sysname> system-view
[Sysname] interface atm 1/0
[Sysname-Atm1/0] pvc 1/32
[Sysname-atm-pvc-Atm1/0-1/32] oam ais-rdi up 10 down 5
oam frequency
Use oam frequency to enable the transmission and retransmission detection of the OAM F5 Loopback
cell, as well as to modify the related parameters.
Use undo oam frequency to disable the transmission and retransmission detection of the cell.
Syntax
oam frequency frequency [ up up-count down down-count retry-frequency retry-frequency ]
undo oam frequency
Default
OAM F5 Loopback cell transmission is disabled, but if an OAM F5 Loopback cell is received, it should
be responded.
Views
PVC view, ATM class view
Default command level
2: System level
Parameters
frequency: Interval (in seconds) at which OAM F5 loopback cells are sent. The value range is 1 to 600.
up up-count: Specifies that the PVC goes up when the number of successive OAM F5 loopback cells
received correctly reaches the value specified by the up-count argument. The value range for the up-count
argument is 1 to 600, and the default is 3.
down down-count: Specifies that the PVC goes down when the number of successive OAM F5 loopback
cells that it fails to receive reaches the value specified by the down-count argument. The value range for
the down-count argument is 1 to 600, and the default is 5.
retry-frequency retry-frequency: Specifies the interval (in seconds) at which OAM F5 loopback cells
should be transmitted to verify a change in the PVC state (up/down). The value range is 1 to 1000. The
default is 1.
Usage guidelines
The oam frequency command is not applicable to the secondary PVCs of a PVC group.
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