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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Junos ®<br />

<strong>OS</strong> 12.3 <strong>Ethernet</strong> <strong>Interfaces</strong> <strong>Configuration</strong> Guide<br />

show oam ethernet<br />

connectivity-fault-<br />

management<br />

mep-database<br />

remote-mep<br />

(Action Profile Event)<br />

218<br />

The following example shows an action profile configuration with explanatory comments<br />

added:<br />

[edit protocols oam ethernet connectivity-fault-management]<br />

action-profile tlv-action {<br />

event {<br />

# If interface status tlv with value specified in the config is received<br />

interface-status-tlv down|lower-layer-down;<br />

# If port status tlv with value specified in the config is received<br />

port-status-tlv blocked;<br />

# If connectivity is lost to the peer */<br />

adjacency-loss;<br />

}<br />

action {<br />

# Bring the interface down */<br />

interface-down;<br />

}<br />

default-actions interface-down;<br />

}<br />

# domains<br />

maintenance-domain identifier {<br />

# maintenance domain level (0-7)<br />

level number;<br />

# association<br />

maintenance-association identifier {<br />

mep identifier {<br />

interface ge-x/y/z.w;<br />

remote-mep identifier {<br />

# Apply the action-profile for the remote MEP<br />

action-profile tlv-action;<br />

}<br />

}<br />

}<br />

}<br />

Monitoring a Remote MEP Action Profile<br />

You can use the show oam ethernet connectivity-fault-management mep-database<br />

command to view the action profile status of a remote MEP, as in the following example:<br />

user@host> show oam ethernet connectivity-fault-management mep-database<br />

maintenance-domain md5 maintenance-association ma5 remote-mep 200<br />

Maintenance domain name: md5, Format: string, Level: 5<br />

Maintenance association name: ma5, Format: string<br />

Continuity-check status: enabled, Interval: 1s, Loss-threshold: 3 frames<br />

MEP identifier: 100, Direction: down, MAC address: 00:05:85:73:e8:ad<br />

Auto-discovery: enabled, Priority: 0<br />

Interface status TLV: none, Port status TLV: none # last status TLVs transmitted<br />

by the router<br />

Interface name: ge-1/0/8.0, Interface status: Active, Link status: Up<br />

Remote MEP identifier: 200, State: ok # displays the remote MEP name and state<br />

MAC address: 00:05:85:73:96:1f, Type: Configured<br />

Interface: ge-1/0/8.0<br />

Last flapped: Never<br />

Remote defect indication: false<br />

Port status TLV: none<br />

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

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

Saved successfully!

Ooh no, something went wrong!