57-23
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM Configuring Ethernet CFM
To remove an IP SLAs operation, enter the no ip sla operation-number global configuration command.
The following example illustrates how to configurean an IP SLAs Operation with Endpoint Discovery:
Switch(config)# ip sla ethernet-monitor 10
Switch(config- ip-sla-ethernet-monitor)#type echo domain abc vlan 34
Switch(config-ip-sla-ethernet-params)# exit
Switch(config)# ip sla ethernet-monitor schedule 10 schedule-period 60 start-time now
Switch(config)# exit
Switch# show ip sla ethernet-monitor configuration 10
Entry Number : 10
Modification time : *10:12:01.725 UTC Mon Nov 29 2010
Operation Type : echo
Domain Name : abc
VLAN ID : 5
Excluded MPIDs :
Owner :
Tag :
Timeout(ms) : 5000
Threshold(ms) : 5000
Frequency(sec) : 60
Step 11 Switch(config)# ip sla schedule
operation-number [ageout seconds] [life
{forever | seconds}] [recurring] [start-time
{hh:mm {:ss} [month day | day month] | pending
| now | after hh:mm:ss}]
Schedules the time parameters for the IP SLAs operation.
operation-number—Enter the IP SLAs operation
number.
(Optional) ageout seconds—Enter the number of
seconds to keep the operation in memory when it is not
actively collecting information. The range is 0 to
2073600 seconds. The default is 0 seconds.
(Optional) life—Set the operation to run indefinitely
(forever) or for a specific number of seconds. The
range is from 0 to 2147483647. The default is 3600
seconds (1 hour)
(Optional) recurring—Set the probe to be
automatically scheduled every day.
(Optional) start-time—Enter the time for the
operation to begin collecting information:
To start at a specific time, enter the hour, minute,
second (in 24-hour notation), and day of the
month.
Enter pending to select no information collection
until a start time is selected.
Enter now to start the operation immediately.
Enter after hh:mm:ss to show that the operation
should start after the entered time has elapsed.
Step 12 Switch(config)# end Returns to privileged EXEC mode.
Step 13 Switch# show ip sla ehternet-monitor
configuration [operation-number]Shows the configured IP SLAs Auto Ethernet Monitor
operation.
Step 14 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose