You can create an action profile to define event fault flags and thresholds and the action to be taken. You can then apply the action profile to one or more interfaces.
To configure an action profile, include the action-profile statement at the [edit protocols oam ethernet link-fault-management] hierarchy level:
- action-profile profile-name {
-
-
action {
-
syslog;
-
link-down;
-
send-critical-event;
- }
-
-
event {
-
link-adjacency-loss;
-
-
link-event-rate {
-
frame-error count;
-
frame-period count;
-
frame-period-summary count;
-
symbol-period count;
- }
-
protocol-down;
- }
- }