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 8.0.0 DSware Tool Command Reference 02

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 Policy-based Routing

Configuring Policy-based Routing

This operation is risky. You must confirm whether to continue to execute the command.

Run the following command to configure policy-based routing:

./dswareTool.sh --op setPolicyRoute -ip ip1-ip2,ip3,... -portName1 portName1 -gateway1(optional) gateway1 -portName2 portName2 -gateway2(optional) gateway2

Parameter

Description

./dswareTool.sh

Specifies an executable program for the tool.

--op setPolicyRoute

Configures policy-based routing.

-ip ip1-ip2,ip3,...

Specifies the management IP addresses of the nodes on which policy-based routing is to be configured, for example, 192.168.60.51-192.168.60.54,192.168.60.61.

-portName1

Specifies the name of the first storage network port for which policy-based routing is to be configured, for example, storage-data0.

-gateway1(optional)

Specifies the first gateway for which policy-based routing is to be configured, for example, 192.168.60.1.

-portName2

Specifies the name of the second storage network port for which policy-based routing is to be configured, for example, iscsi-0.

-gateway2(optional)

Specifies the second gateway for which policy-based routing is to be configured, for example, 192.168.61.1.

An IPv4 example is provided as follows:

dsware@FSM01:/opt/dsware/client/bin> sh dswareTool.sh --op setPolicyRoute -ip 192.168.60.51-192.168.60.53,192.168.60.61 -portName1 storage-data0 -gateway1 192.168.60.1 -portName2 iscsi-0 -gateway2 192.168.61.1
This operation is high risk,please input y to continue:y
[Mon Mar 21 14:49:22 CST 2016] DswareTool operation start.
Operation finish successfully. Result Code:0
[Mon Mar 21 14:49:29 CST 2016] DswareTool operation end.

An IPv6 example is provided as follows:

dsware@FSM01:/opt/dsware/client/bin> sh dswareTool.sh --op setPolicyRoute -ip 2016:8:40:160:c13:0:169:32-2016:8:40:160:c13:0:169:36,2016:8:40:160:c13:0:169:42 -portName1 storage-data0 -gateway1 192.168.60.1 -portName2 iscsi-0 -gateway2 2016:8:40:160:c13:0:169:1
This operation is high risk,please input y to continue:y
[Mon Mar 21 14:49:22 CST 2016] DswareTool operation start.
Operation finish successfully. Result Code:0
[Mon Mar 21 14:49:29 CST 2016] DswareTool operation end.
Translation
Download
Updated: 2019-07-12

Document ID: EDOC1100081411

Views: 4776

Downloads: 3

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