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

FusionStorage V100R006C10 File Storage Service Software Installation Guide 06

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).
Configuring Switches Shared by the Front and Back Ends

Configuring Switches Shared by the Front and Back Ends

This section describes how to configure switches in a network where the front and back ends share a switch.

Context

The following example uses three storage nodes, two CE6800 series switches, and one CE5800 series switch to explain how to configure switches. Figure 4-2 shows the network planning.

Figure 4-2  Network planning

Table 4-2 shows switch planning examples. The planning values are only for your reference and are italic texts in commands. You can replace them based on site requirements.

Table 4-2  Network planning example

Name

Example

Switch shared by the front and back ends

Front-end VLAN: 100

service ports: 1/0/17 to 1/0/19, 2/0/17 to 2/0/19

Back-end VLAN: 2

storage ports: 1/0/1 to 1/0/3, 2/0/1 to 2/0/3

Uplink ports: 1/0/33 to 1/0/35, 2/0/33 to 2/0/35

40GE stack ports: 1/0/1 to 1/0/2, 2/0/1 to 2/0/2

IPv4 address: 10.10.10.10/255.255.255.0

IPv6 address: feco:1::2 64

If the switch version is another one, see the corresponding document to complete the configuration. To obtain switch-relevant documents, go to:

To obtain the CE6800 series switch document: For enterprise users, log in to http://support.huawei.com/enterprise. For carrier users, log in to http://support.huawei.com. Enter CloudEngine 6800 in the search box, and click the path displayed below the search box to enter the product page.

Procedure

  1. Log in to a switch, query its version, and configure the stacking status for two switches.

    For details about how to log in to a switch, view its version, and configure stacking, see Check switch versions and Set switches CE6800-1 and CE6800-2 to the stack state in chapter Configuring Switches > Configuring Switches on a 10GE Network > Networking for Switches Not Shared by the Front and Back Ends > Configuring Back-End Storage Network Switches.

  2. Configure VLAN for the front switches.

    #Go to the system view. <HUAWEI> system-view
    #Batch create VLANs. 
    [~HUAWEI] vlan 100
    [~HUAWEI] vlan 100
    [*HUAWEI] commit
    

  3. Enable flow control for 10GE ports on the front-end service network.

    #Create port group 2, add ports of the Front-End Service Network Switches, and enable traffic control.
    [~HUAWEI] port-group 1
    [*HUAWEI-port-group-1] group-member 10ge 1/0/17 to 10ge 1/0/19
    [*HUAWEI-port-group-1] group-member 10ge 2/0/17 to 10ge 2/0/19
    [*HUAWEI-port-group-1] port link-type access
    [*HUAWEI-port-group-1] port default vlan 100
    [*HUAWEI-port-group-1] flow-control
    [*HUAWEI-port-group-1] commit
    [~HUAWEI-port-group-1] quit

  4. Configure the PFC function for ports of the switch on the back-end storage network.

    NOTE:

    The VLAN ID of the back-end network ranges from 2 to 9. The recommended value is 2, which keeps consistent with the default value of the virtual network port of a storage node. If the value cannot be set to 2, change the ID of the virtual network port on the storage node. For details about how to change it, see Modifying the Virtual Network Port ID on Each Storage Node.

    #Create port group 2 and VLAN 2, add ports of the switch on the back-end storage network, and configure the PFC function.
    [~HUAWEI] vlan 2
    [*HUAWEI-vlan2] commit
    [~HUAWEI-vlan2] quit
    [~HUAWEI] port-group 2
    [*HUAWEI-port-group-2] group-member 10ge 1/0/1 to 10ge 1/0/3
    [*HUAWEI-port-group-2] group-member 10ge 2/0/1 to 10ge 2/0/3
    [*HUAWEI-port-group-2] commit
    #Configure hybrid for ports that are connected to the RoCE adapter, and specify the working mode of the PFC function.
    [*HUAWEI-port-group-2] port link-type hybrid
    #ROCE port exits from VLAN 1.
    [~HUAWEI-port-group-2] undo port hybrid untagged vlan 1
    [*HUAWEI-port-group-2] port hybrid tagged vlan 2
    [*HUAWEI-port-group-2] dcb pfc enable mode manual
    [*HUAWEI-port-group-2] commit
    [~HUAWEI-port-group-2] quit
    #Set the priority.
    [~HUAWEI] dcb pfc
    [~HUAWEI-dcb-pfc] priority 0 to 5
    [*HUAWEI-dcb-pfc] commit
    [~HUAWEI-dcb-pfc] quit

  5. Configure an IP address for MEth0/0/0, configure SNMP, and check SNMP operations. For details, see Configure an IP address for port MEth0/0/0 and Configure SNMP in chapter Configuring Switches > Configuring Switches on a 10GE Network > Networking for Switches Not Shared by the Front and Back Ends > Configuring Back-End Storage Network Switches.
  6. Run the display current-configuration command and press Enter to check related configurations one by one.
  7. Configure a CE5800 switch.

    The management switch of the 10GE network where the front-end service network and back-end storage network do not share switches is configured in the same way as that of the 10GE network where the front-end service network and back-end storage network share switches. For details, see chapter Configuring Switches > Configuring Switches on a 10GE Network > Networking for Switches Not Shared by the Front and Back Ends > Configuring a Management Network Switch.

Translation
Download
Updated: 2019-03-28

Document ID: EDOC1000175257

Views: 8744

Downloads: 3

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