A
4 – Command Reference Command Syntax
Localmap
Maps a
Authority | Admin session |
Syntax | localmap |
| add |
| rm |
Keywords | add |
| Adds a local initiator to target mapping. |
| rm |
| Removes a local initiator from target mapping. |
Examples | Localmap add command example with FC port query: |
| QRouter (admin) #> localmap add |
| The following wizard will query for attributes before persisting and |
| activating the updated mapping in the system configuration. If you |
| wish to terminate this wizard before reaching the end of the list |
| press 'q' or 'Q' and the ENTER key to do so. |
Index (WWNN,WWPN/iSCSI Name)
050:06:01:60:b0:22:0c:d1,50:06:01:68:30:22:0c:d1
1
Please select an Initiator from the list above ('q' to quit) : 1
Index (WWNN,WWPN/iSCSI Name)
020:00:00:20:37:fd:9c:f7,22:00:00:20:37:fd:9c:f7
150:06:01:60:b0:22:0c:d1,50:06:01:68:30:22:0c:d1
220:00:00:20:37:fd:8a:b0,22:00:00:20:37:fd:8a:b0
320:00:00:20:37:fd:8b:ab,22:00:00:20:37:fd:8b:ab
Please select a Target from the list above ('q' to quit) : 3
iSCSI port used to access the Initiator (1=GE1, 2=GE2, ...) : 2
FC port used to access the Target (1=FC1, 2=FC2, ...) : 1
The selected initiator has not been presented on the port that was selected to access the target. The following steps in the wizard will now setup the initiator so that it is presented on the port that will be used to access the target. A default name for the presented initiator is assigned below. To accept the default assigned name simply press the ENTER key or enter a new name.