Arista EOS チート集
Arista EOS の show、eAPI、bash、インターフェース、MLAG、VXLAN、EVPN、BGP、transceiver、platform、agent logs を含むデータセンター向けコマンド集。
- 更新日
- 2026-05-29
- 参照範囲
- 公式ドキュメント / man page / 主要ベンダーCLI
- 対象実装
- 主要 Linux / BSD / ネットワーク機器 CLI の一般的な実装
- 免責
- OS とバージョン差分は実環境で確認してください。
このチートシートの使いどころ
Arista EOS チート集は、Arista EOS の show、eAPI、bash、インターフェース、MLAG、VXLAN、EVPN、BGP、transceiver、platform、agent logs を含むデータセンター向けコマンド集。 対象は公式ドキュメント、man page、主要ベンダー CLI で確認できる現行の一般的な実装です。カテゴリは状態確認、設定、インターフェース、MLAG / VXLAN、ルーティングを中心に、49件のコマンドや値を用途別に引けます。障害調査、設定変更前の確認、作業メモ作成で、Arista、EOS、MLAG、VXLAN、EVPNに関連する操作を短時間で探すために使います。
49 / 49
show versionArista EOS で show version の状態や設定を確認する
leaf1# show versionshow running-configArista EOS で show running-config の状態や設定を確認する
leaf1# show running-configshow running-config | jsonArista EOS で show running-config | json の状態や設定を確認する
leaf1# show running-config | jsonshow interfaces statusArista EOS で show interfaces status の状態や設定を確認する
leaf1# show interfaces statusshow interfaces transceiver detailArista EOS で show interfaces transceiver detail の状態や設定を確認する
leaf1# show interfaces transceiver detailshow interfaces counters errorsArista EOS で show interfaces counters errors の状態や設定を確認する
leaf1# show interfaces counters errorsshow lldp neighbors detailArista EOS で show lldp neighbors detail の状態や設定を確認する
leaf1# show lldp neighbors detailshow vlanArista EOS で show vlan の状態や設定を確認する
leaf1# show vlanshow mac address-tableArista EOS で show mac address-table の状態や設定を確認する
leaf1# show mac address-tableshow platformArista EOS で show platform の状態や設定を確認する
leaf1# show platformshow agent logsArista EOS で show agent logs の状態や設定を確認する
leaf1# show agent logs ribd | tailbashArista EOS で bash の実務でよく使う操作を実行する
leaf1# bashconfigure terminalArista EOS で configure terminal の設定または操作を実行する
leaf1# configure terminalhostnameArista EOS で hostname の実務でよく使う操作を実行する
leaf1(config)# hostname leaf1management api http-commandsArista EOS で management api http-commands の実務でよく使う操作を実行する
leaf1(config)# management api http-commandsprotocol httpsArista EOS で protocol https の実務でよく使う操作を実行する
leaf1(config-mgmt-api-http-cmds)# protocol httpsno shutdownArista EOS で no shutdown の実務でよく使う操作を実行する
leaf1(config-mgmt-api-http-cmds)# no shutdownusername privilege secretArista EOS で username privilege secret の実務でよく使う操作を実行する
leaf1(config)# username netops privilege 15 secret S3cretPassntp serverArista EOS で ntp server の実務でよく使う操作を実行する
leaf1(config)# ntp server 192.0.2.10logging hostArista EOS で logging host の実務でよく使う操作を実行する
leaf1(config)# logging host 192.0.2.20interface Ethernet1Arista EOS で interface Ethernet1 の設定または操作を実行する
leaf1(config)# interface Ethernet1descriptionArista EOS で description の実務でよく使う操作を実行する
leaf1(config-if-Et1)# description spine1switchport mode trunkArista EOS で switchport mode trunk の実務でよく使う操作を実行する
leaf1(config-if-Et1)# switchport mode trunkswitchport trunk allowed vlanArista EOS で switchport trunk allowed vlan の実務でよく使う操作を実行する
leaf1(config-if-Et1)# switchport trunk allowed vlan 10,20channel-groupArista EOS で channel-group の実務でよく使う操作を実行する
leaf1(config-if-Et1)# channel-group 10 mode activeinterface Vlan10Arista EOS で interface Vlan10 の設定または操作を実行する
leaf1(config)# interface Vlan10ip addressArista EOS で ip address の設定または操作を実行する
leaf1(config-if-Vl10)# ip address 10.0.10.1/24interface Loopback0Arista EOS で interface Loopback0 の設定または操作を実行する
leaf1(config)# interface Loopback0mlag configurationArista EOS で mlag configuration の実務でよく使う操作を実行する
leaf1(config)# mlag configurationlocal-interface Vlan4094Arista EOS で local-interface Vlan4094 の実務でよく使う操作を実行する
leaf1(config-mlag)# local-interface Vlan4094peer-addressArista EOS で peer-address の実務でよく使う操作を実行する
leaf1(config-mlag)# peer-address 10.255.255.2peer-link Port-ChannelArista EOS で peer-link Port-Channel の実務でよく使う操作を実行する
leaf1(config-mlag)# peer-link Port-Channel100mlagArista EOS で mlag の実務でよく使う操作を実行する
leaf1(config-if-Po10)# mlag 10service routing protocols model multi-agentArista EOS で service routing protocols model multi-agent の設定または操作を実行する
leaf1(config)# service routing protocols model multi-agentinterface Vxlan1Arista EOS で interface Vxlan1 の設定または操作を実行する
leaf1(config)# interface Vxlan1vxlan source-interfaceArista EOS で vxlan source-interface の実務でよく使う操作を実行する
leaf1(config-if-Vx1)# vxlan source-interface Loopback0vxlan vlan vniArista EOS で vxlan vlan vni の実務でよく使う操作を実行する
leaf1(config-if-Vx1)# vxlan vlan 10 vni 10010router bgpArista EOS で router bgp の設定または操作を実行する
leaf1(config)# router bgp 65001neighbor remote-asArista EOS で neighbor remote-as の実務でよく使う操作を実行する
leaf1(config-router-bgp)# neighbor 10.0.0.2 remote-as 65000address-family evpnArista EOS で address-family evpn の実務でよく使う操作を実行する
leaf1(config-router-bgp)# address-family evpnneighbor activateArista EOS で neighbor activate の実務でよく使う操作を実行する
leaf1(config-router-bgp-af)# neighbor 10.0.0.2 activateip routeArista EOS で ip route の設定または操作を実行する
leaf1(config)# ip route 0.0.0.0/0 192.0.2.1router ospfArista EOS で router ospf の設定または操作を実行する
leaf1(config)# router ospf 1show mlagArista EOS で show mlag の状態や設定を確認する
leaf1# show mlagshow vxlan address-tableArista EOS で show vxlan address-table の状態や設定を確認する
leaf1# show vxlan address-tableshow bgp evpn summaryArista EOS で show bgp evpn summary の状態や設定を確認する
leaf1# show bgp evpn summaryshow processes top onceArista EOS で show processes top once の状態や設定を確認する
leaf1# show processes top oncetcpdump bashArista EOS で tcpdump bash の実務でよく使う操作を実行する
leaf1# bash sudo tcpdump -ni Ethernet1 host 192.0.2.10copy running-config startup-configArista EOS で copy running-config startup-config の運用操作を実行する
leaf1# copy running-config startup-config| Command | Description | Example | Copy |
|---|---|---|---|
show version | Arista EOS で show version の状態や設定を確認する | leaf1# show version | |
show running-config | Arista EOS で show running-config の状態や設定を確認する | leaf1# show running-config | |
show running-config | json | Arista EOS で show running-config | json の状態や設定を確認する | leaf1# show running-config | json | |
show interfaces status | Arista EOS で show interfaces status の状態や設定を確認する | leaf1# show interfaces status | |
show interfaces transceiver detail | Arista EOS で show interfaces transceiver detail の状態や設定を確認する | leaf1# show interfaces transceiver detail | |
show interfaces counters errors | Arista EOS で show interfaces counters errors の状態や設定を確認する | leaf1# show interfaces counters errors | |
show lldp neighbors detail | Arista EOS で show lldp neighbors detail の状態や設定を確認する | leaf1# show lldp neighbors detail | |
show vlan | Arista EOS で show vlan の状態や設定を確認する | leaf1# show vlan | |
show mac address-table | Arista EOS で show mac address-table の状態や設定を確認する | leaf1# show mac address-table | |
show platform | Arista EOS で show platform の状態や設定を確認する | leaf1# show platform | |
show agent logs | Arista EOS で show agent logs の状態や設定を確認する | leaf1# show agent logs ribd | tail | |
bash | Arista EOS で bash の実務でよく使う操作を実行する | leaf1# bash | |
configure terminal | Arista EOS で configure terminal の設定または操作を実行する | leaf1# configure terminal | |
hostname | Arista EOS で hostname の実務でよく使う操作を実行する | leaf1(config)# hostname leaf1 | |
management api http-commands | Arista EOS で management api http-commands の実務でよく使う操作を実行する | leaf1(config)# management api http-commands | |
protocol https | Arista EOS で protocol https の実務でよく使う操作を実行する | leaf1(config-mgmt-api-http-cmds)# protocol https | |
no shutdown | Arista EOS で no shutdown の実務でよく使う操作を実行する | leaf1(config-mgmt-api-http-cmds)# no shutdown | |
username privilege secret | Arista EOS で username privilege secret の実務でよく使う操作を実行する | leaf1(config)# username netops privilege 15 secret S3cretPass | |
ntp server | Arista EOS で ntp server の実務でよく使う操作を実行する | leaf1(config)# ntp server 192.0.2.10 | |
logging host | Arista EOS で logging host の実務でよく使う操作を実行する | leaf1(config)# logging host 192.0.2.20 | |
interface Ethernet1 | Arista EOS で interface Ethernet1 の設定または操作を実行する | leaf1(config)# interface Ethernet1 | |
description | Arista EOS で description の実務でよく使う操作を実行する | leaf1(config-if-Et1)# description spine1 | |
switchport mode trunk | Arista EOS で switchport mode trunk の実務でよく使う操作を実行する | leaf1(config-if-Et1)# switchport mode trunk | |
switchport trunk allowed vlan | Arista EOS で switchport trunk allowed vlan の実務でよく使う操作を実行する | leaf1(config-if-Et1)# switchport trunk allowed vlan 10,20 | |
channel-group | Arista EOS で channel-group の実務でよく使う操作を実行する | leaf1(config-if-Et1)# channel-group 10 mode active | |
interface Vlan10 | Arista EOS で interface Vlan10 の設定または操作を実行する | leaf1(config)# interface Vlan10 | |
ip address | Arista EOS で ip address の設定または操作を実行する | leaf1(config-if-Vl10)# ip address 10.0.10.1/24 | |
interface Loopback0 | Arista EOS で interface Loopback0 の設定または操作を実行する | leaf1(config)# interface Loopback0 | |
mlag configuration | Arista EOS で mlag configuration の実務でよく使う操作を実行する | leaf1(config)# mlag configuration | |
local-interface Vlan4094 | Arista EOS で local-interface Vlan4094 の実務でよく使う操作を実行する | leaf1(config-mlag)# local-interface Vlan4094 | |
peer-address | Arista EOS で peer-address の実務でよく使う操作を実行する | leaf1(config-mlag)# peer-address 10.255.255.2 | |
peer-link Port-Channel | Arista EOS で peer-link Port-Channel の実務でよく使う操作を実行する | leaf1(config-mlag)# peer-link Port-Channel100 | |
mlag | Arista EOS で mlag の実務でよく使う操作を実行する | leaf1(config-if-Po10)# mlag 10 | |
service routing protocols model multi-agent | Arista EOS で service routing protocols model multi-agent の設定または操作を実行する | leaf1(config)# service routing protocols model multi-agent | |
interface Vxlan1 | Arista EOS で interface Vxlan1 の設定または操作を実行する | leaf1(config)# interface Vxlan1 | |
vxlan source-interface | Arista EOS で vxlan source-interface の実務でよく使う操作を実行する | leaf1(config-if-Vx1)# vxlan source-interface Loopback0 | |
vxlan vlan vni | Arista EOS で vxlan vlan vni の実務でよく使う操作を実行する | leaf1(config-if-Vx1)# vxlan vlan 10 vni 10010 | |
router bgp | Arista EOS で router bgp の設定または操作を実行する | leaf1(config)# router bgp 65001 | |
neighbor remote-as | Arista EOS で neighbor remote-as の実務でよく使う操作を実行する | leaf1(config-router-bgp)# neighbor 10.0.0.2 remote-as 65000 | |
address-family evpn | Arista EOS で address-family evpn の実務でよく使う操作を実行する | leaf1(config-router-bgp)# address-family evpn | |
neighbor activate | Arista EOS で neighbor activate の実務でよく使う操作を実行する | leaf1(config-router-bgp-af)# neighbor 10.0.0.2 activate | |
ip route | Arista EOS で ip route の設定または操作を実行する | leaf1(config)# ip route 0.0.0.0/0 192.0.2.1 | |
router ospf | Arista EOS で router ospf の設定または操作を実行する | leaf1(config)# router ospf 1 | |
show mlag | Arista EOS で show mlag の状態や設定を確認する | leaf1# show mlag | |
show vxlan address-table | Arista EOS で show vxlan address-table の状態や設定を確認する | leaf1# show vxlan address-table | |
show bgp evpn summary | Arista EOS で show bgp evpn summary の状態や設定を確認する | leaf1# show bgp evpn summary | |
show processes top once | Arista EOS で show processes top once の状態や設定を確認する | leaf1# show processes top once | |
tcpdump bash | Arista EOS で tcpdump bash の実務でよく使う操作を実行する | leaf1# bash sudo tcpdump -ni Ethernet1 host 192.0.2.10 | |
copy running-config startup-config | Arista EOS で copy running-config startup-config の運用操作を実行する | leaf1# copy running-config startup-config |