이 페이지의 이전 버전을 보고 있습니다. 현재 버전 보기.

현재와 비교 페이지 이력 보기

« 이전 버전 2 다음 »

Purchase

https://learningnetworkstore.cisco.com/cisco-modeling-labs-personal/

Download

https://learningnetworkstore.cisco.com → My Account → My Orders → Click Download → Redirected to https://software.cisco.com

  • cml2_p_2.7.1-20_amd64-25-iso.zip (1515.70 MB)
  • cml2_p_2.7.1-20_amd64-25.ova (893.48 MB)
  • refplat_p-20240623-fcs-iso.zip (11643.11 MB)

CML2

Ubuntu 20.04 based

Install

Import cml2_p_2.7.1-20_amd64-25.ova to your hypervisor

Configure network

Access Cockpit Web - https://<YOUR_IP>:9090/

Patch

firewalld

CML2 uses firewalld as firewall.

/etc/firewalld/zones/trusted.xml
<?xml version="1.0" encoding="utf-8"?>
<zone target="ACCEPT">
  <short>Trusted</short>
  <source address="192.168.0.0/24"/>
  <service name="ssh"/>
  <service name="dhcpv6-client"/>
  <service name="http"/>
  <service name="https"/>
  <port port="1122" protocol="tcp"/>
  <port port="2222" protocol="tcp"/> 
  <port port="9090" protocol="tcp"/>
</zone>
# vi /etc/firewalld/zones/public.xml
# vi /etc/firewalld/zones/trusted.xml
# firewall-cmd --reload
# firewall-cmd --get-active-zones
public
  interfaces: bridge0 enp1s0
trusted
  sources: 192.168.0.0/24

sshd

# vi /etc/ssh/sshd_config
Port 2222

# vi /etc/passwd
root:x:0:0:root:/root:/bin/bash

# mkdir -p /root/.ssh
# chmod 700 /root/.ssh
# touch /root/.ssh/authorized_keys
# chmod 600 /root/.ssh/authorized_keys
# vi /root/.ssh/authorized_keys
Add your ssh pubkey

# systemctl enable --now ssh


  • 레이블 없음