ㅇarista warrior 참조

ㅇboot-loder란 일반적으로 flash memory나 disk 같은 다른 곳에 저장되는 OS를 load함
ㅇ아리스타 스위치에서는 EOS가 로드되기 전 ROM에서 Aboot process를 load함
ㅇAboot# prompt로 진입하는 경우
- boot-config가 손상되었거나 찾을 수 없을 때
- EOS 이미지가 손상되었거나 찾을 수 없을 때
- Ctrl-C를 프로세스가 실행되는 동안 콘솔에서 입력하였을 때



SWI 명령어로 외부의 이미지를 불러올 수도 있다.
ㅇSWI on flash [SWI=flash:EOS-4.20.1F.swi] or [SWI=flash:/EOS-4.20.1F.swi]
ㅇSWI on USB1 [SWI=usb1:/EOS-4.20.1F.swi]
ㅇSWI on /mnt/flash (same as flash:/) [SWI=/mnt/flash/EOS-4.20.1F.swi]
ㅇSWI on an HTTP server [SWI=http://dooboo.com/images/EOS-4.20.1F.swi]
ㅇSWI on an FTP server [SWI=ftp://kimbob.com/EOS-4.20.1F.swi]
ㅇSWI on an FTP server with a username and password [SWI=ftp://user:pass@mini.com/EOS-4.20.1F.swi]
ㅇSWI on a TFTP server [SWI=tftp://dooboo.com/EOS-4.20.1F.swi]
ㅇSWI on an NFS-mounted filesystem [SWI=nfs://god.com/images/EOS-4.20.1F.swi]


ㅇAboot에서 Aboot P/W 변경이 안 되기 때문에 주의해서 구성 (EOS boot secret 명령어로만 가능)

ㅇfullrecover 명령으로 /mnt/flash 공장 초기화를 할 시에 지워지는 데이터
- SWI 파일
- boot-config
- startup-config
- zerotuouch-config
- some console logs
- All schedule logs
- /mnt/flash/ 에 있는 항목들
- /mnt/flash/persist/ 폴더에 있는 모든 항목
즉, 말 그대로 공장 초기화다.



ㅇAboot 환경의 NET 명령
- [NETIP=interface_address] NETDEV 인터페이스의 IP address
- [NETMASK=interface_subnet mask] NETDEV 인터페이스의 IP subnet mask
- [NETGW=gateway_address] gateway 주소
- [NETDOMAIN=domain_name] domain 주소
- [NETDNS=dns_address] dns 주소
- ipv6는 지원하지 않으며, EOS에서는 구성할 수 없고, Aboot 또는 bash shell에서 구성할 수 잇음
ex>
Aboot# more /mnt/flash/boot-config
SWI=tftp:/10.0.0.100/EOS/EOS-4.20.1F.swi
NETDEV=ma1
NETIP=10.0.0.44
NETMASK=255.255.255.0
NETGW=10.0.0.1
NETDOMAIN=arista.com
NETDNS=10.0.0.100


@@수동으로 ip를 설정하여 wget으로 boot-config를 가져오는 방법
ex>
Aboot# cd /mnt/flash
Aboot# ifconfig ma1 10.0.0.19
Aboot# wget http://10.0.0.100/EOS/EOS-4.20.1F.swi
Connecting to 10.0.0.100 (10.0.0.100:80)
EOS-4.20.1F.swi 100% |*******************************| 608M
00:00:00 ETA
'IT > arista' 카테고리의 다른 글
Password Recovery (0) | 2021.09.22 |
---|---|
ZTP disable (0) | 2021.09.20 |
Bash (0) | 2021.09.18 |
mlag configuration (0) | 2021.09.17 |
댓글