57-16
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 57 Configuring Ethernet OAM and CFM
Configuring Ethernet CFM
Configuring SNMP Traps
To configure traps for Ethernet CFM, perform this task:
Use the no form of each command to remove a configuration or to return to the default settings.
The following example illustrates how to configure SNMP traps:
Switch(config)# snmp-server enable traps ethernet cfm alarm
Switch(config)# snmp-server enable traps ethernet cfm cc mep-down
Switch(config)# snmp-server enable traps ethernet cfm crosscheck mep-missing
Configuring Fault Alarms
To configure Ethernet CFM fault alarms, perform this task.
Note You can configure fault alarms in either global configuration or Ethernet CFM interface MEP mode.
When a conflict exists, the interface MEP mode configuration takes precedence.
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# snmp-server enable traps
ethernet cfm cc [mep-up] [mep-down] [config]
[loop] [cross-connect]
(Optional) Enables Ethernet CFM continuity check traps.
Step 3 Switch(config)# snmp-server enable traps
ethernet cfmalarm (Optional) Enables Ethernet CFM fault alarm trap.
Step 4 Switch(config)# snmp-server enable traps
ethernet cfm crosscheck [mep-unknown]
[mep-missing] [service-up]
(Optional) Enable s Ethernet CFM crosscheck traps.
Step 5 Switch(config)# end Returns to privileged EXEC mode.
Step 6 Switch# show running-config Verifies your entries.
Step 7 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.