NOTE:
You can disable the sending of link event TLVs.
To disable the sending of link event TLVs:
[edit protocols oam ethernet link-fault-management]
user@switch#
set interface interface-name
negotiation-options no-allow-link-events
6.
Create an action profile to define event fault flags and thresholds to be taken when
the link fault event occurs. Then apply the action profile to one or more interfaces.
(You can also apply multiple action profiles to a single interface.)
a.
Name the action profile:
[edit protocols oam ethernet link-fault-management]
user@switch#
set
action-profile
profile-name
b.
Specify actions to be taken by the system when the link fault event occurs:
[edit protocols oam ethernet link-fault-management]
user@switch#
set action-profile profile-name
action syslog
user@switch#
set action-profile profile-name action
link-down
c.
Specify events for the action profile:
[edit protocols oam ethernet link-fault-management]
user@switch#
set action-profile profile-name event
link-adjacency-loss
NOTE:
For each action profile, you must specify at least one link event
and one action. The actions are taken only when all of the events in the
action profile are true. If more than one action is specified, all actions are
executed. You can set a low threshold for a specific action such as logging
the error and set a high threshold for another action such as system logging.
7.
Set a remote interface into loopback mode so that all frames except OAM PDUs are
looped back without any changes made to the frames. Set the remote DTE in loopback
mode (the remote DTE must support remote-loopback mode) and then enable remote
loopback support for the local interface.
[edit protocols oam ethernet link-fault-management]
user@switch#
set interface interface-name
remote-loopback
user@switch#
set interface interface-name negotiation-options allow-remote-loopback
Related
Documentation
Example: Configuring Ethernet OAM Link Fault Management on EX Series Switches
on page 3727
•
•
Understanding Ethernet OAM Link Fault Management for an EX Series Switch on
page 3725
3731
Copyright © 2010, Juniper Networks, Inc.
Chapter 131: Ethernet OAM Link Fault Management
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...