2.
Specify that the interface initiates the discovery process by configuring the link
discovery mode to
active
:
[edit protocols oam ethernet link-fault-management]
user@switch1#
set interface ge-0/0/0
link-discovery
active
3.
Set the periodic OAM PDU-sending interval (in milliseconds) to 800 on switch 1:
[edit protocols oam ethernet link-fault-management]
user@switch1#
set interface
pdu-interval
800
4.
Set a remote interface into loopback mode so that all frames except OAM PDUs
are looped back without any changes made to the frames. Ensure that the remote
DTE supports remote loopback mode. To set the remote DTE in loopback mode
[edit protocols oam ethernet link-fault-management]
user@switch1#
set interface ge-0/0/0.0
remote-loopback
Results
Check the results of the configuration:
[edit]
user@switch1#
show
protocols {
oam {
ethernet {
link-fault-management {
interface ge-0/0/0 {
pdu-interval 800;
link-discovery active;
remote-loopback;
}
}
}
}
Configuring Ethernet OAM Link Fault Management on Switch 2
CLI Quick
Configuration
To quickly configure Ethernet OAM LFM on switch 2, copy the following commands and
paste them into the switch terminal window:
[edit protocols oam ethernet link-fault-management ]
set interface ge-0/0/1
set interface ge-0/0/1 negotiation-options allow-remote-loopback
Step-by-Step
Procedure
To configure Ethernet OAM LFM on switch 2:
Enable OAM on the peer interface on switch 2:
1.
[edit protocols oam ethernet link-fault-management]
user@switch2#
set interface ge-0/0/1
2.
Enable remote loopback support for the local interface:
[edit protocols oam ethernet link-fault-management]
user@switch2#
set interface ge-0/0/1 negotiation-options
allow-remote-loopback
Results
Check the results of the configuration:
Copyright © 2010, Juniper Networks, Inc.
3728
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
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 ...