This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:svc_cmd_adv [2024/10/23 23:40] manu |
storage:svc_cmd_adv [2024/11/27 20:56] (current) manu [FC port masking] |
||
---|---|---|---|
Line 78: | Line 78: | ||
You can limit FC traffic to specific purpose: | You can limit FC traffic to specific purpose: | ||
+ | * for cluster traffic (inter-node) | ||
+ | * for remote copy traffic (replication) | ||
+ | |||
<code> | <code> | ||
-localfcportmask port_mask | -localfcportmask port_mask | ||
Line 86: | Line 89: | ||
</code> | </code> | ||
- | To view the current port mask settings, run the lssystem command, as shown in | + | To view the current port mask settings, run the **lssystem** command, the output shows that all system ports allow all types of traffic. |
- | Example 2-13. The output shows that all system ports allow all types of traffic. | + | <cli prompt='>'> |
- | Example 2-13 Viewing the local port mask | + | |
IBM_IBM FlashSystem:ITSO-FS9500:superuser>lssystem |grep mask | IBM_IBM FlashSystem:ITSO-FS9500:superuser>lssystem |grep mask | ||
local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111 | local_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111 | ||
partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111 | partner_fc_port_mask 1111111111111111111111111111111111111111111111111111111111111111 | ||
- | To set the local or RPORT mask, run the chsystem command. Example 2-14 shows the mask | + | </cli> |
+ | |||
+ | To set the local or RPORT mask, run the chsystem command. Example shows the mask | ||
setting for a system with four FC ports on each node and that has RC relationships. Masks | setting for a system with four FC ports on each node and that has RC relationships. Masks | ||
are applied to allow local node-to-node traffic on ports 1 and 2, and replication traffic on ports | are applied to allow local node-to-node traffic on ports 1 and 2, and replication traffic on ports | ||
3 and 4. | 3 and 4. | ||
- | Example 2-14 Setting a local port mask by running the chsystem command | + | |
+ | Example Setting a local port mask by running the chsystem command | ||
+ | <cli prompt='>'> | ||
IBM_IBM FlashSystem:ITSO-FS9500:superuser>chsystem -localfcportmask 0011 | IBM_IBM FlashSystem:ITSO-FS9500:superuser>chsystem -localfcportmask 0011 | ||
IBM_IBM FlashSystem:ITSO-FS9500:superuser>chsystem -partnerfcportmask 1100 | IBM_IBM FlashSystem:ITSO-FS9500:superuser>chsystem -partnerfcportmask 1100 | ||
Line 102: | Line 108: | ||
local_fc_port_mask 0000000000000000000000000000000000000000000000000000000000000011 | local_fc_port_mask 0000000000000000000000000000000000000000000000000000000000000011 | ||
partner_fc_port_mask 0000000000000000000000000000000000000000000000000000000000001100 | partner_fc_port_mask 0000000000000000000000000000000000000000000000000000000000001100 | ||
+ | </cli> | ||
The mask is extended with zeros, and all ports that are not set in a mask have the selected | The mask is extended with zeros, and all ports that are not set in a mask have the selected | ||
type of traffic blocked. | type of traffic blocked. | ||
+ | Specify the **lsportfc** command to display FC I/O port IDs. |