============================ Available IOL images ============================ ID NAME SIZE -- ---- ----
No IOL images found for the term: "arubacx"
================================= Available DYNAMIPS images ================================= ID NAME SIZE -- ---- ----
No DYNAMIPS images found for the term: "arubacx"
3. Aruba CX Switch 설치
root@pnetlab:~# ishare2 pull qemu 69 [!] IMAGE INFO - Image Name : arubacx-10.07 - Image Size : 1.4 GiB - Image Type : QEMU - Image ID : 69 - Image path : /opt/unetlab/addons/qemu/arubacx-10.07 - Using host : https://drive.labhub.eu.org /opt/unetlab/addons/qemu/arubacx-10.07/virt 100%[========================================================================================>] 1.40G 1.15MB/s in 20m 55s [+] DOWNLOAD COMPLETED! [-] Fixing permissions...
[+] Fix permissions command has been executed correctly root@pnetlab:~#
3. https://192.168.40.250 접속 하고 아래 버튼을 클릭 합니다.
4. 아래 정보를 입력하고 Add버튼을 클릭 합니다.
5. 오른쪽 마우스를 클릭 후 Node를 클릭 합니다.
6. Aruba OS-CX Virtual Switch 선택합니다.
7. Save버튼을 클릭 합니다.
8. 장비를 부팅 합니다.
10. 디폴트 로그인 정보입니다.
user: admin
password: no password
switch login: admin Password:
Please configure the 'admin' user account password. Enter new password: ************* Confirm new password: ************* switch#
switch# show aaa Authentication, Authorization and Accounting access-list Access control list (ACL) accounting Show local accounting information active-gateway Show active gateway settings alias Short names configured for a set of commands arp Show IPv4 addresses from neighbor table aruba-central Configure Aruba-Central banner Show one of the configured system banners bfd Show BFD information bgp BGP specific commands bluetooth Display information about Bluetooth wireless management boot-history Display boot history details capacities Show system capacities and their values capacities-status Show system capacities status and their values cdp Show various CDP settings checkpoint Checkpoint information class Show Class configuration clock Show system date, time, and timezone settings configuration-lockout Show REST Lockout configuration copp-policy Control Plane Policing (CoPP) policy core-dump Display core-dump list for current boot crypto Display crypto related features and settings debug Display currently active debug log destinations and types dhcp Dynamic Host Configuration Protocol dhcp-relay Show DHCP relay configuration dhcp-server Show DHCP server configuration dhcpv4-snooping Show DHCPv4-Snooping configuration dhcpv6-relay Show DHCPv6 relay configuration dhcpv6-server Show DHCP V6 server configuration dhcpv6-snooping Show DHCPv6-Snooping configuration domain-name Display domain name environment Display system environment status information events Display all event logs evpn EVPN sub-address family external-storage Show info for one external storage volume or all if none specified history Show previously entered commands hostname Display hostname https-server HTTPS Server Configuration interface Interface information ip IP information ip-sla IP SLA ipv4 IPv4 information ipv6 IPv6 information keychain Keychain information lacp Show various LACP settings lag Show LAG interface information lldp Show various LLDP settings logging Display all event logs logrotate Show logrotate config parameters loop-protect Show loop protection status for all ports with loop protection enabled mac-address-table Show Layer 2 MAC address table information macsec Show MACsec information mirror Show Mirroring configuration mka Show MKA information mvrp Show MVRP settings and status nae-agent NAE Agent details nae-script NAE Script details nd-snooping Show ND Snooping configuration ntp Show NTP information object-group Object Group password-complexity Show password complexity enforcement pbr Show Policy Based Routing (PBR) information pbr-action-list Show Policy Based Routing (PBR) action list configuration information policy Classifier policy port-access Show Port Access information power-over-ethernet Show Power over Ethernet (PoE) information qos Show QoS Configuration radius RADIUS Client configuration radius-server Show RADIUS server configuration resources Show line module resource information rmon Show RMON alarm configurations route-map Display all Route-map router Routing Information running-config Current running configuration service Show service information session-timeout Idle session timeout in minutes sflow sFlow configuration snmp SNMP configuration snmpv3 SNMP version 3 configurations spanning-tree Show spanning tree information ssh Show SSH configuration startup-config Contents of startup configuration system System information tacacs-server Show TACACS server configuration tech Display output of a predefined command sequence used by technical support terminal-monitor Displays Terminal-monitor status tls Display the state of TLS settings track Track information ubt User Based Tunnel configuration udld Show UDLD information upgrade Show upgrade information uptime Show the elapsed time since the device was booted usb USB storage device settings user Show user information user-group Local user group to be displayed user-list Displays the list of local users version Displays switch version vlan Show VLAN configuration vrf VRF Configuration vrrp VRRP information vsx Show various VSX settings ztp Zero Touch Provisioning switch# show % Command incomplete. switch#
지금까지 [PNETLab][#6]-Aruba CX Switch Install 글을 읽어주셔서 감사합니다.
============================ Available IOL images ============================ ID NAME SIZE -- ---- ----
No IOL images found for the term: "veos"
================================= Available DYNAMIPS images ================================= ID NAME SIZE -- ---- ----
No DYNAMIPS images found for the term: "veos"
root@pnetlab:~#
2. 저는 947 veos-4.29.2F 521.3 MiB 설치해보겠습니다
ishare2 pull qemu 947
root@pnetlab:~# ishare2 pull qemu 947 [!] IMAGE INFO - Image Name : veos-4.29.2F - Image Size : 521.3 MiB - Image Type : QEMU - Image ID : 947 - Image path : /opt/unetlab/addons/qemu/veos-4.29.2F - Using host : https://labhub.eu.org [!] DOWNLOADING IMAGE /opt/unetlab/addons/qemu/v 100%[======================================>] 521.29M 5.33MB/s in 94s [+] DOWNLOAD COMPLETED! [-] Extracting: veos-4.29.2F.tgz file... [+] Extracted: /opt/unetlab/addons/qemu/veos-4.29.2F. Image ready to use. [-] Fixing permissions...
[+] Fix permissions command has been executed correctly root@pnetlab:~#
3. https://192.168.40.250 접속 하고 로그인 합니다.
4. 아래 버튼을 클릭 합니다.
5. 아래처럼 New Lab이름을 정하고 Add버튼을 클릭 합니다.
6. 오른쪽 마우스를 클릭하고 Node를 클릭 합니다.
7. Arista vEOS를 선택 합니다.
8. 수정없이 그냥 Save버튼을 클릭 합니다.
9. 장비를 부팅 합니다.
10. 장비를 더블클릭하면 Putty또는 CRT가 자동으로 실행 됩니다.
[ 4.374620] Running e2fsck on: /mnt/flash [ 4.405684] e2fsck on /mnt/flash took 0s Data in /mnt/flash/vEOS-lab.swi differs from previous boot image on /mnt/flash. Saving new boot image to /mnt/flash... Switching rootfs
Welcome to Arista Networks EOS 4.29.2F Architecture: x86_64 Starting ProcMgr: Removing all files in all subdirs of /etc/ProcMgr.d/run [ OK ] Starting EOS initialization stage 1: [ OK ] Starting NorCal initialization: Starting EOS Cloud Init: [ OK ] [ OK ] Starting EOS initialization stage 2: [ OK ] Completing EOS initialization (press ESC to skip): [ OK ] Model and Serial Number: unknown System RAM: 2005420 kB Flash Memory size: 3.9G
No startup-config was found.
The device is in Zero Touch Provisioning mode and is attempting to download the startup-config from a remote system. The device will not be fully functional until either a valid startup-config is downloaded from a remote system or Zero Touch Provisioning is cancelled.
To cancel Zero Touch Provisioning, login as admin and type 'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch Provisioning permanently, type 'zerotouch disable' at the CLI. Note: The device will reload when these commands are issued.
localhost login: Feb 3 12:30:44 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with system MAC address on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143) Feb 3 12:30:44 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with serial number on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143) Feb 3 12:30:50 localhost Stp: %SPANTREE-6-STABLE_CHANGE: Stp state is now stable Feb 3 12:30:59 localhost ZeroTouch: %ZTP-4-DHCPv4_QUERY_FAIL: Failed to get a valid DHCPv4 response (option 67, 143) Feb 3 12:30:59 localhost ZeroTouch: %ZTP-6-RETRY: Retrying Zero Touch Provisioning from the beginning (attempt 1)
No startup-config was found.
The device is in Zero Touch Provisioning mode and is attempting to download the startup-config from a remote system. The device will not be fully functional until either a valid startup-config is downloaded from a remote system or Zero Touch Provisioning is cancelled.
To cancel Zero Touch Provisioning, login as admin and type 'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch Provisioning permanently, type 'zerotouch disable' at the CLI. Note: The device will reload when these commands are issued.
localhost login: Feb 3 12:31:14 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with system MAC address on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143) Feb 3 12:31:14 localhost ZeroTouch: %ZTP-6-DHCPv4_QUERY: Sending DHCPv4 request with serial number on [ Ethernet1, Ethernet2, Ethernet3, Ethernet4, Ethernet5, Ethernet6, Ethernet7, Ethernet8 ] (option 67, 143)
No startup-config was found.
The device is in Zero Touch Provisioning mode and is attempting to download the startup-config from a remote system. The device will not be fully functional until either a valid startup-config is downloaded from a remote system or Zero Touch Provisioning is cancelled.
To cancel Zero Touch Provisioning, login as admin and type 'zerotouch cancel' at the CLI. Alternatively, to disable Zero Touch Provisioning permanently, type 'zerotouch disable' at the CLI. Note: The device will reload when these commands are issued.
localhost login: admin localhost> localhost>? clear Reset functions connect TELNET client default Set a command to its defaults disable Disable commands for a specified privilege level enable Enable commands for a specified privilege level exit Leave Exec mode logout Exit from EXEC mode netconf Configure NETCONF no Disable the command that follows ping Ping remote systems reset Reset various components of the switch run Run multiple commands in one line show Display details of switch operation ssh Open ssh connection tcpdump Monitor packets with tcpdump telnet TELNET client terminal Set terminal parameters traceroute Traceroute command watch Execute a command repeatedly zerotouch ZeroTouch configuration
localhost>
시간이 지나면 위에 처럼 정삭적으로 동작합니다.
지금까지 [PNETLab][#4]- Arista vEOS Switch Install 글을 읽어주셔서 감사합니다.
Traceback (most recent call last): File "ishare.py", line 118, in <module> File "ishare.py", line 112, in main File "ishare.py", line 82, in search TypeError: 'bool' object has no attribute '__getitem__'
등등 에러 메시지가 발생 합니다. 구글에 검색해보니 ishare제대로 동작안되는거 같습니다.
┌────────────────────────────────────────────────────────────────────────┐ │ Welcome to the ishare2 configuration wizard. │ │ - This wizard will guide you through the configuration process. │ │ - Press Enter to accept the default value. │ │ - You can modify the configuration later by running: ishare2 config. │ │ - Press Ctrl+C to cancel. │ └────────────────────────────────────────────────────────────────────────┘ [+] Use aria2c for faster downloads? (default: no) [+] (y/n): [+] Check SSL certificate? (default: yes) [+] (y/n): [+] Choose the update channel. 1) alpha 2) beta 3) main [*] Enter the number of the branch you want to use (default: main): [!] Using the default branch. [+] Choose a mirror. (default: Rotate mirrors) 1) Rotate mirrors (recommended) 2) Google Drive mirror 3) Onedrive mirror 4) Custom mirror [*] Enter the number of the mirror you want to use (default: 1): [!] ishare2 will rotate among the available mirrors. ┌─────────────────────────────────────────────────────────────┐ │ Configuration completed successfully. │ │ You can start using ishare2! │ │ [!] IMPORTANT NOTICES: │ │ - ishare2 is a free and open-source project. If you paid │ │ for it, you have been scammed. │ │ - Do not download ishare2 from unofficial sources as they │ │ may contain arbitrary code. │ └─────────────────────────────────────────────────────────────┘ ┌────────────────────────────────────────────────────────────────┐ │ MOTD from the ishare2 team: │ │ Changelog: │ │ - Fixed bug when doing integrity checks againts qemu images. │ │ │ │ Telegram: https://t.me/NetLabHub │ │ Donate: https://buymeacoffee.com/sudoalex │ │ GitHub: https://github.com/ishare2-org/ishare2-cli │ └────────────────────────────────────────────────────────────────┘ Syntax
ishare2 [action] [param1] [param2] [--overwrite]
action: search : Search for images available on LabHub mirrors. pull : Download an image by specifying the type and id. installed : Shows images installed on the server. labs : Shows available labs and downloads the images for the selected lab. mylabs : Same as labs command but you can use a customized path. relicense : Generates an iourc license for iol images. upgrade : Shows a menu to upgrade ishare2 or PNETLab. test : Test internet connectivity to required sites. help : Shows full help information.
param1: type = all, iol, qemu, dynamips, docker or name.
param2: id = This can be obtained using ishare2 search <type>
--overwrite: Used to overwrite an existing image if it already exists on your system.