Arista EOS¶
vEOS¶
- https://www.arista.com/en/support/software-download
- アカウントのパスワード要件はかなり厳しめ
cEOS¶
docker import cEOS64-lab-4.22.1F.tar.xz ceos:4.22.1F
docker create --name=ceos --privileged -p 443:443 -e CEOS=1 -e container=docker -e EOS_PLATFORM=ceoslab -e SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT=1 -e ETBA=1 -e INTFTYPE=eth -i -t ceos:4.22.1F /sbin/init
docker network create net1
docker network create net2
docker network connect net1 ceos
docker network connect net2 ceos
docker start ceos
docker exec -it ceos Cli
正常に起動していれば、プロンプトが表示される。
localhost>
初期コンフィグは /mnt/flash/startup-config
に置けば良さそうなので、試験用にはこんな感じ。
$ cat docker-compose.yml
version: "2"
services:
ceos-1:
hostname: CEOS-1
image: 'ceos:4.22.1F'
command: /sbin/init
privileged: true
environment:
container: docker
CEOS: 1
EOS_PLATFORM: ceoslab
SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT: 1
ETBA: 1
INTFTYPE: eth
networks:
default: null
p2p: null
volumes:
- "./config/ceos-1.conf:/mnt/flash/startup-config"
ceos-2:
hostname: CEOS-2
image: 'ceos:4.22.1F'
command: /sbin/init
privileged: true
environment:
container: docker
CEOS: 1
EOS_PLATFORM: ceoslab
SKIP_ZEROTOUCH_BARRIER_IN_SYSDBINIT: 1
ETBA: 1
INTFTYPE: eth
networks:
default: null
p2p: null
networks:
p2p: null
$ cat config/ceos-1.conf
! Command: show running-config
! device: localhost (cEOSLab, EOS-4.22.1F)
!
transceiver qsfp default-mode 4x10G
!
agent PowerManager shutdown
agent LedPolicy shutdown
agent Thermostat shutdown
agent PowerFuse shutdown
agent StandbyCpld shutdown
agent LicenseManager shutdown
!
spanning-tree mode mstp
!
no aaa root
!
interface Ethernet1
!
no ip routing
!
end
最終更新日: 2021-05-17 02:51:56