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.
Configuring 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
Verifying 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.
- Displaying the Configuration of an Iterator Profile for Two-way Delay Measurement
- Displaying the Configuration of an Iterator Profile for Loss Measurement
- Displaying the Configuration of a Remote MEP with an Iterator Profile
- Disabling an Iterator Profile
Displaying 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.
Displaying 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.
Displaying 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.
Disabling 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
disable
configuration 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
deactivate
configuration 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
Managing Iterator Statistics
Displaying 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
1
and iterator profilei1
with MEPs belonging to the maintenance associationma1
and within the maintenance domaindefault-1
(here, the iterator profilei1
is 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 domain
Maintenance domain name.
Level
Maintenance domain level configured.
Maintenance association
Maintenance association name.
Local MEP id
Numeric identifier of the local MEP.
Remote MEP id
Numeric identifier of the remote MEP.
Remote MAC address
Unicast MAC address of the remote MEP.
Iterator name
Name of iterator.
Iterator Id
Numeric identifier of the iterator.
Iterator cycle time
Number of cycles (in milliseconds) taken between back-to-back transmission of SLA frames for this connection
Iteration period
Maximum number of cycles per iteration
Iterator status
Current status of iterator whether running or stopped.
Infinite iterations
Status of iteration as infinite or finite.
Counter reset time
Date and time when the counter was reset.
Reset reason
Reason to reset counter.
Delay weight
Calculation weight of delay.
Delay variation weight
Calculation weight of delay variation.
DMM sent
Delay measurement message (DMM) PDU frames sent to the peer MEP in this session.
DMM skipped for threshold hit
Number of DMM frames sent to the peer MEP in this session skipped during threshold hit.
DMM skipped for threshold hit window
Number of DMM frames sent to the peer MEP in this session skipped during the last threshold hit window.
DMR received
Number of delay measurement reply (DMR) frames received.
DMR out of sequence
Total number of DMR out of sequence packets received.
DMR received with invalid time stamps
Total number of DMR frames received with invalid timestamps.
Average two-way delay
Average two-way frame delay for the statistics displayed.
Average two-way delay variation
Average two-way “frame jitter” for the statistics displayed.
Average one-way forward delay variation
Average one-way forward delay variation for the statistics displayed in microseconds.
Average one-way backward delay variation
Average one-way backward delay variation for the statistics displayed in microseconds.
Weighted average two-way delay
Weighted average two-way delay for the statistics displayed in microseconds.
Weighted average two-way delay variation
Weighted average two-way delay variation for the statistics displayed in microseconds.
Weighted average one-way forward delay variation
Weighted average one-way forward delay variation for the statistics displayed in microseconds.
Weighted average one-way backward delay variation
Weighted average one-way backward delay variation for the statistics displayed in microseconds.
To display the iterator statistics for remote MEP
1
and iterator profilei2
with MEPs belonging to the maintenance associationma1
and within the maintenance domaindefault-1
(here, the iterator profilei1
is 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 domain
Maintenance domain name.
Level
Maintenance domain level configured.
Maintenance association
Maintenance association name.
Local MEP id
Numeric identifier of the local MEP.
RemoteMEP identifier
Numeric identifier of the remote MEP.
Remote MAC address
Unicast MAC address of the remote MEP.
Iterator name
Name of iterator.
Iterator Id
Numeric identifier of the iterator.
Iterator cycle time
Number of cycles (in milliseconds) taken between back-to-back transmission of SLA frames for this connection
Iteration period
Maximum number of cycles per iteration
Iterator status
Current status of iterator whether running or stopped.
Infinite iterations
Status of iteration as infinite or finite.
Counter reset time
Date and time when the counter was reset.
Reset reason
Reason to reset counter.
LMM sent
Number of loss measurement message (LMM) PDU frames sent to the peer MEP in this session.
LMM skipped for threshold hit
Number of LMM frames sent to the peer MEP in this session skipped during threshold hit.
LMM skipped for threshold hit window
Number of LMM frames sent to the peer MEP in this session skipped during the last threshold hit window.
LMR received
Number of LMRs frames received.
LMR out of sequence
Total 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
Clearing 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
1
and iterator profilei1
with MEPs belonging to the maintenance associationma1
and 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
1
and iterator profilei2
with MEPs belonging to the maintenance associationma1
and 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
Configuring 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: