![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/7/c2/7c2f86a9-2e10-4ce0-815b-30f4e34d8da8/7c2f86a9-2e10-4ce0-815b-30f4e34d8da8-bg25.png)
4 – Command Reference
Command Syntax
SN0054659-00 A 4-17
A
Localmap
Maps a locally-connected initiator device to a locally-connected target device. The
initiator and target are not on the same FC port.
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)
----- ----------------------
0 50:06:01:60:b0:22:0c:d1,50:06:01:68:30:22:0c:d1
1 iqn.1991-05.com.microsoft:qlogic-09sd5i4l
Please select an Initiator from the list above ('q' to quit) : 1
Index (WWNN,WWPN/iSCSI Name)
----- ----------------------
0 20:00:00:20:37:fd:9c:f7,22:00:00:20:37:fd:9c:f7
1 50:06:01:60:b0:22:0c:d1,50:06:01:68:30:22:0c:d1
2 20:00:00:20:37:fd:8a:b0,22:00:00:20:37:fd:8a:b0
3 20: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.