如何在 macOS 中运行 Cisco Anyconnect 命令?我尝试运行命令,但它只显示帮助消息。我想更改我的vpn-idle-timeout
,但命令行似乎不知道存在这样的命令。
knayak-/opt/cisco/anyconnect/bin-$./vpn
Cisco AnyConnect Secure Mobility Client (version 4.6.00362) .
Copyright (c) 2004 - 2018 Cisco Systems, Inc. All Rights Reserved.
>> state: Connected
>> state: Connected
>> registered with local VPN subsystem.
>> state: Connected
>> notice: Connected to myhost.mydomain.com.
VPN> vpn-idle-timeout 100 # I want to run this but it won't work.
vpn-idle-timeout 100
[ VPN Connection commands ]
connect disconnect hosts stats
state block cancel
[ Misc commands ]
help version exit
For help with a specific command, try: help <command>
答案1
vpn-idle-timeout 100
VPN 安全AnyConnect 安装位置中存在的二进制文件不能用于配置 vpn-server(即 ASA)命令。您需要使用 ASA-CLI 或 ASDM 来配置隧道策略,如连接超时、空闲超时等。