Showing posts with label Transmission Network. Show all posts
Showing posts with label Transmission Network. Show all posts

Sunday, May 29, 2016

Configuring Single-homed Inter-Board Link Aggregation

In inter-board link aggregation, one or more ports on two boards are added to a LAG. Inter-board link aggregation provides protection for boards configured with aggregated links. In single homing, only one upstream device is available, without differentiating between primary and slave devices.

Service Requirements

The bandwidth between the access device uplink ports and the upper-layer switch (such as
LS-S5700-24TP-PWR-SI-AC)is required to increase in load sharing mode. In addition, link protection is required. If one link becomes faulty, the upstream bandwidth is decreased, and the Internet access rate is reduced. However, the Internet access service must not be interrupted, and the access rate reduction slightly degrades user experience.
Board-level protection must be implemented in the LAG. If one board becomes faulty, services are not interrupted.

Networking

Two GIU boards on the access device are used for upstream transmission, and the access device is interconnected with another device. One LAG is configured on the two GIU boards of the access device, and the other LAG is configured on two boards of the interconnected device.

Prerequisite

  • Interconnected devices, hardware, and ports support LAGs.
  • The two aggregated ports do not have a static MAC address. To check whether an aggregated port has a static MAC address, run the display mac-address command.

Data Plan

Table 1 lists data plan for configuring single-homed inter-board link aggregation.
Table 1 Data plan for configuring single-homed inter-board link aggregation
Item Data Remarks
LAG member port
  • 0/19/0 (master port)
  • 0/20/0
  • The configuration of the slave port must be the same as that of the master device. Alternatively, the slave port is not configured.
  • It is recommended that you do not configure the slave port to prevent a service failure due to data inconsistency with the master port.
Aggregation type LACP aggregation When the access device connects to a device supporting LACP, the LACP aggregation mode is recommended. When the access device connects to a device not supporting LACP, only manual aggregation can be configured.
Load sharing type Load sharing A LAG works in load sharing mode by default.

Procedure

  1. (Mandatory) Create a LAG and select an aggregation type. Run the link-aggregation command to add multiple uplink Ethernet ports to the same LAG to protect ports and share load between the ports. The port with the smallest port ID is the master port.
  2. (Optional) Add a LAG member port. Perform this step when the LAG bandwidth or link reliability is required to improve. To do so, run the link-aggregation add-member command to add an Ethernet port to a LAG.
    NOTE:
    When adding a port to or deleting a port from a LAG, if this port has connected to the peer device, run the shutdown(Ethernet) command to deactivate this port or disconnect the optical fiber from this port to prevent a link loop.

  3. (Optional) Select a load bearing type. This step is required only when the LAG works in LACP aggregation mode.
    Configuring the maximum active links in a LAG implements traffic allocation in load non-sharing mode. For example, M+N links have been configured in a LAG. Then, run the link-aggregation max-link-number command to specify N active links. The remaining M links are standby ones. If an active link is interrupted, a standby link automatically changes to the active one.

  4. (Optional) Set the system priority and port priority. This step is required only when the LAG works in LACP aggregation mode.
    • LACP system priority: Run the lacp priority system command to set the LACP system priority of the access device.
    • LACP port priority: LACP port priority must be used with the maximum number of links. If a port is required preferentially for carrying services, set its priority higher. Run the lacp priority port command to change the link priority so that the standby link and the active link can be switched over.

  5. (Optional) Select a link revertive mode. This step is required only when the LAG works in LACP aggregation mode. Run the lacp preempt command to set whether traffic is switched back to the original link when the original link recovers.
  6. (Optional) Query LAG information. Run the display link-aggregation command to query the LAG information, including the master port, number of links, aggregation type (manual or LACP aggregation), and maximum number of links.

Result

The bandwidth between the access device uplink ports and the upper-layer switch is increased in load sharing mode. In addition, link protection is implemented. If one board in the LAG becomes faulty, services are not interrupted.

Example

