EVE-NG-Win-Client-Pack설치해도 image 실행 시 SecureCRT 연동이 안되는 경우 중 하나.

앱의 기본값을 확인해서 SecureCRT가 기본 앱으로 되어있는지 확인.

 

 

 

 

'EVE-NG' 카테고리의 다른 글

[EVE-NG] Fortigate (fortinet-FGT-v6-build1010)  (0) 2025.02.12
[EVE-NG] Juniper vQFX 설치  (0) 2025.02.11
[EVE-NG] Cisco vIOS L3 Switch 설치  (2) 2023.12.06
[EVE-NG] Cisco vIOS Router 설치  (1) 2023.12.06
[EVE-NG] Cisco NXOS 설치  (1) 2023.12.06

1. 디렉토리 생성

mkdir /opt/unetlab/addons/qemu/viosl2-adventerprisek9-m.03.2017

 

2. FTP로 생성한 폴더에 image 복사

 

3. 확장자가 이미 qcow2로 되어있으므로 컨버팅은 생략하고 파일명만 변경.
cd /opt/unetlab/addons/qemu/viosl2-adventerprisek9-m.03.2017

mv vios_l2-adventerprisek9-m.03.2017.qcow2 virtioa.qcow2
 
3. 권한 수정
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

 

https://www.eve-ng.net/index.php/documentation/howtos/howto-add-cisco-vios-from-virl/

 

Cisco vIOS from VIRL -

Versions this guide is based on: EVE Image Foldername Downloaded Original Filename Version vCPUs vRAM 1. vios-adventerprisek9-m.spa.159-3 vios-adventerprisek9-m.spa.159-3.m6.qcow2 15.9.6M6 1 1024 2. viosl2-adventerprisek9-m.SSA.high_iron_20200929 vios_l2-a

www.eve-ng.net

 

1. /opt/unetlab/addons/qemu에 디렉토리 생성
mkdir /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-1.T

2. FTP로 생성한 디렉토리에 이미지 업로드


3. 디렉토리 이동
cd /opt/unetlab/addons/qemu/vios-adventerprisek9-m.SPA.156-1.T

4. 파일명 변경(.vmdk)
mv vios-adventerprisek9-m.vmdk.SPA.156-1.T vios-adventerprisek9-m.vmdk.SPA.156-1.T.vmdk

5. 파일 형식 변경(vmdk --> qcow2)
5-1
/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 vios-adventerprisek9-m.vmdk.SPA.156-1.T.vmdk virtioa.qcow2
5-2(5-1번 안될 시)
/opt/qemu/bin/qemu-img convert -O qcow2 vios-adventerprisek9-m.vmdk.SPA.156-1.T.vmdk virtioa.qcow2

6. 원본 파일 삭제
rm vios-adventerprisek9-m.vmdk.SPA.156-1.T.vmdk

7. 권한 수정
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

 

0. image: nxosv-final.7.0.3.I7.4.qcow2

 

1. 폴더 생성

mkdir /opt/unetlab/addons/qemu/nxosv9k-7.0.3.I7.4

 

2. FTP로 생성한 폴더에 image 복사

 

3. image 파일명 변경

cd /opt/unetlab/addons/qemu/nxosv9k-7.0.3.I7.4/

mv nxosv-final.7.0.3.I7.4.qcow2 sataa.qcow2

 

4. 권한 수정
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

 

 

 

 

 

-------------------------------------------------------------------------------

nexus9300v.10.1.2.qcow2

mkdir /opt/unetlab/addons/qemu/nxosv9k-9300v-10.1.2

cd /opt/unetlab/addons/qemu/nxosv9k-9300v-10.1.2/
mv nexus9300v.10.1.2.qcow2 sataa.qcow2

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

 

-------------------------------------------------------------------------------

nexus9300v64.10.2.5.M.qcow2

