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 | *radio | WiFi Access Point radio ID (0,1...) | set acs params |
説明)指定された無線機のACSパラメータを設定する | nonwifithresh | Non WiFi Threshold in % (Default:40) | |
chanscorefirstvap | Channel score of first VAP in % (Default:10) | ||
chanscore20 | Channel score 20 Mhz in % (Default:50) | ||
chanscore40 | Channel score 40 Mhz in % (Default:25) | ||
chanscore80 | Channel score 80 Mhz in % (Default:25) | ||
show acs | *radio | WiFi Access Point radio ID (0,1...) | get acs params |
説明)指定された無線機のACSパラメータを表示する | |||
show classification aps | 無 | 無 | get ap info |
Description:Show AP classification in offline mode | |||
show classification clients | 無 | 無 | get client info |
Description:Show client classification in offline mode | |||
communication passphrase | 無 | 無 | set communication passphrase |
Description:Set passphrase used for sensor server authentication and encryption | |||
communication key | 無 | 無 | set communication key |
Description:Set key used for sensor server authentication and encryption | |||
default communication key | 無 | set communication key default | |
Description:Resets the communication key to the factory default | |||
debug bundle | 無 | 無 | get logs |
Description:Get AP debug bundle | |||
factory reset | reason | Reason for reset device configuration to fac | • resetfactory |
Description:Reset device configuration to factory defaults (with user prompt) | • reset factory | ||
• reset | |||
force factory reset | reason | Reason for reset (optional) | • resetfactory |
Description:Reset device configuration to factory defaults (without user prompt) | • reset factory • reset |
||
failsafe | 無 | 無 | set no failsafe |
Description:Turn off no failsafe mode | |||
failsafe recover | 無 | 無 | |
Description:Recover the device from failsafe mode | |||
force failsafe | 無 | 無 | set 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 failsafe | 無 | 無 | set no failsafe |
Description:Turn on no failsafe mode without user confirmation | |||
no failsafe | 無 | 無 | set no failsafe |
Description:Turn on no failsafe mode | |||
show failsafe | 無 | 無 | 無 |
Description:Show failsafe mode of the device | |||
show led | 無 | 無 | led status |
Description:Display status of device LEDs | |||
led blink | period | Specify blink period of LEDs in minutes. Default | led blink |
Description:Blink device LEDs | #NAME? | ||
no led blink | 無 | 無 | no led blink |
Description:Stop blinking of device LEDs | |||
logcfg hostapd | *level | (0-4) hostapd log level in reducing verbosity | debug_hostapd |
Description:Set hostapd log level | |||
logcfg ipsec | *subsystem | (any|app|asn|cfg|chd|dmn|enc|esp | set 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|on | debug_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 wiredagent | level | (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 sensord | level | Sensord log level | set log config |
Description:Set sensord and sensord features log levels. All log levels (1-7) | prev | Prevention log level | |
lpc | Live Packet Capture log level | ||
comm | Server Communication log level | ||
evts | Events log level | ||
oss | OSS log level | ||
show logcfg sensord | 無 | 無 | get 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 | *radio | WiFi Access Point radio ID (0,1...) | get acs/tpc logs |
Description:Show ACS logs | |||
show log client | *mac | Client MAC (xx:xx:xx:xx:xx:xx) | get client logs |
Description:Show client log | |||
show log hostapd | 無 | 無 | get log |
Description:Show hostapd logs | |||
show log ipsec | id | Netword id. Don't specify id to show ipsec logs for all ids | get log |
Description:Show ipsec logs | |||
show log led | 無 | 無 | get log |
Description:Show LED logs | |||
show log lldp | 無 | 無 | get log |
Description:Show LLDP logs | |||
show log openconfig | 無 | 無 | ocagent_dumpinfo |
Description:Show OpenConfig logs | |||
show log openvpn | 無 | 無 | get log |
Description:Show OpenVPN logs | |||
show log portal | 無 | 無 | get log |
Description: Show portal logs | |||
show log sensord | 無 | 無 | get log |
Description:Show sensord logs | |||
show log synchagent | 無 | 無 | synch_agent_dumpinfo |
Description:Show synchagent logs | |||
show syslog | 無 | 無 | 無 |
Description:Show syslog messages | |||
show log tpc | *radio | WiFi Access Point radio ID (0,1...) | get acs/tpc logs |
Description:Show TPC logs | |||
show log upgrade | 無 | 無 | get log |
Description:Show upgrade logs | |||
show log wlevents | 無 | 無 | get log |
Description:Show wl_evt_handler logs | |||
mfg | eth0mac | Ethernet interface MAC | sw2mfg_test_cli |
Description:Set Mfg params on AP | eth1mac | Ethernet interface MAC | |
wifi0mac | WiFi Radio MAC | ||
wifi1mac | WiFi Radio MAC | ||
sernum | AP Serial Number | ||
submodel | AP Sub Model Number | ||
subplatform | AP Sub Platform Type | ||
devcountry | Lock operation to specific country | ||
commvlan | Set default communication VLAN ID | ||
show mfg eth0mac | 無 | 無 | sw2mfg_test_cli get_ether_mac |
Description:Show ethernet interface MAC | |||
show mfg eth1mac | 無 | 無 | sw2mfg_test_cli get_ether1_mac |
Description:Show ethernet interface MAC | |||
show mfg wifi0mac | 無 | 無 | sw2mfg_test_cli get_wifi0_mac |
Description:Show WiFi Radio MAC | |||
show mfg wifi1mac | 無 | 無 | sw2mfg_test_cli get_wifi1_mac |
Description:Show WiFi Radio MAC | |||
show mfg sernum | 無 | 無 | sw2mfg_test_cli get_SerialNumber |
Description:Show AP Serial Number | |||
show mfg submodel | 無 | 無 | sw2mfg_test_cli get_SubModelNumber |
Description:Show AP Sub Model Number | |||
show mfg subplatform | 無 | 無 | sw2mfg_test_cli get_SubPlatformType |
Description:Show AP Sub Platform Type | |||
show mfg devcountry | 無 | 無 | sw2mfg_test_cli get_dev_country |
Description:Show country to which operation is locked | |||
show mfg commvlan | 無 | 無 | sw2mfg_test_cli get_CommVlanId |
Description:Show default communication VLAN ID | |||
force nd | 無 | 無 | set mode |
Description:Configures device to operate in Network Detector (ND) Mode without user confirmation | |||
force no nd | 無 | 無 | set mode |
Description:Configures device to operate in Sensor Mode from Network Detector (ND) Mode without user confirmation | |||
nd | 無 | 無 | set mode |
Description:Configures device to operate in Network Detector (ND) Mode | |||
no nd | 無 | 無 | set mode |
Description:Configures device to operate in Sensor Mode from Network Detector (ND) Mode | |||
show mode | 無 | 無 | get mode |
Description:Shows operating mode of the AP (AP|Sensor|Standalone|ND) | |||
show neighbors rf | *radio | WiFi Access Point radio ID | get rf neighbor table |
Description:Show RF neighbor table for Access Point radios | |||
show neighbors assoc | 無 | 無 | get assoc |
Description:Show neighbor associations | |||
show neighbors adhoc | 無 | 無 | get adhoc |
Description: Show neighbor adhoc associations | |||
show netstat | 無 | 無 | get netstat |
Description: Show information about open sockets | |||
show route | 無 | 無 | get route |
Description: Show ip routes for IPv4 and IPv6 | |||
ping | *host | Destination host name or IP address | ping |
Description: Test reachability of a host (IPv4) | count | Number of request packets to send before stopping ping | |
timeout | Time to wait for response, in seconds | ||
vlan | VLAN id to perform ping through (u | U | 1-4094) | ||
ping6 | *host | Destination host name or IP address | ping6 |
Description: Test reachability of a host (IPv6) | count | Number of request packets to send before stopping ping | |
timeout | Time to wait for response, in seconds | ||
vlan | VLAN id to perform ping through (u | U | 1-4094) | ||
openconfig creds | *username | Openconfig username | set openconfig_credentials |
Description: Set openconfig credentials | |||
show openconfig mode | 無 | 無 | get openconfig mode |
Description:Show the openconfig mode of the Access Point | |||
show presence notification | 無 | 無 | get presence notification parameters |
Description:Show the presence notification parameters | |||
presence notification | rssi | RSSI threshold value | • enable presence notification |
Description:Enables the presence notification feature | time | Time interval value | • set presence notification parameters |
ip | IP address of presence notification server | ||
no presence notification | 無 | 無 | disable presence notification |
Description: Disables the presence notification feature | |||
show proxy server | method | Method of proxy server to show (dhcp | cli) | get proxy server |
Description: Show the proxy server configuration | |||
proxy server | method | Method of proxy server selection (none | cli | dhcp) | set proxy server |
Description: Configure proxy server settings on the AP | host | IP / DNS string of the proxy server | |
port | Port used by the proxy server | ||
skipudp | Flag to skip udp based connection attempt to cloud server (y | n) | ||
force proxy server | method | Method of proxy server selection (none | cli | dhcp) | set proxy server |
Description: Configure proxy server settings on the AP without user confirmation | host | IP / DNS string of the proxy server | |
port | Port used by the proxy server | ||
skipudp | Flag to skip udp based connection attempt to cloud server (y | n) | ||
bangradar | *radio | WiFi Access Point radio ID | bangradar |
Description: Run bandradar test via radartool | |||
dfstest | *radio | WiFi Access Point radio ID | set dfstest mode |
Description: Run DFS test via radartool | usenol | usenol value | |
no dfstest | *radio | WiFi Access Point radio ID | set dfstest mode |
Description: Stop DFS test via radartool | |||
radartool | *radio | WiFi Access Point radio ID | radartool |
Description: Run radartool with user specified params | *params | radartool params | |
reboot | 無 | 無 | reboot |
Description: Restarts the Access Point | |||
force reboot | 無 | 無 | reboot |
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 debug | 無 | 無 | debug_scripts enable |
Description: Enables extra script related logging | |||
no scripts debug | 無 | 無 | debug_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 Method | set server discovery |
Description: Set server discovery settings | pri | (0-655254) for id based discovery; (IP addr| DNS string) of primary server for ipdns based discovery | |
sec | NA for id based discovery; (IP addr|DNS string) of secondary server for ipdns based discovery | ||
show server discovery | 無 | 無 | get server discovery |
Description: Display server discovery settings | |||
show accounting delay | *ssid | SSID to show clients whose accounting-stop is delayed | get acct delay info |
Description: Show clients whose accounting- stop is delayed | |||
show admission control | 無 | 無 | get admctl stats |
Description: Show WMM admission control statistics | |||
show appvis | *ssid | SSID to fetch application visibility stats for | get appvis stats |
Description: Show application visibility statistics for an SSID profile | |||
show arp info | 無 | 無 | get arpinfo |
Description: Show ARP mapping on the device | |||
show ble | 無 | 無 | get ble status |
Description: Shows the ble radio status | |||
show certificates | 無 | 無 | 無 |
Description: Show status of certificates installed on Access Point | |||
show chanutil current | 無 | 無 | get channel util |
Description: Show the current channel utilization statistics | |||
show chanutil repeat | interval | Time interval between the consecutive display of channel utilization statistics | get channel util |
Description: Show the channel utilization statistics periodically | |||
show connection info | 無 | 無 | get conn info |
Description: Shows the AP-server connection information | |||
show bonjour | 無 | 無 | get bonjour status |
Description: Show bonjour gateway status | |||
show country | 無 | 無 | get country code |
Description: Show operating country code | |||
show dcs | *radio | WiFi Access Point radio ID | get dcs mode |
Description: Show the dynamic channel selection mode of the radio | |||
show device info | 無 | 無 | get version |
Description: Show the device information | |||
show device status | 無 | 無 | get status |
Description: Show the device status | |||
show ethernet | 無 | 無 | get interface |
Description: Show ethernet information of device | |||
show ethernet clients info | interface | interface name e.g. eth1 (optional) | 無 |
Description: Show wired client information | mac | Client MAC address (optional) | 無 |
show ethernet clients stats | interface | interface name e.g. eth1 (optional) | 無 |
Description: Show packet counter stats of client connected to wired port | mac | Client MAC address (optional) | 無 |
show ethernet config | interface | interface name e.g. eth1 (optional) | 無 |
Description: Show wired port configuration | |||
show ethernet stats | interface | interface name e.g. eth1 (optional) | 無 |
Description: Show Rx/Tx packet counter stats for a wired port | |||
show firewall | ssid | SSID to show firewall rules | get firewall rules |
Description: Show firewall rules for the given SSID | |||
show gauth devices | *accountid | Account id of the device | get google authorized devices |
Description: Show the google authorized devices | |||
show ipsec | 無 | 無 | get ipsec status |
Description:Show information about tunnels configured with IP security | |||
show lag | 無 | 無 | get link aggregation |
Description:Show the configuration of link aggregation for the Access Point | |||
show mqueue stats | 無 | 無 | 無 |
show power source | 無 | 無 | get power source |
Description:Show the power source of the Access Point | |||
show prevention history | 無 | 無 | get prevention history |
Description:Show the history of prevented devices | |||
show prevention info | 無 | 無 | get prevention info |
Description:Show the current prevention information | |||
show proxyarp | 無 | 無 | get proxyarp cache |
Description:Show ProxyARP mapping for WiFi clients | |||
show regkey | 無 | 無 | get registration key |
Description:Show the registration key of the AP | |||
show sensord config | 無 | 無 | get sensor config |
Description:Show sensord configuration | |||
show snoop table | *ssid | SSID for which snoop table needs to be displayed | get snoop table |
Description:Show snoop table for input SSID | |||
show role | 無 | 無 | get client role info |
Description:Show the role profile assigned to the clients | |||
show serialnum | 無 | 無 | get serial num |
Description:Show the serial number of the device | |||
show synchagent | 無 | 無 | synch_agent_dumpinfo |
Description:Show synchagent status | |||
show spatial reuse info | radio | WiFi Access Point radio ID | show spatial reuse info |
Description: Show info related to Spatial Reuse packets counter and RX RSSI from the interfering BSS | |||
passwd | 無 | 無 | passwd |
Description:Set config user password | |||
ps | 無 | 無 | ps |
Description: Display process information | |||
time | 無 | 無 | time |
Description: Display system time | |||
top | int | Refresh interval in seconds | top |
Description: Display top process information | |||
show tunnels | 無 | 無 | get network status |
Description: Show running status of tunnel interfaces on the Access Point | |||
how twt info | mac | Client MAC (xx:xx:xx:xx:xx:xx) | 無 |
Description: Show the Target Wake Time(TWT) information. | |||
upgrade | version | Build version | upgrade |
Description: Upgrade device build to specified version | vendor | Build vendor | |
method | Download method (http|https) | ||
url | Path to download the device build | ||
force upgrade | version | Build version | upgrade |
Description: Upgrade device build to specified version without user confirmation | vendor | Build vendor | |
method | Download method (http|https) | ||
url | Path to download the device build | ||
show vaps | radio | WiFi Access Point radio ID | get ap status |
Description: Show configuration for VAPs on the Access Point | |||
vap config | *id | VAP id (Obtained via "show vaps") | change_iface_parameters |
Description: Configure VAP interface | *mode | Operating 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) | |||
*channel | Channel | ||
*nocoext | (1|0) for Disable|Enable coexistence | ||
show vlans | 無 | 無 | get vlan id |
Description: Show all VLANs visible to the Access Point | |||
show vlan communication | 無 | 無 | get vlan config |
Description: Show current VLAN for communication with server | |||
show vlan config | version | Version for VLAN configuration to show (4 | 6) | get vlan config |
Description: Show configuration for all VLANs on the Access Point | |||
show vlan gateway | 無 | 無 | get vlan gateway mapping |
Description: Show mapping of VLANs to gateways | |||
show vlan remote | 無 | 無 | get network vlan status |
Description: Show IP configuration of VLANs on remote end points | |||
show vlan status | 無 | 無 | get vlan status |
Description: Show status of all VLANs on the Access Point | |||
show vlan vni | 無 | 無 | get vlan vni mapping |
Description: Show mapping of VLAN IDs to VNIs (Virtual Network Identifier) on the Access Point | |||
vlan communication | *id | VLAN id to set as communication VLAN (u | U | set vlan config |
Description: Set VLAN for communication with the server with user confirmation | | 1-4094) | ||
force vlan communication | *id | VLAN id to set as communication VLAN (u | U | set vlan config |
Description: Set VLAN for communication with the server without user confirmation | | 1-4094) | ||
vlan delete | *id | VLAN id to delete (u | U | 1-4094) | set vlan config |
Description: Delete a VLAN and its configuration | |||
force vlan delete | *id | VLAN id to delete (u | U | 1-4094) | set vlan config |
Description: Delete a VLAN and its configuration without user confirmation | |||
vlan dhcp | *id | VLAN id to configure (u | U | 1-4094) | set vlan config |
Description: Configure a VLAN with DHCP | |||
force vlan dhcp | *id | VLAN id to configure (u | U | 1-4094) | set vlan config |
Description: Configure a VLAN with DHCP | |||
vlan static | *id | VLAN id to configure (u | U | 1-4094) | set vlan config |
Description: Configure a VLAN with static IP settings | version | IP version for settings (4 | 6 | all) | |
ip4 | IPv4 address | ||
netmask | Subnet mask | ||
gw4 | Gateway address (IPv4) | ||
pdns4 | Primary DNS server address (IPv4) | ||
sdns4 | Secondary DNS server address (IPv4) | ||
tdns4 | Tertiary DNS server address (IPv4) | ||
dnsprefix4 | DNS prefix for search (IPv4) | ||
ip6 | IPv6 address | ||
prefix | IPv6 prefix length | ||
gw6 | Gateway address (IPv6) | ||
pdns6 | Primary DNS server address (IPv6) | ||
sdns6 | Secondary DNS server address (IPv6) | ||
tdns6 | Tertiary DNS server address (IPv6) | ||
dnsprefix6 | DNS prefix for search (IPv6) | ||
force vlan static | *id | VLAN id to configure (u | U | 1-4094) | set vlan config |
Description: Configure a VLAN with static IP settings | version | IP version for settings (4 | 6 | all) | |
ip4 | IPv4 address | ||
netmask | Subnet mask | ||
gw4 | Gateway address (IPv4) | ||
pdns4 | Primary DNS server address (IPv4) | ||
sdns4 | Secondary DNS server address (IPv4) | ||
tdns4 | Tertiary DNS server address (IPv4) | ||
dnsprefix4 | DNS prefix for search (IPv4) | ||
ip6 | IPv6 address | ||
prefix | IPv6 prefix length | ||
gw6 | Gateway address (IPv6) | ||
pdns6 | Primary DNS server address (IPv6) | ||
sdns6 | Secondary DNS server address (IPv6) | ||
tdns6 | Tertiary DNS server address (IPv6) | ||
dnsprefix6 | DNS prefix for search (IPv6) | ||
webserver | 無 | 無 | webserver start |
Description: Start webserver on AP | |||
no webserve | 無 | 無 | webserver stop |
Description: Stop webserver on AP r | |||
wiredtrace | *interface | Wired interface number for packet capture | get wired trace |
Description: Start packet capture on wired interface | |||
wiredtrace clean | 無 | 無 | clean_traces |
Description: Delete stored wired trace files | |||
show ramdump config | 無 | 無 | 無 |
Description: Show ramdump configuration | |||
ramdump config | type | Select ramdump type (full | custom | minimal | flash). Default is flash, other variants require a TFTP server. | 無 |
Description: Set ramdump configuration | dir | Directory on TFTP server where ramdump will be uploaded. Default is APMAC without colon. Max len 63 bytes | 無 |
serverip | TFTP server ip address (IPv4 | IPv6) | 無 | |
ipaddr | AP ip address to use for TFTP copy (IPv4 | IPv6). | 無 | |
netmask | AP netmask to use for TFTP copy | 無 | |
gatewayip | Gateway IP address for TFTP copy (IPv4 | IPv6) | 無 | |
ramdump config test | 無 | 無 | 無 |
Description:Test if the current ramdump configuration works. |