ビルド12.0以降CLIコマンドについて

Arista AP では、各 AP のインストール・ガイドに記載されているインストール手順に従うことを推奨しています。通常はAP を手動で設定する必要はありません。
アクセスポイント(AP)の手動設定は、通常、次のような場合に必要です。

  • AP がゼロコンフィグレーションでサーバーに接続できない。
  • AP を Network Detector (ND) モードで設定する必要がある。
  • AP が、DHCP が有効でないサブネットに配置されている。

AP CLI には、次のような利点があります。

  • ユーザー入力とコマンドハンドラのための対話型 REPL バイナリ。
  • 単一のコマンド実行のための非インタラクティブモード。
  • タブベースのコマンド自動補完機能
  • トラバース可能で検索可能なコマンド履歴
  • EOS CLIに準拠したコマンド構造
    注意点
  • CLIコマンドの引数に、シングルクォート(’)、ダブルクォート(”)、スペース( )などの特殊文字が含まれる場合、その文字を囲む必要があります。スペース( )などの特殊文字がある場合は、引数を二重引用符で囲むか(“arg “など、argは引数) は引数)、またはこれらの文字をエスケープする必要があります(例:arg 134)。この形式は、通常の Linuxコマンドに沿ったものです。
  • コマンド内に一致しない引用符がある場合、エラーを修正するように求めるエラーメッセージが表示されます。また、引数のシングルクォート(’)が原因でエラーメッセージ – Internal Error – が表示された場合(例えば、Clients’ などの SSID 名にシングルクォートがある場合)、’ \” など別の方法で文字列をエスケープする必要があります。例えば、Clients’ の SSID 名を Clients’\ とエスケープすることができます。

次の表は、AP CLI で使用できるコマンドと引数を示しています。アスタリスク(*)で示された引数は、必須引数です。必須引数を指定せずにコマンドを実行すると、エラーになります。引数を持たないコマンドは、それぞれの欄でNAと表示されます。

AP CLI コマンドリスト