The following configurations are used as an example to configure single-homed inter-board link aggregation:
  • The access device transmits data upstream using two GIU boards.
  • Uplink ports 0/19/0 and 0/20/0 on the active and standby GIU boards, respectively, are added to an inter-board LAG.
  • Packets are forwarded to these ports based on source and destination MAC addresses.
  • The LAG works in LACP aggregation mode.
huawei(config)#link-aggregation 0/19 0 0/20 0 egress-ingress workmode lacp-static
huawei(config)#display link-aggregation all
  -------------------------------------------------------------------------
  Master port  Link aggregation mode  Port NUM  Work mode  Max link number 
  -------------------------------------------------------------------------
  0/19/0       egress-ingress                4  lacp-static              -
  -------------------------------------------------------------------------
  Total: 1 link aggregation(s)

Configuration File

link-aggregation 0/19 0 0/20 0 egress-ingress workmode lacp-static



More related:

How to do when Abnormal Optical Power Reporting Caused by the Coupling Exception

Wednesday, May 11, 2016

What's the key technologies of GPON

FEC

Context

Forward error correction (FEC) is mainly used for improving transmission quality of a line.
No ideal digital channel is available in practice. As a result, bit errors and jitter occur when digital signals are being transmitted over any transmission medium, deteriorating transmission quality on lines.
To resolve the problem, error correction mechanism is introduced.
  • The mechanism can check and correct errors after data is transmitted to the peer end. such as FEC.
  • The mechanism can check errors after data is transmitted to the peer end but not correct errors.

Highlight and Application

  • Does not require retransmission and provides a high real-time performance
  • Requires an additional bandwidth (Users must balance the transmission quality and bandwidth.)
  • Checks and corrects errors after data is transmitted to the peer end, but does not apply to services for which retransmission is enabled
  • Applies to data transmission on the network that has a poor quality
  • Applies to services that have a low requirement on delay (The delay is large if retransmission is configured for services.)

Configuration Guide

The FEC function of 10G GPON as follows:
  • Supported only in the downstream direction.
  • FEC is enabled by default.
  • The FEC function cannot be configured manually.

More related:

Thursday, March 17, 2016

Precaution for DCN Channel Allocation Limitations in OptiX OSN 8800

Notice on Precaution for DCN Channel Allocation Limitations in OptiX OSN 8800
Summary: For an OptiX OSN 8800 NE of a version earlier than V100R007C00, when more than 1024 DCN channels are allocated, there is a relatively high probability that the system control board of the NE is unexpectedly reset. In addition, when the system control board undergoes active/standby switching or a reset, there is a certain probability that the DCN communication between the NE and the peer NE is interrupted.
Product LineTransport network product line     Product FamilyWDM products
Product ModelOptiX OSN 8800              Keywords: DCN, channel allocation
[Problem Description]
Trigger condition:
Condition 1: The NE version is earlier than V100R007C00.
Condition 2: The number of DCN channels in a single subrack exceeds 1024. This condition is generally present in scenarios where service boards are fully configured. Examples of such scenarios include:
TN54THA boards are fully configured in an OptiX OSN 8800 T32 subrack.
Excessive TOM boards are configured in an OptiX OSN 8800 T64 subrack of a version earlier than V100R006C00.
Excessive TN54THA and 8 port TOM/TOX/NO2 boards are configured in an OptiX OSN 8800 T64 
subrack 
of V100R006C00 or a later version.
Condition 3: Excessive service boards are configured in a single subrack and the 
required DCN channels exceed the allocation capability of the system control board. 
An example of such a scenario is as follows: In an OptiX OSN 8800 T32 subrack equipped 
with the TN52SCC board, 19 or more 8-port TOM/TOX/NO2 boards are configured.
Each optical port on the TOM/TOX/NO2 board needs to be allocated one 3-byte channel, 
one 9-byte channel, and one 18- or 24-byte channel. In this case, 19 boards 
require a total of 152 (19 x 8) channels for each channel type. The TN52SCC board 
supports a maximum of 150 channels for 3-byte and 9-byte channel types each
and 100 channels for the 18- or 24 byte channel type. This means that
the TN52SCC board has no capability to provide one 3-byte channel, one 9-byte 
channel, and one 18- or 24-byte channel for each service board. 
The following table lists the DCN channel allocation capability of each type of 
system control board.


