FortiSwitch - Password_Override

Situation

# 無法SSH登入FSW
Cannot SSH into FortiSwitch.

Configuration

[1]
Login FGT > WiFi & Switch Controller > Managed FortiSwitches

[2]
Click FSW > Edit in CLI

[3]
# 確認FSW狀態
exec switch-controller get-sync-status all

# 更改密碼 - default profile(ALL FSW managed by FGT)
config switch-controller switch-profile
    edit "default"
        set login-passwd-override enable
        set login-passwd ********      
    next
end

# 更改密碼 - another profile
config switch-controller switch-profile
    edit "setpass"
        set login-passwd-override enable
        set login-passwd ********
    next
end

config switch-controller managed-switch
    edit "S224EPXXXXXXXX"
        set switch-profile "setpass"
end

Check

SSH FSW and enter the password