コマンド(Command)引数(Arguments)引数説明(Argument Description)以前のコマンド(Old Command)
acs*radioWiFi Access Point radio ID (0,1...)set acs params
説明)指定された無線機のACSパラメータを設定するnonwifithreshNon WiFi Threshold in % (Default:40)
chanscorefirstvapChannel score of first VAP in % (Default:10)
chanscore20Channel score 20 Mhz in % (Default:50)
chanscore40Channel score 40 Mhz in % (Default:25)
chanscore80Channel score 80 Mhz in % (Default:25)
show acs*radioWiFi Access Point radio ID (0,1...)get acs params
説明)指定された無線機のACSパラメータを表示する
show classification apsget ap info
Description:Show AP classification in offline mode
show classification clientsget client info
Description:Show client classification in offline mode
communication passphraseset communication passphrase
Description:Set passphrase used for sensor server authentication and encryption
communication keyset communication key
Description:Set key used for sensor server authentication and encryption
default communication keyset communication key default
Description:Resets the communication key to the factory default
debug bundleget logs
Description:Get AP debug bundle
factory resetreasonReason for reset device configuration to fac•         resetfactory
Description:Reset device configuration to factory defaults (with user prompt)•         reset factory
•         reset
force factory resetreasonReason for reset (optional)•         resetfactory
Description:Reset device configuration to factory defaults (without user prompt)•         reset factory
•         reset
failsafeset no failsafe
Description:Turn off no failsafe mode
failsafe recover
Description:Recover the device from failsafe mode
force failsafeset no failsafe
Description:Turn off no failsafe mode without user confirmation
force failsafe recover
Description:Recover the device from failsafe mode without user confirmation
force no failsafeset no failsafe
Description:Turn on no failsafe mode without user confirmation
no failsafeset no failsafe
Description:Turn on no failsafe mode
show failsafe
Description:Show failsafe mode of the device
show ledled status
Description:Display status of device LEDs
led blinkperiodSpecify blink period of LEDs in minutes. Defaultled blink
Description:Blink device LEDs#NAME?
no led blinkno led blink
Description:Stop blinking of device LEDs
logcfg hostapd*level(0-4) hostapd log level in reducing verbositydebug_hostapd
Description:Set hostapd log level
logcfg ipsec*subsystem(any|app|asn|cfg|chd|dmn|enc|espset ipsec log config
Description:Set ipsec log level
|ike|imc|imv|job|knl|lib|mgr|net|pts|tls|tnc)
*level(0-4) ipsec log level in reducing verbosity
logcfg kernel*set(0|1)set klog
Description:To Disable/Enable kernel logs
logcfg openconfig*verbose(0|1) Verbosity off|ondebug_ocagent
Description:Set openconfig log level
logcfg openvpn*level(1-9)
Description:Set openvpn log level
logcfg tgrmgr*level(0-8)
Description:Set trigger handler log level
logcfg wgd*level(1-7)
Description:Set wgd log level
logcfg wiredagentlevel(1-7)
Description:Set wiredagent log level
logcfg wlevt handler*level(1-7)
Description:Set wireless event handler log level
logcfg wlevt nlproxy*level(1-7)
Description:Set netlink event proxy log level
logcfg wlevt proxy*level(1-7)
Description:Set wireless event proxy log level
logcfg portal*level(1-7)debug_portal
Description:Set portal log level
default logcfg sensord
Description:Set sensord and sensord features log levels to default settings
logcfg sensordlevelSensord log levelset log config
Description:Set sensord and sensord features log levels. All log levels (1-7)prevPrevention log level
lpcLive Packet Capture log level
commServer Communication log level
evtsEvents log level
ossOSS log level
show logcfg sensordget log config
Description:Show sensord and sensord features log levels
logcfg synchagent*level(1-7)debug_synch_agent
Description:Set synchagent log level
show log acs*radioWiFi Access Point radio ID (0,1...)get acs/tpc logs
Description:Show ACS logs
show log client*macClient MAC (xx:xx:xx:xx:xx:xx)get client logs
Description:Show client log
show log hostapdget log
Description:Show hostapd logs
show log ipsecidNetword id. Don't specify id to show ipsec logs for all idsget log
Description:Show ipsec logs
show log ledget log
Description:Show LED logs
show log lldpget log
Description:Show LLDP logs
show log openconfigocagent_dumpinfo
Description:Show OpenConfig logs
show log openvpnget log
Description:Show OpenVPN logs
show log portalget log
Description: Show portal logs
show log sensordget log
Description:Show sensord logs
show log synchagentsynch_agent_dumpinfo
Description:Show synchagent logs
show syslog
Description:Show syslog messages
show log tpc*radioWiFi Access Point radio ID (0,1...)get acs/tpc logs
Description:Show TPC logs
show log upgradeget log
Description:Show upgrade logs
show log wleventsget log
Description:Show wl_evt_handler logs
mfgeth0macEthernet interface MACsw2mfg_test_cli
Description:Set Mfg params on APeth1macEthernet interface MAC
wifi0macWiFi Radio MAC
wifi1macWiFi Radio MAC
sernumAP Serial Number
submodelAP Sub Model Number
subplatformAP Sub Platform Type
devcountryLock operation to specific country
commvlanSet default communication VLAN ID
show mfg eth0macsw2mfg_test_cli get_ether_mac
Description:Show ethernet interface MAC
show mfg eth1macsw2mfg_test_cli get_ether1_mac
Description:Show ethernet interface MAC
show mfg wifi0macsw2mfg_test_cli get_wifi0_mac
Description:Show WiFi Radio MAC
show mfg wifi1macsw2mfg_test_cli get_wifi1_mac
Description:Show WiFi Radio MAC
show mfg sernumsw2mfg_test_cli get_SerialNumber
Description:Show AP Serial Number
show mfg submodelsw2mfg_test_cli get_SubModelNumber
Description:Show AP Sub Model Number
show mfg subplatformsw2mfg_test_cli get_SubPlatformType
Description:Show AP Sub Platform Type
show mfg devcountrysw2mfg_test_cli get_dev_country
Description:Show country to which operation is locked
show mfg commvlansw2mfg_test_cli get_CommVlanId
Description:Show default communication VLAN ID
force ndset mode
Description:Configures device to operate in Network Detector (ND) Mode without user confirmation
force no ndset mode
Description:Configures device to operate in Sensor Mode from Network Detector (ND) Mode without user confirmation
ndset mode
Description:Configures device to operate in Network Detector (ND) Mode
no ndset mode
Description:Configures device to operate in Sensor Mode from Network Detector (ND) Mode
show modeget mode
Description:Shows operating mode of the AP (AP|Sensor|Standalone|ND)
show neighbors rf*radioWiFi Access Point radio IDget rf neighbor table
Description:Show RF neighbor table for Access Point radios
show neighbors assocget assoc
Description:Show neighbor associations
show neighbors adhocget adhoc
Description: Show neighbor adhoc associations
show netstatget netstat
Description: Show information about open sockets
show routeget route
Description: Show ip routes for IPv4 and IPv6
ping*hostDestination host name or IP addressping
Description: Test reachability of a host (IPv4)countNumber of request packets to send before stopping ping
timeoutTime to wait for response, in seconds
vlanVLAN id to perform ping through (u | U | 1-4094)
ping6*hostDestination host name or IP addressping6
Description: Test reachability of a host (IPv6)countNumber of request packets to send before stopping ping
timeoutTime to wait for response, in seconds
vlanVLAN id to perform ping through (u | U | 1-4094)
openconfig creds*usernameOpenconfig usernameset openconfig_credentials
Description: Set openconfig credentials
show openconfig modeget openconfig mode
Description:Show the openconfig mode of the Access Point
show presence notificationget presence notification parameters
Description:Show the presence notification parameters
presence notificationrssiRSSI threshold value•      enable presence notification
Description:Enables the presence notification featuretimeTime interval value•      set presence notification parameters
ipIP address of presence notification server
no presence notificationdisable presence notification
Description: Disables the presence notification feature
show proxy servermethodMethod of proxy server to show (dhcp | cli)get proxy server
Description: Show the proxy server configuration
proxy servermethodMethod of proxy server selection (none | cli | dhcp)set proxy server
Description: Configure proxy server settings on the APhostIP / DNS string of the proxy server
portPort used by the proxy server
skipudpFlag to skip udp based connection attempt to cloud server (y | n)
force proxy servermethodMethod of proxy server selection (none | cli | dhcp)set proxy server
Description: Configure proxy server settings on the AP without user confirmationhostIP / DNS string of the proxy server
portPort used by the proxy server
skipudpFlag to skip udp based connection attempt to cloud server (y | n)
bangradar*radioWiFi Access Point radio IDbangradar
Description: Run bandradar test via radartool
dfstest*radioWiFi Access Point radio IDset dfstest mode
Description: Run DFS test via radartoolusenolusenol value
no dfstest*radioWiFi Access Point radio IDset dfstest mode
Description: Stop DFS test via radartool
radartool*radioWiFi Access Point radio IDradartool
Description: Run radartool with user specified params*paramsradartool params
rebootreboot
Description: Restarts the Access Point
force rebootreboot
Description: Restarts the Access Point without user confirmation
sensord restart•      restart
Description: Restarts the sensord process•      restartsensor
force sensord restart•      restart
Description: Restarts the sensord process without user confirmation•      restartsensor
scripts debugdebug_scripts enable
Description: Enables extra script related logging
no scripts debugdebug_scripts disable
Description: Disables extra script related logging
default server discovery
Description: Set server discovery to default settings
server discovery*method(id|ipdns) Server Discovery Methodset server discovery
Description: Set server discovery settingspri(0-655254) for id based discovery; (IP addr| DNS string) of primary server for ipdns based discovery
secNA for id based discovery; (IP addr|DNS string) of secondary server for ipdns based discovery
show server discoveryget server discovery
Description: Display server discovery settings
show accounting delay*ssidSSID to show clients whose accounting-stop is delayedget acct delay info
Description: Show clients whose accounting- stop is delayed
show admission controlget admctl stats
Description: Show WMM admission control statistics
show appvis*ssidSSID to fetch application visibility stats forget appvis stats
Description: Show application visibility statistics for an SSID profile
show arp infoget arpinfo
Description: Show ARP mapping on the device
show bleget ble status
Description: Shows the ble radio status
show certificates
Description: Show status of certificates installed on Access Point
show chanutil currentget channel util
Description: Show the current channel utilization statistics
show chanutil repeatintervalTime interval between the consecutive display of channel utilization statisticsget channel util
Description: Show the channel utilization statistics periodically
show connection infoget conn info
Description: Shows the AP-server connection information
show bonjourget bonjour status
Description: Show bonjour gateway status
show countryget country code
Description: Show operating country code
show dcs*radioWiFi Access Point radio IDget dcs mode
Description: Show the dynamic channel selection mode of the radio
show device infoget version
Description: Show the device information
show device statusget status
Description: Show the device status
show ethernetget interface
Description: Show ethernet information of device
show ethernet clients infointerfaceinterface name e.g. eth1 (optional)
Description: Show wired client informationmacClient MAC address (optional)
show ethernet clients statsinterfaceinterface name e.g. eth1 (optional)
Description: Show packet counter stats of client connected to wired portmacClient MAC address (optional)
show ethernet configinterfaceinterface name e.g. eth1 (optional)
Description: Show wired port configuration
show ethernet statsinterfaceinterface name e.g. eth1 (optional)
Description: Show Rx/Tx packet counter stats for a wired port
show firewallssidSSID to show firewall rulesget firewall rules
Description: Show firewall rules for the given SSID
show gauth devices*accountidAccount id of the deviceget google authorized devices
Description: Show the google authorized devices
show ipsecget ipsec status
Description:Show information about tunnels configured with IP security
show lagget link aggregation
Description:Show the configuration of link aggregation for the Access Point
show mqueue stats
show power sourceget power source
Description:Show the power source of the Access Point
show prevention historyget prevention history
Description:Show the history of prevented devices
show prevention infoget prevention info
Description:Show the current prevention information
show proxyarpget proxyarp cache
Description:Show ProxyARP mapping for WiFi clients
show regkeyget registration key
Description:Show the registration key of the AP
show sensord configget sensor config
Description:Show sensord configuration
show snoop table*ssidSSID for which snoop table needs to be displayedget snoop table
Description:Show snoop table for input SSID
show roleget client role info
Description:Show the role profile assigned to the clients
show serialnumget serial num
Description:Show the serial number of the device
show synchagentsynch_agent_dumpinfo
Description:Show synchagent status
show spatial reuse inforadioWiFi Access Point radio IDshow spatial reuse info
Description: Show info related to Spatial Reuse packets counter and RX RSSI from the interfering BSS
passwdpasswd
Description:Set config user password
psps
Description: Display process information
timetime
Description: Display system time
topintRefresh interval in secondstop
Description: Display top process information
show tunnelsget network status
Description: Show running status of tunnel interfaces on the Access Point
how twt infomacClient MAC (xx:xx:xx:xx:xx:xx)
Description: Show the Target Wake Time(TWT) information.
upgradeversionBuild versionupgrade
Description: Upgrade device build to specified versionvendorBuild vendor
methodDownload method (http|https)
urlPath to download the device build
force upgradeversionBuild versionupgrade
Description: Upgrade device build to specified version without user confirmationvendorBuild vendor
methodDownload method (http|https)
urlPath to download the device build
show vapsradioWiFi Access Point radio IDget ap status
Description: Show configuration for VAPs on the Access Point
vap config*idVAP id (Obtained via "show vaps")change_iface_parameters
Description: Configure VAP interface*modeOperating Mode options (11AST|AUTO|11A| 11B|11G|FH|TA|
TG|\r\n11NAHT20|11NGHT20| 11NAHT40PLUS|11NAHT40MINUS|
11NGHT40PLUS|11NGHT40MINUS|
11NGHT40|11NAHT40|\r\n11ACVHT20|
11ACVHT40PLUS|11ACVHT40MINUS|
11ACVHT40|11ACVHT80|11ACVHT160
|11ACVHT80_80|\r\n11AHE20|11GHE20| 11AHE40PLUS|11AHE40MINUS|
11GHE40PLUS|11GHE40MINUS|11AHE40|
11GHE40|11AHE80|11AHE160|11AHE80_80)
*channelChannel
*nocoext(1|0) for Disable|Enable coexistence
show vlansget vlan id
Description: Show all VLANs visible to the Access Point
show vlan communicationget vlan config
Description: Show current VLAN for communication with server
show vlan configversionVersion for VLAN configuration to show (4 | 6)get vlan config
Description: Show configuration for all VLANs on the Access Point
show vlan gatewayget vlan gateway mapping
Description: Show mapping of VLANs to gateways
show vlan remoteget network vlan status
Description: Show IP configuration of VLANs on remote end points
show vlan statusget vlan status
Description: Show status of all VLANs on the Access Point
show vlan vniget vlan vni mapping
Description: Show mapping of VLAN IDs to VNIs (Virtual Network Identifier) on the Access Point
vlan communication*idVLAN id to set as communication VLAN (u | Uset vlan config
Description: Set VLAN for communication with the server with user confirmation| 1-4094)
force vlan communication*idVLAN id to set as communication VLAN (u | Uset vlan config
Description: Set VLAN for communication with the server without user confirmation| 1-4094)
vlan delete*idVLAN id to delete (u | U | 1-4094)set vlan config
Description: Delete a VLAN and its configuration
force vlan delete*idVLAN id to delete (u | U | 1-4094)set vlan config
Description: Delete a VLAN and its configuration without user confirmation
vlan dhcp*idVLAN id to configure (u | U | 1-4094)set vlan config
Description: Configure a VLAN with DHCP
force vlan dhcp*idVLAN id to configure (u | U | 1-4094)set vlan config
Description: Configure a VLAN with DHCP
vlan static*idVLAN id to configure (u | U | 1-4094)set vlan config
Description: Configure a VLAN with static IP settingsversionIP version for settings (4 | 6 | all)
ip4IPv4 address
netmaskSubnet mask
gw4Gateway address (IPv4)
pdns4Primary DNS server address (IPv4)
sdns4Secondary DNS server address (IPv4)
tdns4Tertiary DNS server address (IPv4)
dnsprefix4DNS prefix for search (IPv4)
ip6IPv6 address
prefixIPv6 prefix length
gw6Gateway address (IPv6)
pdns6Primary DNS server address (IPv6)
sdns6Secondary DNS server address (IPv6)
tdns6Tertiary DNS server address (IPv6)
dnsprefix6DNS prefix for search (IPv6)
force vlan static*idVLAN id to configure (u | U | 1-4094)set vlan config
Description: Configure a VLAN with static IP settingsversionIP version for settings (4 | 6 | all)
ip4IPv4 address
netmaskSubnet mask
gw4Gateway address (IPv4)
pdns4Primary DNS server address (IPv4)
sdns4Secondary DNS server address (IPv4)
tdns4Tertiary DNS server address (IPv4)
dnsprefix4DNS prefix for search (IPv4)
ip6IPv6 address
prefixIPv6 prefix length
gw6Gateway address (IPv6)
pdns6Primary DNS server address (IPv6)
sdns6Secondary DNS server address (IPv6)
tdns6Tertiary DNS server address (IPv6)
dnsprefix6DNS prefix for search (IPv6)
webserverwebserver start
Description: Start webserver on AP
no webservewebserver stop
Description: Stop webserver on AP r
wiredtrace*interfaceWired interface number for packet captureget wired trace
Description: Start packet capture on wired interface
wiredtrace cleanclean_traces
Description: Delete stored wired trace files
show ramdump config
Description: Show ramdump configuration
ramdump configtypeSelect ramdump type (full | custom | minimal | flash). Default is flash, other variants require a TFTP server.
Description: Set ramdump configurationdirDirectory on TFTP server where ramdump will be uploaded. Default is APMAC without colon. Max len 63 bytes
serveripTFTP server ip address (IPv4 | IPv6)
ipaddrAP ip address to use for TFTP copy (IPv4 | IPv6).
netmaskAP netmask to use for TFTP copy
gatewayipGateway IP address for TFTP copy (IPv4 | IPv6)
ramdump config test
Description:Test if the current ramdump configuration works.