mkdir /opt/unetlab/addons/qemu/nxosv9k-9300v64-10.2.5.M
cd /opt/unetlab/addons/qemu/nxosv9k-9300v64-10.2.5.M/
mv nexus9300v64.10.2.5.M.qcow2 sataa.qcow2

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

1. rebooting

ctrl + c

ctrl + c

ctrl + c  ----------  loader mode 진입

2. loader > dir


bootflash::  
  nxos.7.0.3.I7.3.bin

 

3. loader > cmdline recoverymode=1

4. loader > boot nxos.7.0.3.I7.3.bin

Booting nxos.7.0.3.I7.3.bin 
Trying diskboot 
 Filesystem type is ext2fs, partition type 0x83
Image valid

Image Signature verification was Successful.

 

5. switch(boot)# config terminal

6. switch(boot)(config)# admin-password [xxxx]

                                      # exit

7. switch(boot)# load-nxos

 

###################################################################
                     !!!!! WARNING !!!!!
    Only authorized personnel can access this system.
The unauthorized access will be subjected to a legal penalty.
                     !!!!! WARNING !!!!!
###################################################################

login: admin
Password: 

(none)show version
Cisco Nexus Operating System (NX-OS) Software

...................
Software
  BIOS:      version 07.69
  kickstart: version 14.1(2m) [build 14.1(2m)]
  system:    version 14.1(2m) [build 14.1(2m)]
  PE:        version 4.1(2m)
  BIOS compile time:       04/07/2021
  kickstart image file is: /bootflash/aci-n9000-dk9.14.1.2m.bin


(none)# cat /mnt/cfg/0/boot/grub/menu.lst.local

(none)# cat /mnt/cfg/1/boot/grub/menu.lst.local
boot aci-n9000-dk9.14.1.2m.bin


(none)# dir bootflash
CpuUsage.Log               disk_log.txt  mem_log.txt.old.gz
aci-n9000-dk9.14.1.2m.bin  libmon.logs   mts_buffer_log.log
auto-s                     lost+found    nxos.7.0.3.I7.3.bin
diag_bootup                lxc

(none)# dir usbslot2
System\ Volume\ Information  nxos.7.0.3.I7.3.bin  nxos.9.3.5.bin
aci-n9000-dk9.14.2.7f.bin    nxos.7.0.3.I7.7.bin  nxos.9.3.7k.bin
(none)# 
(none)# reload 
This command will reload the chassis, Proceed (y/n)? [n]: y

 

ctrl + c

ctrl + c

ctrl + c


###################### 1차 booting ######################

loader > dir                                                                   

usb1::  

 aci-n9000-dk9.14.2.7f.bin

bootflash::  

  aci-n9000-dk9.14.1.2m.bin -----> aci-n9000-dk9.14.2.7f.bin 으로 버전 변경 해야 함.

 

               ...................                                                                    

loader > boot usb1:aci-n9000-dk9.14.2.7f.bin

Security Lock
Booting usb1:aci-n9000-dk9.14.2.7f.bin 

Image Signature verification was Successful.

Boot Time: 6/7/2023  15:7:58

...................

 

###################### 2차 booting ######################

loader > dir                                                                   

usb1::  

 aci-n9000-dk9.14.2.7f.bin

bootflash::  

  aci-n9000-dk9.14.2.7f.bin <----- 변경된 버전 확인

loader > boot aci-n9000-dk9.14.2.7f.bin <----- 2번째 bootflash boot

Security Lock
Booting aci-n9000-dk9.14.2.7f.bin 
Trying diskboot 
 Filesystem type is ext2fs, partition type 0x83
Image valid


Image Signature verification was Successful.

Boot Time: 6/7/2023  15:19:4

-------------------------------------------------------------------------------

(none)# dir bootflash
CpuUsage.Log                     diag_bootup   lxc
aci-n9000-dk9.14.2.7f.bin        disk_log.txt  mts_buffer_log.log
auto-s                           libmon.logs   nxos.7.0.3.I7.3.bin
bios_bootup_scratch_not_cleared  lost+found

