Configure an Iterator Profile
Use this topic to configure an iterator profile that periodically transmits SLA measurement packets for delay and loss measurement. You can also view and clear the iterator statistics, and configure a remote MEP with an iterator profile.
Configure an Iterator Profile
You can create an iterator profile with its parameters to periodically transmit SLA measurement packets in the form of ITU-Y.1731-compliant frames for delay measurement or loss measurement.
To create an iterator profile:
See Also
Verify the Configuration of an Iterator Profile
The following topics illustrate the configuration
of an iterator profile for a two-way delay measurement, for loss measurement,
and for a remote maintenance association end point (MEP). The topics
also illustrate disabling an iterator profile with the disable statement for two-way measurement and deactivating an iterator profile
with the deactivate command for a remote MEP.
- Display the Configuration of an Iterator Profile for Two-way Delay Measurement
- Display the Configuration of an Iterator Profile for Loss Measurement
- Display the Configuration of a Remote MEP with an Iterator Profile
- Disable an Iterator Profile
Display the Configuration of an Iterator Profile for Two-way Delay Measurement
Purpose
Display the configuration of an iterator profile for two-way delay measurement as configured in the Configuring an Iterator Profile topic with the following values:
profile-name—i1cycle-time—1000 millisecondsiteration-period—2000 cycles per seconddelay—1delay-variation—1:
Action
To display information about the iterator profile, run
the show command at the [edit protocols oam ethernet
connectivity-fault-management performance-monitoring sla-iterator-profiles] hierarchy level:
[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles]
user@host# show
i1 {
cycle-time 1000;
iteration-period 2000;
measurement-type two-way-delay;
calculation-weight {
delay 1;
delay-variation 1;
}
}
Meaning
The configuration for an iterator profile for two-way measurement is displayed as expected with set values.
Display the Configuration of an Iterator Profile for Loss Measurement
Purpose
Display the configuration of an iterator profile for loss measurement as configured in the Configuring an Iterator Profile topic with the following values:
profile-name—12cycle-time—1000 millisecondsiteration-period—2000 cycles per second
Action
To display information about the iterator profile, run
the show command at the [edit protocols oam ethernet
connectivity-fault-management performance-monitoring sla-iterator-profiles] hierarchy level:
[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles]
user@host# show
12 {
cycle-time 1000;
iteration-period 2000;
measurement-type loss;
}
Meaning
The configuration for an iterator profile for loss measurement is displayed as expected with set values.
Display the Configuration of a Remote MEP with an Iterator Profile
Purpose
Display the configuration of a remoteMEP as configured in the Configuring a Remote MEP with an Iterator Profile topic with the following values:
profile-name—i3maintenance-domain—default-1maintenance-association—1short-name-format—2octetmep—1remote-mep—1data-tlv-size—1iteration-count—1priority—1
Action
To display information about the remote MEP, run the show command at the [edit protocols oam ethernet connectivity-fault-management
maintenance-domain default-1 maintenance association ma1 mep 1 remote-mep
1] hierarchy level:
[edit protocols oam ethernet connectivity-fault-management maintenance-domain default-1 maintenance association 1 short-name-format 2octet mep 1 remote-mep 1]
user@host# show
sla-iterator-profile i3 {
data-tlv-size 1;
iteration-count 1;
priority 1;
}
Meaning
The configuration for a remote MEP for two-way measurement is displayed as expected with set values.
Disable an Iterator Profile
Purpose
To disable an iterator profile for two-way delay measurement and for a remote MEP.
Action
To disable an iterator profile (for example, i1) with the
disableconfiguration command for two-way measurement at the[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles i1]hierarchy level:[edit protocols oam ethernet connectivity-fault-management performance-monitoring sla-iterator-profiles i1] user@host# disable
To disable an iterator profile for a remote MEP (for example, i2) with the
deactivateconfiguration command at the[edit protocols oam ethernet connectivity-fault-management maintenance-domain default-1 maintenance association ma1 mep 1 remote-mep 1]hierarchy level:[edit protocols oam ethernet connectivity-fault-management maintenance-domain default-1 maintenance association ma1 mep 1 remote-mep 1] user@host# deactivate sla-iterator-profile i2
Manage Iterator Statistics
Display Iterator Statistics
Purpose
Retrieve and display iterator statistics.
Muliple iterators can be associated with a remote MEP. However, by default, only one result pertaining to one iterator profile is displayed.
Action
To display the iterator statistics for remote MEP
1and iterator profilei1with MEPs belonging to the maintenance associationma1and within the maintenance domaindefault-1(here, the iterator profilei1is configured for two-way delay measurement):user@host> show oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator i1 maintenance-domain default-1 maintenance-association ma1 local-mep 1 remote-mep 1 Iterator statistics: Maintenance domain: md6, Level: 6 Maintenance association: ma6, Local MEP id: 1000 Remote MEP id: 103, Remote MAC address: 00:90:69:0a:43:92 Iterator name: i1, Iterator Id: 1 Iterator cycle time: 10ms, Iteration period: 1 cycles Iterator status: running, Infinite iterations: true Counter reset time: 2010-03-19 20:42:39 PDT (2d 18:24 ago) Reset reason: Adjacency flap Iterator delay measurement statistics: Delay weight: 1, Delay variation weight: 1 DMM sent : 23898520 DMM skipped for threshold hit : 11000 DMM skipped for threshold hit window : 0 DMR received : 23851165 DMR out of sequence : 1142 DMR received with invalid time stamps : 36540 Average two-way delay : 129 usec Average two-way delay variation : 15 usec Average one-way forward delay variation : 22 usec Average one-way backward delay variation : 22 usec Weighted average two-way delay : 134 usec Weighted average two-way delay variation : 8 usec Weighted average one-way forward delay variation : 6 usec Weighted average one-way backward delay variation : 2 usec
Output fields are listed in the approximate order in which they appear.
Table 1: Displaying Iterator Statistics for Ethernet Delay Measurement Output Fields Output Field Name
Output Field Description
Maintenance domainMaintenance domain name.
LevelMaintenance domain level configured.
Maintenance associationMaintenance association name.
Local MEP idNumeric identifier of the local MEP.
Remote MEP idNumeric identifier of the remote MEP.
Remote MAC addressUnicast MAC address of the remote MEP.
Iterator nameName of iterator.
Iterator IdNumeric identifier of the iterator.
Iterator cycle timeNumber of cycles (in milliseconds) taken between back-to-back transmission of SLA frames for this connection
Iteration periodMaximum number of cycles per iteration
Iterator statusCurrent status of iterator whether running or stopped.
Infinite iterationsStatus of iteration as infinite or finite.
Counter reset timeDate and time when the counter was reset.
Reset reasonReason to reset counter.
Delay weightCalculation weight of delay.
Delay variation weightCalculation weight of delay variation.
DMM sentDelay measurement message (DMM) PDU frames sent to the peer MEP in this session.
DMM skipped for threshold hitNumber of DMM frames sent to the peer MEP in this session skipped during threshold hit.
DMM skipped for threshold hit windowNumber of DMM frames sent to the peer MEP in this session skipped during the last threshold hit window.
DMR receivedNumber of delay measurement reply (DMR) frames received.
DMR out of sequenceTotal number of DMR out of sequence packets received.
DMR received with invalid time stampsTotal number of DMR frames received with invalid timestamps.
Average two-way delayAverage two-way frame delay for the statistics displayed.
Average two-way delay variationAverage two-way “frame jitter” for the statistics displayed.
Average one-way forward delay variationAverage one-way forward delay variation for the statistics displayed in microseconds.
Average one-way backward delay variationAverage one-way backward delay variation for the statistics displayed in microseconds.
Weighted average two-way delayWeighted average two-way delay for the statistics displayed in microseconds.
Weighted average two-way delay variationWeighted average two-way delay variation for the statistics displayed in microseconds.
Weighted average one-way forward delay variationWeighted average one-way forward delay variation for the statistics displayed in microseconds.
Weighted average one-way backward delay variationWeighted average one-way backward delay variation for the statistics displayed in microseconds.
To display the iterator statistics for remote MEP
1and iterator profilei2with MEPs belonging to the maintenance associationma1and within the maintenance domaindefault-1(here, the iterator profilei1is configured for loss measurement):user@host> show oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator i2 maintenance-domain default-1 maintenance-association ma1 local-mep 1 remote-mep 1 Iterator statistics: Maintenance domain: md6, Level: 6 Maintenance association: ma6, Local MEP id: 1000 Remote MEP id: 103, Remote MAC address: 00:90:69:0a:43:92 Iterator name: i2, Iterator Id: 2 Iterator cycle time: 1000ms, Iteration period: 2000 cycles Iterator status: running, Infinite iterations: true Counter reset time: 2010-03-19 20:42:39 PDT (2d 18:25 ago) Reset reason: Adjacency flap Iterator loss measurement statistics: LMM sent : 238970 LMM skipped for threshold hit : 60 LMM skipped for threshold hit window : 0 LMR received : 238766 LMR out of sequence : 43 Accumulated transmit statistics: Near-end (CIR) : 0 Far-end (CIR) : 0 Near-end (EIR) : 0 Far-end (EIR) : 0 Accumulated loss statistics: Near-end (CIR) : 0 (0.00%) Far-end (CIR) : 0 (0.00%) Near-end (EIR) : 0 (0.00%) Far-end (EIR) : 0 (0.00%) Last loss measurement statistics: Near-end (CIR) : 0 Far-end (CIR) : 0 Near-end (EIR) : 0 Far-end (EIR) : 0
Output fields are listed in the approximate order in which they appear.
Table 2: Displaying Iterator Statistics for Ethernet Loss Measurement Output Fields Output Field Name
Output Field Description
Maintenance domainMaintenance domain name.
LevelMaintenance domain level configured.
Maintenance associationMaintenance association name.
Local MEP idNumeric identifier of the local MEP.
RemoteMEP identifierNumeric identifier of the remote MEP.
Remote MAC addressUnicast MAC address of the remote MEP.
Iterator nameName of iterator.
Iterator IdNumeric identifier of the iterator.
Iterator cycle timeNumber of cycles (in milliseconds) taken between back-to-back transmission of SLA frames for this connection
Iteration periodMaximum number of cycles per iteration
Iterator statusCurrent status of iterator whether running or stopped.
Infinite iterationsStatus of iteration as infinite or finite.
Counter reset timeDate and time when the counter was reset.
Reset reasonReason to reset counter.
LMM sentNumber of loss measurement message (LMM) PDU frames sent to the peer MEP in this session.
LMM skipped for threshold hitNumber of LMM frames sent to the peer MEP in this session skipped during threshold hit.
LMM skipped for threshold hit windowNumber of LMM frames sent to the peer MEP in this session skipped during the last threshold hit window.
LMR receivedNumber of LMRs frames received.
LMR out of sequenceTotal number of LMR out of sequence packets received.
Near-end (CIR)Frame loss associated with ingress data frames for the statistics displayed.
Far-end (CIR)Frame loss associated with egress data frames for the statistics displayed.
Near-end (EIR)Frame loss associated with ingress data frames for the statistics displayed.
Far-end (EIR)Frame loss associated with egress data frames for the statistics displayed.
See Also
Clear Iterator Statistics
Purpose
Clear iterator statistics.
Multiple iterators can be associated with remote MEP. However, by default, only one result pertaining to one iterator profile can be cleared.
Action
To clear the iterator statistics for remote MEP
1and iterator profilei1with MEPs belonging to the maintenance associationma1and within the maintenance domaindefault-1:user@host> clear oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator i1 maintenance-domain default-1 maintenance-association ma1 local-mep 1 remote-mep 1
To clear the iterator statistics for remote MEP
1and iterator profilei2with MEPs belonging to the maintenance associationma1and within the maintenance domaindefault-1:user@host> clear oam ethernet connectivity-fault-management sla-iterator-statistics sla-iterator i2 maintenance-domain default-1 maintenance-association ma1 local-mep 1 remote-mep 1
See Also
Configure a Remote MEP with an Iterator Profile
You can associate a remote maintenance association end point (MEP) with more than one iterator profile.
To configure a remote MEP with an iterator profile: