21.03.2013 Views

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

Junos® OS Ethernet Interfaces Configuration ... - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Copyright © 2012, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

interface-status TLV received on the protect interface is up, the working interface is<br />

automatically marked as interface-down.<br />

To configure the interface-status-tlv down event, include the interface-status-tlv down<br />

statement at the [edit protocols oam ethernet connectivity-fault-management<br />

action-profile profile-name event] hierarchy level.<br />

To configure interface-down as the action profile’s action, include the interface-down<br />

statement at the [edit protocols oam ethernet connectivity-fault-management<br />

action-profile profile-name action] hierarchy level.<br />

To configure interface-down peer-interface as the clear-action, include interface-down<br />

peer-interface at the [edit protocols oam ethernet connectivity-fault-management<br />

action-profile profile-name clear-action] hierarchy level.<br />

[edit protocols oam]<br />

ethernet {<br />

connectivity-fault-management {<br />

action-profile p1 {<br />

event {<br />

interface-status-tlv down;<br />

}<br />

action {<br />

interface-down;<br />

}<br />

clear-action {<br />

interface-down peer-interface;<br />

}<br />

}<br />

}<br />

}<br />

In this action profile configuration, when the interface-status TLV is received as up, the<br />

peer-interface is marked as down.<br />

The peer-interface is configured in the protect-maintenance-association statement.<br />

Consider the following example using the protect-maintenance-association statement<br />

in the configuration:<br />

[edit protocols oam]<br />

ethernet {<br />

connectivity-fault-management {<br />

action-profile p1 {<br />

event {<br />

adjacency-loss;<br />

}<br />

action {<br />

interface-down;<br />

}<br />

clear-action {<br />

interface-down peer-interface;<br />

}<br />

}<br />

maintenance-domain nsn {<br />

level 5;<br />

Chapter 13: Configuring IEEE 802.1ag OAM Connectivity-Fault Management<br />

233

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!