Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring Switches

To configure a lossless network, you need to configure switches. This section uses the HUAWEI CE6863-48S6CQ switch as an example to describe how to execute a flow control policy.

  1. Log in to the switch and enable priority-based flow control (PFC).
    1
    2
    3
    4
    5
    system-view
    dcb pfc
    priority 0
    commit
    quit
    
  2. Check whether PFC is enabled.
    1
    display dcb pfc-profile
    

    If 0 is returned, the configuration in 1 takes effect.

  3. Configure Explicit Congestion Notification (ECN).
    1
    2
    3
    4
    5
    system-view
    drop-profile ecn
    color green buffer-size low-limit 247520 high-limit 18000000 discard-percentage 100
    commit
    quit
    
  4. Check the ECN profile.
    1
    display drop-profile ecn
    

    If the following information is displayed, the configuration in 3 takes effect.

  5. Configure flow control for each traffic interface. A 25GE interface 1/0/5 is used as an example.
    1
    2
    3
    4
    5
    6
    7
    interface 25GE 1/0/5
    qos queue 0 wred ecn
    qos queue 0 ecn
    dcb pfc enable mode manual
    dcb pfc buffer 0 xoff static 1500 cells
    commit
    quit
    
  6. Check whether the configuration takes effect.
    1
    2
    interface 25GE 1/0/5
    display this
    

    If the information in 5 is returned, the flow control is configured.