Configuring an SLM
To configure an SLM, execute the following commands:
SUMMARY STEPS
- enable
- configure terminal operation number
- ip sla operation number
- ethernet y1731 loss SLM domain domain-name {evc evc-id | vlan vlan-id}{mpid target-mp-id | mac-address-target -address}cos cos{source{mpid source-mp-id | mac-address source-address}}
- aggregate interval seconds
- availability algorithm{ sliding-window | static-window 1} symmetric
- frame consecutive value
- frame interval milliseconds
- frame size bytes
- history interval intervals-stored
- exit
- ip sla reaction-configuration operation-number [react {unavailableDS |unavailableSD | loss-ratioDS | loss-ratioSD} ] [threshold-type {average [number -of-measurements] | consecutive [occurences] | immediate} ] [threshold-value upper -threshold lower-threshold]
- ip sla logging traps
- exit
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal operation number Example:
|
—Identifies the IP SLAs' operation you want to configure. Enters global configuration mode. |
Step 3 |
ip sla operation number Example:
|
Configures an IP SLA operation and enters IP SLA configuration mode.
|
Step 4 |
ethernet y1731 loss SLM domain domain-name {evc evc-id | vlan vlan-id}{mpid target-mp-id | mac-address-target -address}cos cos{source{mpid source-mp-id | mac-address source-address}} Example:
|
Configures a single-ended synthetic loss measurement and enters IP SLA Y.1731 loss configuration mode.
|
Step 5 |
aggregate interval seconds Example:
|
(Optional) Configures the length of time during which the performance measurements are conducted and the results stored.
|
Step 6 |
availability algorithm{ sliding-window | static-window 1} symmetric Example:
|
( Optional) Specifies availability algorithm used.
|
Step 7 |
frame consecutive value Example:
|
|
Step 8 |
frame interval milliseconds Example:
|
|
Step 9 |
frame size bytes Example:
|
(Optional) Configures padding size for frames.
|
Step 10 |
history interval intervals-stored Example:
|
(Optional) Sets the number of statistics distributions kept during the lifetime of an IP SLAs Ethernet operation.
|
Step 11 |
exit Example:
|
Exits IP SLA Y.1731 loss configuration mode and enters IP SLA configuration mode. |
Step 12 |
ip sla reaction-configuration operation-number [react {unavailableDS |unavailableSD | loss-ratioDS | loss-ratioSD} ] [threshold-type {average [number -of-measurements] | consecutive [occurences] | immediate} ] [threshold-value upper -threshold lower-threshold] Example:
|
(Optional) Configures proactive threshold monitoring for frame loss measurements.
|
Step 13 |
ip sla logging traps Example:
|
(Optional) Enables IP SLAs syslog messages from CISCO-RTTMON-MIB. |
Step 14 |
exit Example:
|
Exits global configuration mode and enters privileged EXEC mode. |
What to do next
Once the SLM is configured, you have to schedule an IP SLA operation.
Scheduling an IP SLA Operation
To schedule an IP SLA operation, execute the following commands:
SUMMARY STEPS
- enable
- configure terminal
- ip sla schedule operation-number [ life { forever | seconds }] [start-time {hh : mm [: ss] [month day | day month] | pending | now | after hh: mm: ss | random milliseconds}]
- exit
DETAILED STEPS
Command or Action | Purpose | |
---|---|---|
Step 1 |
enable Example:
|
Enables the privileged EXEC mode. Enter your password if prompted. |
Step 2 |
configure terminal Example:
|
Enters the global configuration mode. |
Step 3 |
ip sla schedule operation-number [ life { forever | seconds }] [start-time {hh : mm [: ss] [month day | day month] | pending | now | after hh: mm: ss | random milliseconds}] Example:
|
Configures the scheduling parameters for an individual IP SLA operation or Specifies an IP SLA operation group number and the range of operation numbers to be scheduled for a multi-operation scheduler.
|
Step 4 |
exit Example:
|
Exits the global configuration mode and enters the privileged EXEC mode. |