(none)# show version
Cisco Nexus Operating System (NX-OS) Software

...................

Software
  BIOS:      version 07.69
  kickstart: version 14.2(7f) [build 14.2(7f)]
  system:    version 14.2(7f) [build 14.2(7f)]
  PE:        version 4.2(7f)
  BIOS compile time:       04/07/2021
  kickstart image file is: /bootflash/aci-n9000-dk9.14.2.7f.bin


(none)# cat /mnt/cfg/0/boot/grub/menu.lst.local -----> 해당 경로에 버전 확인
boot aci-n9000-dk9.14.1.2m.bin
(none)# 
(none)# setup-bootvars.sh aci-n9000-dk9.14.2.7f.bin
In progress
In progress
...................
Done

(none)# cat /mnt/cfg/0/boot/grub/menu.lst.local
boot aci-n9000-dk9.14.2.7f.bin -----> 버전 변경 확인

'네트워크 > OS' 카테고리의 다른 글

ACI ---> NXOS  (0) 2025.06.20
ACI OS USB install (NXOS --> ACI OS)  (0) 2024.02.26
[NXOS] Nexus OS install (ICAM serivce 관련)  (0) 2023.02.03
[NXOS] Nexus C93180YC-EX - OS install (USB)  (0) 2023.02.02

IOS-XR eBGP 구성시 RPL을 만들고, RPL을 eBGP neighbor 구성 아래의 route-policy에 생성한 RPL을 in/out에 추가한다.
그리고 eBGP경로를 import, export 하기 위해 BGP 프로세스 루트 아래와 neighbor 세션에 대해 address-family를 설정해야 한다.

 

 

1. NX-OS <--> IOS-XR (iBGP/eBGP)

#################### NXOS-1 ####################
!
route-map redi-conn permit 10
!
interface Ethernet1/1
  no switchport
  ip address 1.1.12.1/24
  ip ospf network point-to-point
  ip router ospf 100 area 0.0.0.0
  no shutdown
!
interface loopback0
  ip address 1.1.1.1/24
!
router ospf 100
  router-id 1.1.1.1
  redistribute direct route-map redi-conn
!         
router bgp 100
  router-id 1.1.1.1
  address-family ipv4 unicast
    redistribute direct route-map redi-conn
  neighbor 2.2.1.1
    remote-as 100
    update-source loopback0
    address-family ipv4 unicast
!
#################### XR-1 ####################
!
interface Loopback0
 ipv4 address 2.2.1.1 255.255.255.0
!
interface GigabitEthernet0/0/0/1
 ipv4 address 1.1.12.2 255.255.255.0
!
interface GigabitEthernet0/0/0/2
 ipv4 address 1.1.23.2 255.255.255.0
!
route-policy PASS
  pass
end-policy
!
router ospf 100
 router-id 2.2.1.1
 redistribute connected
 area 0
  interface GigabitEthernet0/0/0/1
   network point-to-point
  !
 !
!
router bgp 100
 bgp router-id 2.2.1.1
 address-family ipv4 unicast
  network 2.2.1.0/24
 !
 neighbor 1.1.1.1
  remote-as 100
  update-source Loopback0
  address-family ipv4 unicast
  !
 !
 neighbor 1.1.23.3
  remote-as 200
  address-family ipv4 unicast
   route-policy PASS in
   route-policy PASS out
  !
 !
!
end
#################### NXOS-2 ####################
!
interface Ethernet1/2
  no switchport
  ip address 1.1.23.3/24
  no shutdown
!
interface Loopback0
 ip address 3.3.1.1 255.255.255.0
!
router bgp 200
  router-id 3.3.1.1
  address-family ipv4 unicast
    network 3.3.1.0/24
  neighbor 1.1.23.2
    remote-as 100
    address-family ipv4 unicast
