标签: iscsicli

  • windows iscsicli

    Action Command
    Set startup type to automatic sc [server-name] config msiscsi start= auto
    Add iSCSI Targets iscsicli.exe QAddTargetPortal [tartget-portal-address] [chap-username] [chap-password]
    Get iSCSI Targets iscsicli.exe ListTargets
    Login to Targets iscsicli.exe QLoginTarget [target-iqn]
    Set up a persistent connection (reconnects after server reboot) iscsicli.exe PersistentLoginTarget [target-iqn] T * * * * * * * * * * * * * * * 0
    List the persistent connections to target LUNs iscsicli.exe ListPersistentTargets
    Check active connections iscsicli.exe ReportTargetMappings