SV-253965r1188389_rule
V-253965
SRG-NET-000512-L2S-000004
JUEX-L2-000180
CAT II
10
Configure the switch to enable OAM or LAG to protect against one-way connections.
LFM with default values:
set protocols oam ethernet link-fault-management interface <interface name>
LAG:
set interfaces <interface name> ether-options 802.3ad ae<bundle number>
set interfaces ae<bundle number> aggregated-ether-options lacp
set interfaces ae<bundle number> unit 0 family ethernet-switching interface-mode trunk
set interfaces ae<bundle number> unit 0 family ethernet-switching vlan members <vlan_name>
:
set interfaces ae<bundle number> unit 0 family ethernet-switching vlan members <vlan_name>
If any of the interfaces have fiber optic interconnections with neighbors, review the switch configuration to verify that OAM or LAG is enabled on those interfaces. Because OAM and LAG interfaces exchange packets, the neighbor device must also be configured with OAM or LAG.
Verify OAM connectivity fault management:
[edit protocols oam ethernet link-fault-management]
interface <interface name>;
Note: To enable LFM using default values, specifying the interface is sufficient.
Verify OAM connectivity with custom actions (must match the target environment).
action-profile <profile name> {
event {
link-adjacency-loss;
protocol-down;
link-event-rate {
frame-error (1..1000 error(s) per 100 milli-second);
frame-period (1..100 error(s) per 100 frames);
frame-period-summary (1..1000 error(s) per second);
symbol-period (1..100 error(s) per 100 symbol);
}
}
action {
syslog;
link-down;
}
}
interface <interface name-1> {
apply-action-profile <profile name>;
pdu-interval (100..1000 milliseconds);
pdu-threshold (5..10);
detect-loc;
link-discovery active;
}
interface <interface name>;
Verify LAG on appropriate interfaces:
[edit interfaces]
<interface name> {
ether-options {
802.3ad ae<bundle number>;
}
}
ae<bundle number> {
aggregated-ether-options {
lacp {
active;
periodic slow;
}
}
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members [ vlan_name ... vlan_name ];
}
}
}
}
Note: The bundle number is an integer value that matches the logical LAG interface. For example, physical interface "ge-0/0/0 ether-options 802.3ad ae0" is only associated with the logical LAG bundle "ae0".
If the switch has fiber optic interconnections with neighbors and OAM or LAG is not enabled, this is a finding.
V-253965
False
JUEX-L2-000180
If any of the interfaces have fiber optic interconnections with neighbors, review the switch configuration to verify that OAM or LAG is enabled on those interfaces. Because OAM and LAG interfaces exchange packets, the neighbor device must also be configured with OAM or LAG.
Verify OAM connectivity fault management:
[edit protocols oam ethernet link-fault-management]
interface <interface name>;
Note: To enable LFM using default values, specifying the interface is sufficient.
Verify OAM connectivity with custom actions (must match the target environment).
action-profile <profile name> {
event {
link-adjacency-loss;
protocol-down;
link-event-rate {
frame-error (1..1000 error(s) per 100 milli-second);
frame-period (1..100 error(s) per 100 frames);
frame-period-summary (1..1000 error(s) per second);
symbol-period (1..100 error(s) per 100 symbol);
}
}
action {
syslog;
link-down;
}
}
interface <interface name-1> {
apply-action-profile <profile name>;
pdu-interval (100..1000 milliseconds);
pdu-threshold (5..10);
detect-loc;
link-discovery active;
}
interface <interface name>;
Verify LAG on appropriate interfaces:
[edit interfaces]
<interface name> {
ether-options {
802.3ad ae<bundle number>;
}
}
ae<bundle number> {
aggregated-ether-options {
lacp {
active;
periodic slow;
}
}
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members [ vlan_name ... vlan_name ];
}
}
}
}
Note: The bundle number is an integer value that matches the logical LAG interface. For example, physical interface "ge-0/0/0 ether-options 802.3ad ae0" is only associated with the logical LAG bundle "ae0".
If the switch has fiber optic interconnections with neighbors and OAM or LAG is not enabled, this is a finding.
M
5478