!
cs

 

 

 

 

 

 

 

 

 

 

 

 

2. IOS <--> IOS-XR (iBGP/eBGP)

 
#################### IOS-1 ####################
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface GigabitEthernet1/1
 no switchport
 ip address 1.1.12.1 255.255.255.0
 ip ospf network point-to-point
 ip ospf 100 area 0
!
router ospf 100
  router-id 1.1.1.1
  redistribute direct route-map redi-conn
!         
router bgp 100
  router-id 1.1.1.1
  address-family ipv4 unicast
    redistribute direct route-map redi-conn
  neighbor 2.2.1.1
    remote-as 100
    update-source loopback0
    address-family ipv4 unicast
!
#################### XR-1 ####################
!
interface Loopback0
 ipv4 address 2.2.1.1 255.255.255.0
!
interface GigabitEthernet0/0/0/1
 ipv4 address 1.1.12.2 255.255.255.0
!
interface GigabitEthernet0/0/0/2
 ipv4 address 1.1.23.2 255.255.255.0
!
route-policy PASS
  pass
end-policy
!
!
router ospf 100
 router-id 2.2.1.1
 redistribute connected
 address-family ipv4 unicast
 area 0
  interface GigabitEthernet0/0/0/1
   network point-to-point
  !
 !
!
router bgp 100
 bgp router-id 2.2.1.1
 address-family ipv4 unicast
  network 2.2.1.0/24
 !
 neighbor 1.1.1.1
  remote-as 100
  update-source Loopback0
  address-family ipv4 unicast
  !
 !
 neighbor 1.1.23.3
  remote-as 200
  address-family ipv4 unicast
   route-policy PASS in
   route-policy PASS out
  !
 !
!
end
#################### IOS-2 ####################
!
interface Loopback0
 ip address 3.3.1.1 255.255.255.0
!
interface GigabitEthernet1/2
 no switchport
 ip address 1.1.23.3 255.255.255.0
!
router bgp 200
 bgp router-id 3.3.1.1
 bgp log-neighbor-changes
 network 3.3.1.0 mask 255.255.255.0
 neighbor 1.1.23.2 remote-as 100
!
cs
 

 

'네트워크 > BGP' 카테고리의 다른 글

[BGP] 개요  (0) 2025.04.12
[BGP] BGP 테이블 2  (0) 2025.04.11
[BGP] BGP 테이블 1  (0) 2025.04.11
[BGP] eBGP, iBGP 기본 설정  (0) 2025.04.10
[IOS-XR] eBGP - basic config  (0) 2023.05.31

 

 

 

RP/0/0/CPU0:R-1#sh run
!
route-policy PASS
  pass
end-policy
!
router bgp 1
 bgp router-id 1.1.1.1
 address-family ipv4 unicast
  redistribute connected
 !
 neighbor 1.1.12.2
  remote-as 2
  address-family ipv4 unicast
   route-policy PASS in
   route-policy PASS out
  !
 !
!
####################################################
 
RP/0/0/CPU0:R-2#sh run
!
route-policy PASS
  pass
end-policy
!
router bgp 2
 bgp router-id 2.2.1.1
 address-family ipv4 unicast
  redistribute connected
 !
 neighbor 1.1.12.1
  remote-as 1
  address-family ipv4 unicast
   route-policy PASS in
   route-policy PASS out
  !
 !
!
####################################################
 
RP/0/0/CPU0:R-1#sh ip rou
Wed May 31 13:35:58.004 UTC
 
Gateway of last resort is not set
 
C    1.1.1.0/24 is directly connected, 00:17:32, Loopback0
L    1.1.1.1/32 is directly connected, 00:17:32, Loopback0
C    1.1.12.0/24 is directly connected, 00:17:32, GigabitEthernet0/0/0/0
L    1.1.12.1/32 is directly connected, 00:17:32, GigabitEthernet0/0/0/0
B    2.2.1.0/24 [20/0] via 1.1.12.200:16:25
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh bgp ipv4 uni
Wed May 31 13:36:09.183 UTC
BGP router identifier 1.1.1.1local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 7
BGP main routing table version 7
BGP NSR Initial initsync version 3 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
 
Status codes: s suppressed, d damped, h history, * valid, > best
              i - internal, r RIB-failure, S stale, N Nexthop-discard
Origin codes: i - IGP, e - EGP, ? - incomplete
   Network            Next Hop            Metric LocPrf Weight Path
*> 1.1.1.0/24         0.0.0.0                  0         32768 ?
*> 1.1.12.0/24        0.0.0.0                  0         32768 ?
*                     1.1.12.2                 0             0 2 ?
*> 2.2.1.0/24         1.1.12.2                 0             0 2 ?
 
Processed 3 prefixes, 4 paths
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh bgp ipv4 uni su
Wed May 31 13:36:11.893 UTC
BGP router identifier 1.1.1.1local AS number 1
BGP generic scan interval 60 secs
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000000   RD version: 7
BGP main routing table version 7
BGP NSR Initial initsync version 3 (Reached)
BGP NSR/ISSU Sync-Group versions 0/0
BGP scan interval 60 secs
 
BGP is operating in STANDALONE mode.
 
 
Process       RcvTblVer   bRIB/RIB   LabelVer  ImportVer  SendTblVer  StandbyVer
Speaker               7          7          7          7           7           0
 
Neighbor        Spk    AS MsgRcvd MsgSent   TblVer  InQ OutQ  Up/Down  St/PfxRcd
1.1.12.2          0     2      21      21        7    0    0 00:17:39          2
 
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh ip bgp 1.1.12.2
Wed May 31 13:37:17.668 UTC
BGP routing table entry for 1.1.12.0/24
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                  5           5
Last Modified: May 31 13:19:31.932 for 00:17:45
Paths: (2 available, best #1)
  Advertised to peers (in unique update groups):
    1.1.12.2        
  Path #1: Received by speaker 0
  Advertised to peers (in unique update groups):
    1.1.12.2        
  Local
    0.0.0.0 from 0.0.0.0 (1.1.1.1)
      Origin incomplete, metric 0, localpref 100, weight 32768, valid, redistributed, best, group-best
      Received Path ID 0, Local Path ID 0, version 5
  Path #2: Received by speaker 0
  Not advertised to any peer
  2
    1.1.12.2 from 1.1.12.2 (2.2.1.1)
      Origin incomplete, metric 0, localpref 100, valid, external, group-best
      Received Path ID 0, Local Path ID 0, version 0
      Origin-AS validity: not-found
RP/0/0/CPU0:R-1#
RP/0/0/CPU0:R-1#sh ip bgp 2.2.1.1 
Wed May 31 13:37:40.697 UTC
BGP routing table entry for 2.2.1.0/24
Versions:
  Process           bRIB/RIB  SendTblVer
  Speaker                  7           7
Last Modified: May 31 13:19:32.932 for 00:18:07
Paths: (1 available, best #1)
  Not advertised to any peer
  Path #1: Received by speaker 0
  Not advertised to any peer
  2
    1.1.12.2 from 1.1.12.2 (2.2.1.1)
      Origin incomplete, metric 0, localpref 100, valid, external, best, group-best
      Received Path ID 0, Local Path ID 0, version 7
      Origin-AS validity: not-found
RP/0/0/CPU0:R-1#
cs

'네트워크 > BGP' 카테고리의 다른 글

[BGP] 개요  (0) 2025.04.12
[BGP] BGP 테이블 2  (0) 2025.04.11
[BGP] BGP 테이블 1  (0) 2025.04.11
[BGP] eBGP, iBGP 기본 설정  (0) 2025.04.10
[BGP] iBGP, eBGP 구성  (0) 2023.06.01

+ Recent posts