Symptom:
Symptom 1: When both conditions 1 and 2 are present, there is a relatively high 
probability that the system control board of the NE frequently experiences unexpected 
resets after the DCN channels on tributary boards are disabled in batches.
Symptom 2: When both conditions 1 and 3 are present, the following result may occur in 
case of a switchover or reset of the system control board of the NE:
Result 1: Some peer NEs of the NE can be found in the routing table of the NE but 
cannot be logged in. 
Result 2: Some peer NEs cannot be found in the routing table of the NE.
Identification method:
For an NE that has symptom 1, the method of determining whether the NE is involved in 
this precaution is as follows:
Run the :cm-get-newbdinfo command to query the DCN channel allocation on the NE. 
Based on the command output, calculate the number of DCN channels in each subrack. 
If the number of DCN 
channels in each subrack does not exceed 1024, run the :cm-get-tti command to 
query the FE_DCN channel allocation on the NE. Calculate the sum of the number of 
channels obtained using this command and the number of channels obtained using the :
cm-get-newbdinfo command, and then check whether the sum exceeds 1024.
For an NE that has result 1 of symptom 2, the method of determining whether the NE is 
involved in this precaution is as follows:
Check the MAC connection information consistency between every two NEs along the path 
from the gateway NE to an unreachable NE. In a network shown in the following figure, 
assume that NE A is a gateway NE (NE ID: 0x9270e), and NE B (NE ID: 0x94e60) and NE 
are subtending NEs. NE B is the faulty NE and NE C cannot be logged in. In this case, 
the MAC connection information consistency between NEs A and B and that between NEs B 
and C need to be checked.

Step 1 Use the Navigator to log in to NE A and check the MAC connection information on 
NE A.
The MAC connection of NE B can be found on NE A. As shown in the following command 
output, the NE ID of NE B is 0x94e60 and the DCN channel used for the MAC connection 
of NE B is 676.
#A:szhw [][][2014-06-17 12:06:12+08:00]>
:cm-get-maccon
                                    MAC-CONNECT                                   
                DST-ID      BOARD-ID  FIBER-ID  MODE          SCC-NO              
                0x00094e7f  255-255   0         auto          2040                
                0x00094e60  59        1         auto          676             
On NE A, query the communication route information of NE B. In the queried route 
information, the peer-end DCN channel of NE B is 140. This channel number 
may not be the actual channel number since channel numbers cannot be completely 
displayed in versions earlier than V100R007C00.
#A:szhw [][][2014-06-17 12:06:11+08:00]>
:cm-get-eccroute
                                     ECC-ROUTE                                    
  DST-ID   DXC-ID  DISTANCE      LEVEL  MODE   SCC-NO  PEER-SCCNO               
   0x00094e60  0x00094e60  0         4        auto          676     140
NE A sets up a communication connection with NE B through the GCC12_18 channel on 
optical port 1 of the board in slot 59.
#A:szhw [][][2014-06-17 12:06:17+08:00]>
:cm-get-newbdinfo
ECC-BDINFO
BID   SUB-CARD  PORT  PORT-STATE CHAN-TYPE  LINK-CHAN  CHAN-ACCESS   INIT-STACK ACT-STACK   NEG   
CHAN-STATE    PROTECT  P-Bid  P-Pid  
  59   255       1          port-enable   GCC12_18     676      OK     hwecc      hwecc                     
  unused       ok            0        0      0      
Step 2 Use the Navigator to log in to the NE B and check the MAC connection 
information on NE B.
The MAC connection of NE A (NE ID: 0x9270e) cannot be found on NE B.
#B:szhw [][][2014-06-17 13:23:49+08:00]>
:cm-get-maccon
                                    MAC-CONNECT                                   
        DST-ID      BOARD-ID  FIBER-ID  MODE          SCC-NO              
           0x00094e25  55        1         auto          651          
           0x00094e23  64        2         auto          684                                 
            0x000926fa  21        3         auto          415                 
