57-47
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM Enabling and Configuring Ethernet OAM
The switch does not support monitoring egress frames with CRC errors. The ethernet oam link-monitor
transmit-crc {threshold {high {high-frames | none} | low {low-frames}} | window milliseconds}
command is visible on the switch and you can enter it, but it is not supported. Use the
no form of each command to remove the option from the template. Use the
no source-template template-name command to remove the source template association.
The following example illustrates how to configure an Ethernet OAM template and to associate it with
an interface:
Switch# conf t
Switch(config)# template oam
Switch(config-template)# ethernet oam link-monitor receive-crc threshold high 1000
Switch(config-template)# ethernet oam link-monitor receive-crc threshold low 10
Switch(config-template)# ethernet oam link-monitor symbol-period threshold high 5000
Switch(config-template)# ethernet oam link-monitor symbol-period threshold low 5
Switch(config-template)# ethernet oam link-monitor frame threshold high 8000
Switch(config-template)# ethernet oam link-monitor frame threshold low 8
Switch(config-template)# ethernet oam link-monitor frame-period threshold hig 9000
Switch(config-template)# ethernet oam link-monitor frame-period threshold low 9
Switch(config-template)# ethernet oam link-monitor high action error-disable-interface
Switch(config-template)# exit
Switch(config)# int gi1/2
Switch(config-if)# source template oam
Switch(config-if)# end
Step 7 Switch(config-template)# ethernet oam
link-monitor frame-seconds {threshold {high
{high-seconds | none} | low {low-seconds}} |
window milliseconds}
(Optional) Configures frame-seconds high and low
thresholds for triggering an error-frame-seconds link event.
Enter threshold high high-seconds to set a high
threshold in number of seconds. The range is 1 to 900.
You must enter a high threshold.
Enter threshold high none to disable the high
threshold.
Enter threshold low low-frames to set a low threshold
in number of frames. The range is 1 to 900. The default
is 1.
Enter window frames to set the a polling window size
in number of frames. The range is 100 to 9000; each
value is a multiple of 100 milliseconds. The default is
1000.
Step 8 Switch(config-template)# ethernet oam
link-monitor high threshold action
error-disable-interface
(Optional) Configures the switch to put an interface in an
error disabled state when a high threshold for an error is
exceeded.
Step 9 Switch(config-template)# exit Returns to global configuration mode.
Step 10 Switch(config# interface interface-id Defines an Ethernet OAM interface and enters interface
configuration mode.
Step 11 Switch(config-if# source-template
template-name
Associates the template to apply the configured options to
the interface.
Step 12 Switch(config-if# end Returns to privileged EXEC mode.
Step 13 Switch# show ethernet oam status [interface
interface-id]Verifies the configuration.
Step 14 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose