Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 40

Examples: mpio-include Command, Example 1: Including a Subnet

Page 40 highlights

Parameter --mask --adapter --mac Abbr. none none none --ip-address --force none none --default none Argument subnet-mask adapter-name mac-address ip-address none include|exclude Description Specifies a subnet mask to include. Used with the -network parameter. Specifies a user-defined string as the name of the adapter to include. For example, eth0, eth1, and so on. Specifies a MAC address, or physical address, for an adapter that is to be included. The MAC address can be specified in any of the following formats: AABBCCDDEEFF, AA-BB-CC-DD-EE-FF, AA:BB:CC:DD:EE:FF, or AA.BB.CC.DD.EE.FF. Specifies an IP address to include. Forces the included list to be overwritten with all the subnets, adapters, or IP addresses listed. This option must be used when switching from one type of rule to another. For example, when changing from inclusion by subnet to inclusion by adapter name. Specifies to include or exclude by default the adapters not explicitly listed. Examples: mpio-include Command The following examples show using the --mpio-include command to include a subnet and include an adapter. Example 1: Including a Subnet In the following example, the rswcli --mpio-include command includes a subnet. # rswcli --mpio-include --network=192.x.x.xx --mask=255.255.0.0 --force Processing mpio-include command... Adding '192.x.x.xx - 255.255.0.0' to include list Subnet Rules: Included: 192.x.x.xx - 255.255.0.0 Excluded: All Other All other subnets, adapters or ip addresses are excluded by default. The mpio-include command succeeded. Example 2: Including an Adapter In this example, the rswcli --mpio-include command includes an adapter by a user-defined string. # rswcli --mpio-include --adapter=eth0 --force Processing mpio-include command... Adding 'eth0' to include list Adapter Rules: Included: eth0 Excluded: All Other All other subnets, adapters or ip addresses are excluded by default. The mpio-include command succeeded. 40 Configuring Multipath I/O Devices

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

Parameter
Abbr.
Argument
Description
--mask
none
subnet-mask
Specifies a subnet mask to include. Used with the
--
network
parameter.
--adapter
none
adapter-name
Specifies a user-defined string as the name of the
adapter to include. For example, eth0, eth1, and so on.
--mac
none
mac-address
Specifies a MAC address, or physical address, for an
adapter that is to be included. The MAC address can be
specified in any of the following formats:
AABBCCDDEEFF, AA-BB-CC-DD-EE-FF,
AA:BB:CC:DD:EE:FF
, or
AA.BB.CC.DD.EE.FF
.
--ip-address
none
ip-address
Specifies an IP address to include.
--force
none
none
Forces the included list to be overwritten with all the
subnets, adapters, or IP addresses listed. This option
must be used when switching from one type of rule to
another. For example, when changing from inclusion by
subnet to inclusion by adapter name.
--default
none
include|exclude
Specifies to include or exclude by default the adapters
not explicitly listed.
Examples: mpio-include Command
The following examples show using the
--mpio-include
command to include a subnet and include an adapter.
Example 1: Including a Subnet
In the following example, the
rswcli --mpio-include
command includes a subnet.
# rswcli --mpio-include --network=192.x.x.xx --mask=255.255.0.0 --force
Processing mpio-include command...
Adding '192.x.x.xx - 255.255.0.0' to include list
Subnet Rules:
Included:
192.x.x.xx - 255.255.0.0
Excluded:
All Other
All other subnets, adapters or ip addresses are excluded by default.
The mpio-include command succeeded.
Example 2: Including an Adapter
In this example, the
rswcli --mpio-include
command includes an adapter by a user-defined string.
# rswcli --mpio-include --adapter=eth0 --force
Processing mpio-include command...
Adding 'eth0' to include list
Adapter Rules:
Included:
eth0
Excluded:
All Other
All other subnets, adapters or ip addresses are excluded by default.
The mpio-include command succeeded.
40
Configuring Multipath I/O Devices