Configuration Guide for Cisco NCS 1014, IOS XR Releases 26.x.x

PDF

Configuration Guide for Cisco NCS 1014, IOS XR Releases 26.x.x

Loopback

Want to summarize with AI?

Log in

This section explains loopback interfaces, their usage in network equipment, configuration conditions, and related alarm behaviors.


You can configure loopback on the CoherentDSP and Ethernet controllers of QXP, OXP2-K9, 1.2T, 2.4TX, 2.4T and 2.4TA cards to identify connection problems. The loopback can be configured only in the maintenance mode. Use the controller controller-type and the secondary-admin-state maintenance commands to place the controllers in the maintenance mode.

Loopback configuration alarm details for each controller are triggered whenever there is a change in the loopback configuration. Details such as, location of the controller, severity, configuration date and time, and description are available in the output of the show alarms brief system active and show alarms brief history commands.


Configure loopback

Use this task to configure loopback on a 1.2T, 2.4T, QXP, and OXP2-K9, 2.4TX, and 2.4TA card.

Procedure

  1. Run the controllercontrollertype Rack/Slot/Instance/Portsec-admin-state maintenance loopback [ internal ] command to configure the loopback on a 1.2T card.

    Example:

    This example shows how a internal loopback is configured on the Ethernet controller of a 1.2T card.

    
    RP/0/RP0/CPU0:ios#configure
    RP/0/RP0/CPU0:ios(config)#controller HundredGigECtrlr 0/1/0/1
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#sec-admin-state maintenance
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#loopback internal
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#commit
    RP/0/RP0/CPU0:ios(config)#exit
    Note

    Line loopback is not supported on CoherentDSP controller of 1.2T card.

    Example:

    This example shows how to verify a internal loopback configured on the Ethernet controller of 1.2T card.

    
    RP/0/RP0/CPU0:ios#show controller HundredGigECtrlr 0/1/0/1
    Fri Nov 17 10:01:22.840 UTC
    Operational data for interface HundredGigECtrlr0/1/0/1:
    
    State:
        Administrative state: enabled
        Operational state: Up
        LED state: Green On
        Maintenance: Enabled
        AINS Soak: None
          Total Duration: 0 hour(s) 0 minute(s)
          Remaining Duration: 0 hour(s) 0 minute(s) 0 second(s)
        Laser Squelch: Disabled
        Insert Idle Ingress: Disabled
        Insert Idle Egress: Disabled
    
    Phy:
        Media type: Not known
        Statistics:
            FEC:
                Corrected Codeword Count: 72671614                 Valid: True       Start time: 15:53:12 Thu Nov 16 2023
                Uncorrected Codeword Count: 12                     Valid: True       Start time: 15:53:12 Thu Nov 16 2023
            PCS:
                Total BIP errors: 0                                Valid: True       Start time: 15:53:12 Thu Nov 16 2023
                Total frame errors: 0                              Valid: False      Start time: 15:53:12 Thu Nov 16 2023
                Total Bad SH: 0                                    Valid: False      Start time: 15:53:12 Thu Nov 16 2023
    
    Autonegotiation disabled.
    
    Operational values:
        Speed: 400Gbps
        Duplex: Full Duplex
        Flowcontrol: None
        Loopback: Internal
        BER monitoring:
            Not supported
        Forward error correction: Standard (Reed-Solomon)
        Holdoff Time: 0ms
    
  2. Run the controller {HundredGigECtrlr Rack/Slot/Instance/Port/Lane | fourHundredGigECtrlrRack/Slot/Instance/Port}sec-admin-state maintenance loopback[ line | internal ] command to configure the loopback on 2.4T card ,2.4TX, and 2.4TA card.

    Example:

    This example shows how a line loopback is configured on coherentDSP controller of a 2.4T card ,2.4TX, and 2.4TA card.

    
    RP/0/RP0/CPU0:ios#configure
    RP/0/RP0/CPU0:ios(config)#controller coherentDSP 0/1/0/0
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#sec-admin-state maintenance 
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#loopback line
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#commit
    RP/0/RP0/CPU0:ios(config)#exit
    Note

    In case of muxponder configuration on the 2.4TX card, internal loopback must be applied on both trunk ports for the loopback behaviour to reflect on the split ports. For direct ports, the corresponding trunk internal loopback works as expected.

    Example:

    This example shows how to configure internal loopback on a coherent DSP controller.

    
    RP/0/RP0/CPU0:ios#configure
    Fri Jul 8 10:42:51.329 UTC
    RP/0/RP0/CPU0:ios(config)#controller coherentDSP 0/0/0/0
    RP/0/RP0/CPU0:ios(config-CoDSP)#secondary-admin-state maintenance
    RP/0/RP0/CPU0:ios(config-CoDSP)#loopback internal
    RP/0/RP0/CPU0:ios(config-CoDSP)#commit
    Fri Jul 8 10:43:48.644 UTC
    RP/0/RP0/CPU0:ios(config-CoDSP)#end

    This example shows how to verify the internal loopback configured on a coherent DSP controller.

    RP/0/RP0/CPU0:ios#show controllers coherentDSP 0/0/0/0
    Fri Jul 8 10:45:53.820 UTC
    Port : CoherentDSP 0/0/0/0
    Controller State : Down
    Inherited Secondary State : Normal
    Configured Secondary State : Maintenance
    Derived State : Maintenance
    Loopback mode : Internal
    BER Thresholds : SF = 1.0E-5 SD = 1.0E-7
    Performance Monitoring : Enable
    Bandwidth : 400.0Gb/s
    Alarm Information:
    LOS = 2 LOF = 0 LOM = 0
    OOF = 0 OOM = 0 AIS = 0
    IAE = 0 BIAE = 0 SF_BER = 0
    SD_BER = 0 BDI = 0 TIM = 0
    FECMISMATCH = 0 FEC-UNC = 0 FLEXO_GIDM = 0
    FLEXO-MM = 0 FLEXO-LOM = 0 FLEXO-RDI = 0
    FLEXO-LOF = 0
    Detected Alarms : LOS
    Bit Error Rate Information
    PREFEC BER : 5.00E-01
    POSTFEC BER : 0.00E+00
    Q-Factor : 0.00 dB
    Q-Margin : 0.00dB
    OTU TTI Received
    FEC mode : C_FEC
    Flexo-Mode : Enable
    Flexo Details:
    Tx GID : 0
    Rx GID : 0
    AINS Soak : None
    AINS Timer : 0h, 0m
    AINS remaining time : 0 seconds

    Example:

    This example shows how to configure line loopback on a coherent DSP controller.

    RP/0/RP0/CPU0:ios#configure
    Fri Jul 8 10:48:48.577 UTC
    RP/0/RP0/CPU0:ios(config)#controller coherentDSP 0/0/0/0
    RP/0/RP0/CPU0:ios(config-CoDSP)#secondary-admin-state maintenance
    RP/0/RP0/CPU0:ios(config-CoDSP)#loopback line
    RP/0/RP0/CPU0:ios(config-CoDSP)#commit
    Fri Jul 8 10:49:26.809 UTC
    RP/0/RP0/CPU0:ios(config-CoDSP)#end

    This example shows how to verify the line loopback configured on a coherent DSP controller.

    RP/0/RP0/CPU0:ios#show controllers coherentDSP 0/0/0/0
    Fri Jul 8 10:49:44.073 UTC
    Port : CoherentDSP 0/0/0/0
    Controller State : Down
    Inherited Secondary State : Normal
    Configured Secondary State : Maintenance
    Derived State : Maintenance
    Loopback mode : Line
    BER Thresholds : SF = 1.0E-5 SD = 1.0E-7
    Performance Monitoring : Enable
    Bandwidth : 400.0Gb/s
    Alarm Information:
    LOS = 2 LOF = 0 LOM = 0
    OOF = 0 OOM = 0 AIS = 0
    IAE = 0 BIAE = 0 SF_BER = 0
    SD_BER = 0 BDI = 0 TIM = 0
    FECMISMATCH = 0 FEC-UNC = 0 FLEXO_GIDM = 0
    FLEXO-MM = 0 FLEXO-LOM = 0 FLEXO-RDI = 0
    FLEXO-LOF = 0
    Detected Alarms : LOS
    Bit Error Rate Information
    PREFEC BER : 5.00E-01
    POSTFEC BER : 0.00E+00
    Q-Factor : 0.00 dB
    Q-Margin : 0.00dB
    OTU TTI Received
    FEC mode : C_FEC
    Flexo-Mode : Enable
    Flexo Details:
    Tx GID : 0
    Rx GID : 0
    AINS Soak : None
    AINS Timer : 0h, 0m
    AINS remaining time : 0 seconds

    Example:

    This example shows how to configure internal loopback on the 400GE controller.

    
    RP/0/RP0/CPU0:ios#configure
    Fri Jul 8 11:19:26.286 UTC
    RP/0/RP0/CPU0:ios(config)#controller FourHundredGigECtrlr 0/0/0/3
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#sec-admin-state maintenance
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#loopback internal
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#commit
    Fri Jul 8 11:19:47.496 UTC
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#end

    This example shows how to verify the internal loopback configured on the 400GE controller.

    
    RP/0/RP0/CPU0:ios#show controllers FourHundredGigECtrlr 0/0/0/3
    Fri Jul 8 11:19:59.597 UTC
    Operational data for interface FourHundredGigECtrlr0/0/0/3:
    State:
    Administrative state: enabled
    Operational state: Down (Reason: State undefined)
    LED state: Red On
    Maintenance: Enabled
    AINS Soak: None
    Total Duration: 0 hour(s) 0 minute(s)
    Remaining Duration: 0 hour(s) 0 minute(s) 0 second(s)
    Laser Squelch: Disabled
    Insert Idle Ingress: Disabled
    Insert Idle Egress: Disabled
    Phy:
    Media type: Not known
    Alarms:
    Current:
    Loss of Signal
    Statistics:
    FEC:
    Corrected Codeword Count: 702710
    Uncorrected Codeword Count: 1147
    Autonegotiation disabled.
    Operational values:
    Speed: 400Gbps
    Duplex: Full Duplex
    Flowcontrol: None
    Loopback: Internal
    BER monitoring:
    Not supported
    Forward error correction: Standard (Reed-Solomon)
    Holdoff Time: 0ms

    Example:

    This example shows how to configure line loopback on the 4X100GE MXP.

    RP/0/RP0/CPU0:ios(config)#controller hundredGigECtrlr 0/3/0/1/1
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#loopback line 
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#sec-admin-state maintenance 
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#commit 

    This example shows how to verify the line loopback configured on the 4X100GE MXP.

    RP/0/RP0/CPU0:ios#sh controllers hundredGigECtrlr 0/3/0/1/1
    Fri Jul 22 10:34:39.730 UTC
    Operational data for interface HundredGigECtrlr0/3/0/1/1:
    
    State:
        Administrative state: enabled
        Operational state: Up
        LED state: Green On
        Maintenance: Enabled
        AINS Soak: None
          Total Duration: 0 hour(s) 0 minute(s)
          Remaining Duration: 0 hour(s) 0 minute(s) 0 second(s)
        Laser Squelch: Disabled
        Insert Idle Ingress: Disabled
        Insert Idle Egress: Disabled
    
    Phy:
        Media type: Not known
        Statistics:
            FEC:
                Corrected Codeword Count: 6110368                  Valid: True       Start time: 13:10:41 Thu Jul 21 2022
                Uncorrected Codeword Count: 2771                   Valid: True       Start time: 13:10:41 Thu Jul 21 2022
            PCS:
                Total BIP errors: 63700992                         Valid: True       Start time: 13:10:41 Thu Jul 21 2022
                Total frame errors: 0                              Valid: False      Start time: 13:10:41 Thu Jul 21 2022
                Total Bad SH: 0                                    Valid: False      Start time: 13:10:41 Thu Jul 21 2022
    
    Autonegotiation disabled.
    
    Operational values:
        Speed: 100Gbps
        Duplex: Full Duplex
        Flowcontrol: None
        Loopback: Line
        BER monitoring:
            Not supported
        Forward error correction: Standard (Reed-Solomon)
        Holdoff Time: 0ms
    

    Example:

    This example shows how to configure internal loopback on the 4X100GE MXP.

    RP/0/RP0/CPU0:ios#conf
    RP/0/RP0/CPU0:ios(config)#controller hundredGigECtrlr 0/3/0/7/1
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#sec-admin-state maintenance 
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#loopback internal 
    RP/0/RP0/CPU0:ios(config-eth-ctrlr)#commit 

    This example shows how to verify the internal loopback configured on the 4X100GE MXP.

    RP/0/RP0/CPU0:ios#show controller HundredGigECtrlr 0/3/0/7/1
    Fri Jul 22 10:40:34.928 UTC
    
    Operational data for interface HundredGigECtrlr0/3/0/7/1:
    
    State:
        Administrative state: enabled
        Operational state: Down (Reason: State undefined)
        LED state: Red On
        Maintenance: Enabled
        AINS Soak: None
          Total Duration: 0 hour(s) 0 minute(s)
          Remaining Duration: 0 hour(s) 0 minute(s) 0 second(s)
        Laser Squelch: Disabled
        Insert Idle Ingress: Disabled
        Insert Idle Egress: Disabled
    
    Phy:
        Media type: Not known
        Alarms:
            Current:
                Loss of Signal
        Statistics:
            FEC:
                Corrected Codeword Count: 31426046
                Uncorrected Codeword Count: 2187
    
    Autonegotiation disabled.
    
    Operational values:
        Speed: 100Gbps
        Duplex: Full Duplex
        Flowcontrol: None
        Loopback: Internal
        BER monitoring:
            Not supported
        Forward error correction: Standard (Reed-Solomon)
        Holdoff Time: 0ms
    
    
  3. Run the show alarms brief system active command to view the loopback configuration alarms.

    Example:

    RP/0/RP0/CPU0:ios#show alarms brief system active
    Tue Sep 13 17:43:35.212 UTC
    
    ------------------------------------------------------------------------------------
    Active Alarms
    ------------------------------------------------------------------------------------
    Location        Severity     Group            Set Time                   Description                                                                                                                                                                              
    ------------------------------------------------------------------------------------                                                                                                                                                                                                                                                                                             0/2             Minor        Controller       09/13/2022 17:34:32 UTC    HundredGigECtrlr0/2/0/2 - Internal Loopback Configured
    0/2             Minor        Controller       09/13/2022 17:34:32 UTC    HundredGigECtrlr0/2/0/2 - Internal Loopback Configured
    0/2             Minor        Controller       09/13/2022 17:34:32 UTC    HundredGigECtrlr0/2/0/2 - Line Loopback Configured                                                                                                                                   
    0/2             Major        Ethernet         09/13/2022 17:34:31 UTC    HundredGigECtrlr0/2/0/1/2 - Loss of Synchronization The Data Interface                                                                                                                     
    0/2             Minor        Controller       09/13/2022 17:39:19 UTC    CoherentDSP0/2/0/0 - Internal Loopback Configured