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

CX11x, CX31x, CX710 (Earlier Than V6.03), and CX91x Series Switch Modules V100R001C10 Configuration Guide 12

The documents describe the configuration of various services supported by the CX11x&CX31x&CX91x series switch modules The description covers configuration examples and function configurations.
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).
Configuration Examples

Configuration Examples

This section provides a DCB configuration example.

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 SAN. The FC 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 10-57. On SwitchA, FIP snooping is configured to ensure correct SAN traffic forwarding.

SwitchA carries common Ethernet traffic, FCoE traffic, and IPC traffic among server clusters. The 802.1p priorities of FCoE traffic and IPC traffic are 3 and 7 respectively. The 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 BE mode.
Figure 10-57 Data center networking
Configuration Roadmap

To meet QoS requirements in the preceding scenario, configure DCB on SwitchA.

The configuration roadmap is as follows:
  1. Configure priority mapping on SwitchA to map LAN traffic, SAN traffic, and IPC traffic to different interface queues.
  2. Configure DCBX on SwitchA to implement DCB capability negotiation at both ends of a link.
  3. Configure PFC on SwitchA to ensure lossless transmission of SAN traffic.
  4. Configure ETS on SwitchA to ensure low latency of IPC traffic and bandwidth of SAN traffic.
NOTE:

FIP snooping must be configured on SwitchA. For details on how to configure FIP snooping, see Example for Configuring FIP Snooping.

Procedure

  1. Configure priority mapping.

    # Configure interfaces to trust outer 802.1p priorities. By default, an interface trusts outer 802.1p priorities. The procedure is not mentioned here.

    # Create DiffServ domain ds1 on SwitchA and configure priority mapping in the DiffServ domain.

    <HUAWEI> system-view
    [~HUAWEI] sysname SwitchA
    [*HUAWEI] commit
    [~SwitchA] diffserv domain ds1
    [*SwitchA-dsdomain-ds1] 8021p-inbound 3 phb af1 green
    [*SwitchA-dsdomain-ds1] 8021p-outbound af1 green map 3
    [*SwitchA-dsdomain-ds1] commit
    [~SwitchA-dsdomain-ds1] quit

    # Bind the DiffServ domain to 10GE1/17/1, 10GE1/17/2, and 10GE1/17/3.

    [~SwitchA] interface 10ge 1/17/1
    [~SwitchA-10GE1/17/1] trust upstream ds1
    [*SwitchA-10GE1/17/1] quit
    [*SwitchA] interface 10ge 1/17/2
    [*SwitchA-10GE1/17/2] trust upstream ds1
    [*SwitchA-10GE1/17/2] quit
    [*SwitchA] interface 10ge 1/17/3
    [*SwitchA-10GE1/17/3] trust upstream ds1
    [*SwitchA-10GE1/17/3] quit
    [*SwitchA] commit

  2. Configure DCBX.

    [~SwitchA] lldp enable
    [*SwitchA] interface 10ge 1/17/1
    [*SwitchA-10GE1/17/1] lldp tlv-enable dcbx
    [*SwitchA-10GE1/17/1] quit
    [*SwitchA] interface 10ge 1/17/2
    [*SwitchA-10GE1/17/2] lldp tlv-enable dcbx
    [*SwitchA-10GE1/17/2] quit
    [*SwitchA] interface 10ge 1/17/3
    [*SwitchA-10GE1/17/3] lldp tlv-enable dcbx
    [*SwitchA-10GE1/17/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/17/1
    [~SwitchA-10GE1/17/1] dcb pfc enable mode auto
    [*SwitchA-10GE1/17/1] quit
    [*SwitchA] interface 10ge 1/17/2
    [*SwitchA-10GE1/17/2] dcb pfc enable mode auto
    [*SwitchA-10GE1/17/2] quit
    [*SwitchA] interface 10ge 1/17/3
    [*SwitchA-10GE1/17/3] dcb pfc enable mode auto
    [*SwitchA-10GE1/17/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/17/1 and 10GE1/17/2.

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

  5. Verify the configuration.

    # Check the ETS configuration.

    [~SwitchA] display dcb ets-profile ets1                                        
    ETS Profile: ets1
    ------------------------------------------------------------------------------- 
     PG  Queue  Schedule  Weight      CIR/PIR(kbps)         CBS/PBS(Bytes)   WRED   
    ------------------------------------------------------------------------------- 
      0     --  DRR          60          --/--                 --/--         --
             0  PQ           --          --/--                 --/--         --
             1  PQ           --          --/--                 --/--         --
             2  PQ           --          --/--                 --/--         --
             4  PQ           --          --/--                 --/--         --
             5  PQ           --          --/--                 --/--         --
             6  PQ           --          --/--                 --/--         --
      1     --  DRR          40          --/--                 --/--         --
             3  PQ           --          --/--                 --/--         --
     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
    -----------------------------------------------------------------
    Interface          PFC Mode   PFC Status   ETS Name   ETS Status
    -----------------------------------------------------------------
    10GE1/17/1          auto       SUCCEED      ets1      SUCCEED
    10GE1/17/2          auto       SUCCEED      ets1      SUCCEED
    10GE1/17/3          auto       SUCCEED      --        --     
    -----------------------------------------------------------------

Configuration Files
#
sysname SwitchA
#                                                                               
dcb pfc                                                                         
#                                                                                
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                                                 
#                               
fcoe FSB
 vlan 2094 
#                                                                               
lldp enable                                                                     
#                                                                                
diffserv domain ds1                                                             
 8021p-inbound 3 phb af1 green                                                  
 8021p-outbound af1 green map 3                                                 
# 
interface 10GE1/17/1
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 trust upstream ds1
 dcb pfc enable mode auto
 dcb ets enable ets1
#
interface 10GE1/17/2
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 trust upstream ds1
 dcb pfc enable mode auto
 dcb ets enable ets1
#
interface 10GE1/17/3 
 port link-type trunk
 port trunk allow-pass vlan 2094
 lldp tlv-enable dcbx
 trust upstream ds1
 fcoe role vnp
 dcb pfc enable mode auto
#
return
Translation
Download
Updated: 2019-08-09

Document ID: EDOC1000041694

Views: 59733

Downloads: 3623

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