Based on the preceding information, NE B is determined as the faulty NE. In practice, 
if the MAC connection information on NEs A and B are consistent, repeat the preceding 
steps to check the MAC connection information consistency between NEs B and C.
----End
For an NE that has result 2 of symptom 2, the method of determining whether the NE is 
involved in this precaution is as follows:
On the NE, run the :cm-get-sccchaninfo command to check the DCN channel 
allocation on the system control board of each subrack. In the command output, if 
IDLE-NUM of a row is 0, all the channels of the channel type on the 
row are allocated. As shown in the following example, all 3-byte DCN channels on 
the system control board in slot 85 are allocated.
#9-49136:szhw [][][2014-09-19 14:45:32+08:00]>
>>> cm-get-sccchaninfo:85
                                   CPU-CHAN-INFO
                BID      CHAN-WIDTH  CHAN-TOTAL  USED-NUM  IDLE-NUM
                85       1           24          0         24
                85       3           300         300        0
                85       9           300         21        279
                85       18          200         21        179
                85       24          200         0         200
                85       80          100         0         100
  Total records :6   
[Root Cause]
The root cause of symptom 1 is as follows: Disabling of the DCN channels on tributary 
boards will cause overwriting of the static memory. Consequently, the system control 
board is frequently reset.
The root cause of result 1 of symptom 2 is as follows: There is a low probability that 
MAC information is lost when the logic of the system control board frequently processes 
concurrent MAC messages. Consequently, the routing information on the NE and that on 
the peer NE are inconsistent.
The root cause of result 2 of symptom 2 is as follows: The system control board has a 
limited capability of allocating DCN channels. After the system control board undergoes 
a reset or active/standby switching, DCN channels are re-allocated. It is possible that 
no DCN channel is allocated to a path to which DCN channels were allocated before the 
reset or active/standby switching. When this occurs, the peer NE connected to the NE 
through the path will not be present in the routing table of the local NE if the path 
is the only available path between the two NEs.

[Impact and Risk]
For symptom 1, the memory of the system control board is overwritten and therefore the 
system control board is frequently reset.
For symptom 2, the local NE or its downstream NE is unreachable by the NMS or cannot be 
logged in after the system control board on the local NE undergoes active/standby 
switching or a reset.
[Measures and Solutions]
Recovery measures:
For symptom 1, when more than 1024 DCN channels are allocated in a subrack:
If the system control board does not experience unexpected resets, send the database of 
the faulty NE back to the R&D department to modify the DCN configuration, and then 
import the modified database to the live network.
If the system control board already experiences frequently unexpected resets, send the 
NE database before the reset occurs back to the R&D department to modify the DCN 
configuration, clear the database by setting the DIP switches on the system control 
board with reference to product manuals, and then import the modified database to the 
live network.
For symptom 2, when excessive service boards are configured in a single subrack and 
the required DCN channels exceed the allocation capability of the system control board, 
take either of the following measures:
Disable the allocated but unused DCN channels, especially the DCN channels on tributary 
boards.
As shown in the following figure, if DCC Resources of a DCN channel is Obtained 
Already, the DCN channel is allocated.



Note that after you disable a DCN channel, all allocated DCN channels on the optical 
port where the DCN channel resides will be disabled.

Delete unused DCN channels.


Workarounds:
Delete or disable unused DCN channels, especially the DCN channels on tributary boards 
before the allocated DCN channels exceed the allocation capability of the system 
control board.
Preventive measures:
For symptom 1, upgrade the NE to OptiX OSN 8800 V100R007C00 or a later version.
For symptom 2, upgrade the NE to OptiX OSN 8800 V100R007C00 or a later version. If the 
current NE version is earlier than OptiX OSN 8800 V100R006C01SPC500, you can also
 upgrade the NE to OptiX OSN 8800 V100R006C01SPC500 and then install the OptiX OSN 8800 
V100R006C01SPC500SPH520 patch.
 More blog:

Alarms of HSC_UNAVAIL&COMMUN_FAIL & BD_STATUS on SSR2 CXLLN of OSN1500B