No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - DCN and Server Management

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configurations of Trill, FCoE, DCB, and NLB Server Cluster Association.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring DCB

Example for Configuring DCB

Networking Requirements

During deployment of a converged data center network, the access network convergence solution is used to protect investments in the existing storage area network (SAN). The FCoE forwarder (FCF) functions only as the aggregation device because of its high cost. SwitchA functions as the access switch. SwitchA directly connects to Ethernet switch SwitchB and FCF through its uplink interfaces, and directly connects to servers through its downlink interfaces, as shown in Figure 3-8. On SwitchA, Fibre channel Initialization Protocol (FIP) snooping is configured to ensure correct SAN traffic forwarding.

SwitchA carries common Ethernet traffic, Fibre Channel over Ethernet (FCoE) traffic, and inter-process communication (IPC) traffic among server clusters. The 802.1p priorities of FCoE traffic and IPC traffic are 3 and 7 respectively. The quality of service (QoS) requirements of the three types of traffic are as follows:
  • FCoE traffic requires no packet loss.
  • IPC traffic requires low latency.
  • Common Ethernet traffic is transmitted in best-effort (BE) mode.
Figure 3-8 Data center networking

Configuration Roadmap

To meet QoS requirements in the preceding scenario, configure Data Center Bridging (DCB) on SwitchA.

The configuration roadmap is as follows:
  1. If the Data Center Bridging eXchange protocol (DCBX) version is intel-oui, switch the DCBX version on SwitchA.
  2. Configure DCBX on SwitchA to implement DCB capability negotiation at both ends of a link.
  3. Configure Priority-based Flow Control (PFC) on SwitchA to ensure lossless transmission of SAN traffic.
  4. Configure enhanced transmission selection (ETS) on SwitchA to ensure low latency of inter-process communication (IPC) traffic and bandwidth of SAN traffic.
NOTE:

FCoE must be configured on SwitchA. For details on how to configure FCoE, see FC and FCoE Configuration.

Procedure

  1. Switch the DCBX version.

    # The default DCBX version is IEEE DCBX. If the DCBX version of the remote device is intel-oui, switch the DCBX version on 10GE1/0/1, 10GE1/0/2, and 10GE1/0/3.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] dcb compliance intel-oui
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] dcb compliance intel-oui
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] interface 10ge 1/0/3
    [*SwitchA-10GE1/0/3] dcb compliance intel-oui
    [*SwitchA-10GE1/0/3] quit
    [*SwitchA] commit

  2. Configure DCBX.

    [~SwitchA] lldp enable
    [*SwitchA] interface 10ge 1/0/1
    [*SwitchA-10GE1/0/1] lldp tlv-enable dcbx
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] lldp tlv-enable dcbx
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] interface 10ge 1/0/3
    [*SwitchA-10GE1/0/3] lldp tlv-enable dcbx
    [*SwitchA-10GE1/0/3] quit
    [*SwitchA] commit

  3. Configure PFC.

    # Enable PFC for queues with priority 3. By default, PFC has been enabled for queues with priority 3. The procedure is not mentioned here.

    # Enable PFC on an interface.

    [~SwitchA] interface 10ge 1/0/1
    [~SwitchA-10GE1/0/1] dcb pfc enable mode auto
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] dcb pfc enable mode auto
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] interface 10ge 1/0/3
    [*SwitchA-10GE1/0/3] dcb pfc enable mode auto
    [*SwitchA-10GE1/0/3] quit
    [*SwitchA] commit

  4. Configure ETS.

    # Create an ETS profile.

    [~SwitchA] dcb ets-profile ets1
    

    # Map queue 3 to PG1, queue 7 to PG15, and other queues to PG0. Queue 3 maps PG1, and queues 6 and 7 map PG15 by default, so you only need to add queue 6 to PG0.

    [*SwitchA-ets-ets1] priority-group 0 queue 6
    

    # Configure flow control based on the priority group and set DRR weights of PG0 and PG1 to 60% and 40% respectively.

    [*SwitchA-ets-ets1] priority-group 0 drr weight 60
    Info: The weight value of priority group 1 has been automatically configured to 40.
    [~SwitchA-ets-ets1] quit

    # Apply the ETS profile to 10GE1/0/1 and 10GE1/0/2.

    [*SwitchA] interface 10ge 1/0/1
    [*SwitchA-10GE1/0/1] dcb ets enable ets1
    [*SwitchA-10GE1/0/1] quit
    [*SwitchA] interface 10ge 1/0/2
    [*SwitchA-10GE1/0/2] dcb ets enable ets1
    [*SwitchA-10GE1/0/2] quit
    [*SwitchA] commit

  5. Verify the configuration.

    # Check the ETS configuration.

    [~SwitchA] display dcb ets-profile ets1
    Q:Queue    SCH:Schedule    RN:Renumber                                          
    ETS Maximum: 8                                                                  
    Total: 1                                                                        
    ETS Profile: ets1
    ------------------------------------------------------------------------------- 
    PG(RN)  Q  SCH    Weight       CIR/PIR(kbps)       CBS/PBS(Bytes) WRED          
    ------------------------------------------------------------------------------- 
     0(0)   -  DRR     60(60)        -/-                 -/-          -
            0  PQ           -        -/-                 -/-          -
            1  PQ           -        -/-                 -/-          -
            2  PQ           -        -/-                 -/-          -
            4  PQ           -        -/-                 -/-          -
            5  PQ           -        -/-                 -/-          -
            6  PQ           -        -/-                 -/-          -
     1(1)   -  DRR     40(40)        -/-                 -/-          -
            3  PQ           -        -/-                 -/-          -
    15(15)  -  PQ           -        -/-                 -/-          -
            7  PQ           -        -/-                 -/-          -
     --------------------------------------------------------------------------

    # Check the DCB configuration and negotiation status.

    Run the display dcb command to check the DCB configuration and negotiation status. If the DCB configuration is correct, the following negotiation result is displayed:

    [~SwitchA] display dcb
    M:Manual;    A:Auto                                                             
    ------------------------------------------------------------------------------- 
    Interface         PFC Name     PFC Status  ETS Name    ETS Status App-Profile   
    ------------------------------------------------------------------------------- 
    10GE1/0/1         default      ENABLE(A)   ets1        SUCCEED     -             
    10GE1/0/2         default      ENABLE(A)   ets1        SUCCEED     -             
    10GE1/0/3         default      ENABLE(A)   -           -           -             
    -------------------------------------------------------------------------------

Configuration Files

#
sysname SwitchA
#                                                                               
dcb pfc default                                       
#                                                                                
dcb ets-profile ets1                                                            
 priority-group 0 queue 0 to 2 4 to 6                                           
 priority-group 15 queue 7                                                      
 priority-group 0 drr weight 60                                                 
 priority-group 1 drr weight 40                                                 
#                                                                               
lldp enable                                                                     
# 
interface 10GE1/0/1
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 dcb pfc enable mode auto
 dcb ets enable ets1
#
interface 10GE1/0/2
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 dcb pfc enable mode auto
 dcb ets enable ets1
#
interface 10GE1/0/3 
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 fcoe role vnp
 dcb pfc enable mode auto
#
return
Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004349

Views: 30613

Downloads: 120

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next