R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

179
<Sysname> system-view
[Sysname] interface atm 2/4/0
[Sysname-ATM2/4/0] pvc 1/32
[Sysname-ATM2/4/0-pvc-1/32] oam ais-rdi up 5 down 5
# Configure the AIS/RDI alarm detection parameters for PVC 1/33 of PVC-group 2, setting up-seconds
to 5 and down-seconds to 5.
<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 ais-rdi up 5 down 5
oam cc
Use oam cc to enable the OAM CC function on the PVC.
Use undo oam cc to restore the default.
Syntax
oam cc { both | sink | source }
undo oam cc
Default
OAM CC is disabled.
Views
PVC view, PVC view in a PVC-group
Predefined user roles
network-admin
Parameters
both: Enables the PVC as both the CC cell source and the CC cell sink (receiver).
sink: Enables the PVC as the CC cell sink to receive and process CC cells.
source: Enables the PVC as the CC cell source to generate CC cells.
Usage guidelines
When you configure OAM CC on a PVC, configure one end of the PVC as the CC cell source and the
other end as the CC cell sink.
After you enable OAM CC on a PVC, if the detecting end fails to receive CC cells within 3 seconds, the
state of the PVC changes to down. The PVC state changes to up only after CC cells are received again.
Examples
# Enable OAM CC on PVC 1/32 of interface ATM 1/0.
<Sysname> system-view
[Sysname] interface atm 2/4/0
[Sysname-ATM2/4/0] pvc 1/32
[Sysname-ATM2/4/0-pvc-1/32] oam cc sink
# Enable OAM CC on PVC 1/33 of PVC-group 2.
<Sysname> system-view