OcNOS-RON : System Management Guide : System Management Configuration Guide : Coherent Optics Configuration : Linkdown Policy
Linkdown Policy
This section contains the Linkdown Policy feature Support configuration example.
Overview
This feature is to support to provide an option to the user to apply link down policy for the attributes PRE-FEC BER, RX Power, SNR, Q-Margin and Chromatic Dispersion whenever there is a threshold violation. With current behaviour, whenever these attributes are monitored, user receives the console log, NETCONF notification and SNMP trap if any threshold violation is detected. With this feature, user will have the extra option to enforce the interface shutdown along with the above mentioned notifications. Once the violation is cleared, the interface will be enabled again automatically.
Topology
 
Figure 32-45: Linkdown Policy
ROUTER-1
 
#configure terminal
Enter Configure mode.
(config)#coherent-module 4
Enter into coherent-module
(config-module)#enable
Enable coherent module
(config-module)#commit
Commit the configuration
(config-module)#network-interface 0
Enter into network-interface mode
(config-netif)#link-down-policy pre-fec-ber
Configure link-down-policy for pre-fec-ber
(config-netif)#threshold pre-fec-ber signal-failure 9.31e-04 signal-degrade 9.31e-05 clear 9.31e-06
Configure threshold for pre-fec-ber
(config-netif)#commit
Commit the configuration
(config-netif)#end
Exit from configuration mode
Validation
On ROUTER-1 Device:
#sh running-config coherent-module
!
coherent-module 4
enable
!
network-interface 0
threshold pre-fec-ber signal-failure 9.31e-04 signal-degrade 9.31e-05 clear 9.
31e-06
link-down-policy pre-fec-ber
exit
!
 
#show coherent-module 4 monitoring-thresholds
...
...
...
 
---------------------------------------------------------------
Pre-FEC BER [9.577837e-04] : Monitoring Enabled (User-Thresholds)
---------------------------------------------------------------
Prefec signal-failure threshold : 9.300000e-04
Prefec signal-degrade threshold : 9.310000e-05
Prefec signal-clear threshold : 9.300000e-06
 
...
...
...
 
Note: whenever pre-fec-ber reaches threshold value the below operator logs will be generated on the terminal
 
2021 Sep 24 18:56:42.237 : R1 : CMM : CRITI : [CMM_TAI_2]: Netif PreFECBER Signal Failure Alarm Detected for Slot:4 Netif:0
2021 Sep 24 18:56:42.577 : R1 : NSM : CRITI : [IFMGR_IF_DOWN_2]: Interface ce24 changed state to down
2021 Sep 24 18:56:42.594 : R1 : NSM : CRITI : [IFMGR_IF_DOWN_2]: Interface ce23 changed state to down
 
#show coherent-module 4 faws
---------------------------------------------------------------
Fault & Status
---------------------------------------------------------------
Module General Status : TX-Host-Loss-Of-Lock
Client interface 0 Fault Status : TX IC Loss Of LOCK Lane 0
TX IC Loss Of LOCK Lane 1
TX IC Loss Of LOCK Lane 2
TX IC Loss Of LOCK Lane 3
Client interface 1 Fault Status : TX IC Loss Of LOCK Lane 0
TX IC Loss Of LOCK Lane 1
 
 
---------------------------------------------------------------
Alarm and Warning
---------------------------------------------------------------
 
Network-Lane 0 Alarm & Warning :
preFECBER Signal : PreFECBER Signal Failure Alarm
Hostif 0 PCS Alarms :
Ingress-PCS-Alarms : Remote-Fault
Egress-PCS-Alarms : Loss-Of-Block-Lock
Loss-Of-Alignment-Marker-Lock
Loss-Of-Alignment
Hostif 1 PCS Alarms :
Ingress-PCS-Alarms : Remote-Fault
Egress-PCS-Alarms : Loss-Of-Block-Lock
Loss-Of-Alignment-Marker-Lock
Loss-Of-Alignment
 
#show interface brief
 
Codes: ETH - Ethernet, LB - Loopback, AGG - Aggregate, MLAG - MLAG Aggregate
FR - Frame Relay, TUN -Tunnel, PBB - PBB Logical Port, VP - Virtual Port
CVP - Channelised Virtual Port, METH - Management Ethernet, UNK- Unknown
ED - ErrDisabled, PD - Protocol Down, AD - Admin Down, IA - InActive
PD(Min L/B) - Protocol Down Min-Links/Bandwidth
DV - DDM Violation, NA - Not Applicable
NOM - No operational members, PVID - Port Vlan-id
Ctl - Control Port (Br-Breakout/Bu-Bundle)
HD - ESI Hold Timer Down
 
--------------------------------------------------------------------------------
Ethernet Type PVID Mode Status Reason Speed Port C
tl Br/Bu Loopbk
Interface Ch #
--------------------------------------------------------------------------------
 
ce19/1 ETH -- routed down DV 100g --
ce20/1 ETH -- routed down DV 100g --
Un-Config the Linkdown Policy
 
#configure terminal
Enter Configure mode.
(config)#coherent-module 4
Enter into coherent-module
(config-module)#network-interface 0
Enter into network-interface mode
(config-netif)#no link-down-policy pre-fec-ber
Un-configure link-down-policy for pre-fec-ber
(config-netif)#no threshold pre-fec-ber signal-failure
Un-configure threshold for pre-fec-ber
(config-netif)#commit
Commit the configuration
(config-netif)#end
Exit from configuration mode
Validation
On ROUTER-1 Device:
#sh runn coherent-module
!
coherent-module 4
enable
!
network-interface 0
exit
!
Last modified date: 08/28/2023