Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring an Iterator

The following examples illustrate the configuration of an iterator for two-way delay measurement and loss measurement and the configuration of a remote MEP with an iterator profile. The examples also illustrate disabling an iterator profile with the disable statement and deactivating an iterator profile with the deactivate command.

Example: Configuring an Iterator Profile for Two-way Delay Measurement

Configuring an iterator profile i1 for two-way delay measurement, where the cycle time value is 1000 ms, iteration period is 2000 cycles per second, delay value is 1, and delay variation value is 1:

[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles]
i1 {cycle-time 1000;iteration-period 2000;measurement-type two-way-delay;calculation-weight {delay 1;delay-variation 1;}}

Example: Configuring an Iterator Profile for Loss Measurement

Configuring an iterator profile i2 for loss measurement, where the cycle time value is 1000 ms and iteration period is 2000 cycles per second:

[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles]
12 {cycle-time 1000;iteration-period 2000;measurement-type loss;}

Example: Configuring a Remote MEP with an Iterator Profile

Configuring a remote MEP with an iterator profile i3 for two-way delay measurement, where the data TLV size is 1, iteration count is 1, and the priority value is 1 for the remote MEP whose value is 1:

[edit protocols oam ethernet connectivity-fault-management maintenance-domain default-1 maintenance association ma1 mep 1 remote-mep 1]user@host# show
sla-iterator-profile i3 {data-tlv-size 1;iteration-count 1;priority 1;}

Example: Disabling an Iterator Profile with the disable Statement

Disabling an iterator profile i1 for two-way delay measurement with the disable statement, where the cycle time value is 1000 ms, iteration period is 2000 cycles per second, delay value is 1, delay variation value is 1:

[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles i1]
disable;cycle-time 1000;iteration-period 2000;measurement-type two-way-delay;calculation-weight {delay 1;delay-variation 1;}

Example: Disabling an Iterator Profile by Deactivating the Profile

Disabling an iterator profile i2 with the deactivate command for a remote MEP whose value is 1:

[edit protocols oam ethernet connectivity-fault-management maintenance-domain default-1 maintenance association ma1 mep 1]
remote-mep 1 {deactivate sla-iterator-profile i2;}

Published: 2013-02-13