Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > EX Series > Configuring Ethernet OAM Link Fault Management (CLI Procedure)
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...

EX Series Search

Advanced Search |  Search Tips
 

Supported Platforms

  • EX Series
 
 

Related Documentation

  • EX Series
  • Example: Configuring Ethernet OAM Link Fault Management on EX Series Switches
  • Understanding Ethernet OAM Link Fault Management for an EX Series Switch
 
Recent Community Posts
Show All Show Fewer 
 
 
Related Links
EX Series Product Literature
  • Junos Central
  • Junos Technotes
  • Junos Day One Books
Enterprise Routing and Switching Certification Track
  • Fast Track Certification Program
  • Certification Study Guides
Junos Technical Education Courses (Free)
  • Networking Fundamentals
  • Junos As A Second Language
  • Junos As A Scripting Language
  • Junos As A Switching Language
  • Juniper Networks Books
Support
  • Junos Software (Canada & US)  Login required
  • Junos Software (Worldwide) Login required
  • Knowledge Base - Browse EX Series Articles  Login required
  • Technical Bulletins for EX Series Login required
  • IOS to Junos Migration Tool Login required
Show All Show Fewer 
 
 

Configuring Ethernet OAM Link Fault Management (CLI Procedure)

Ethernet OAM link fault management (LFM) can be used for physical link-level fault detection and management. The IEEE 802.3ah LFM works across point-to-point Ethernet links either directly or through repeaters.

To configure Ethernet OAM LFM using the CLI:

  1. Enable IEEE 802.3ah OAM support on an interface:

    [edit protocols oam ethernet link-fault-management]
    user@switch# set interface interface-name

    Note: The remaining steps are optional. You can choose which of these features to configure for Ethernet OAM LFM on your switch.

  2. Specify whether the interface or the peer initiates the discovery process by configuring the link discovery mode to active or passive (active = interface initiates; passive = peer initiates):

    [edit protocols oam ethernet link-fault-management]
    user@switch# set interface interface-name link-discovery active
  3. Configure a periodic OAM PDU-sending interval (in milliseconds) for fault detection:

    [edit protocols oam ethernet link-fault-management]
    user@switch# set interface pdu-interval interval
  4. Specify the number of OAM PDUs that an interface can miss before the link between peers is considered down:

    [edit protocols oam ethernet link-fault-management]
    user@switch# set interface interface-name pdu-threshold threshold-value
  5. Configure event threshold values on an interface for the local errors that trigger the sending of link event TLVs:
    • Set the threshold value (in seconds) for sending frame-error events or taking the action specified in the action profile:

      [edit protocols oam ethernet link-fault-management]
      user@switch# set interface interface-name event-thresholds frame-error count
    • Set the threshold value (in seconds) for sending frame-period events or taking the action specified in the action profile:

      [edit protocols oam ethernet link-fault-management]
      user@switch# set interface interface-name event-thresholds frame-period count

    • Set the threshold value (in seconds) for sending frame-period-summary events or taking the action specified in the action profile:

      [edit protocols oam ethernet link-fault-management]
      user@switch# set interface interface-name event-thresholds frame-period-summary count
    • Set the threshold value (in seconds) for sending symbol-period events or taking the action specified in the action profile:

      [edit protocols oam ethernet link-fault-management]
      user@switch# set interface interface-name event-thresholds symbol-period count

    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.)
    1. Name the action profile:

      [edit protocols oam ethernet link-fault-management]
      user@switch# set action-profile profile-name
    2. 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
    3. 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

  • EX Series
  • Example: Configuring Ethernet OAM Link Fault Management on EX Series Switches
  • Understanding Ethernet OAM Link Fault Management for an EX Series Switch
 

Published: 2011-01-30

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out