CML Final
CML Final
Luhur Bayuaji
Faculty of Data Science and Information Technology (FDSIT)
INTI International University
29 November 2024
The Cisco Modelling Labs (CML) workshop
organized by
Faculty of Computer Science UBHARA JAYA
Cisco Modelling Labs
Cisco Modeling Labs is premier
platform for network simulation.
With an easy-to-use HTML5 UI
and a comprehensive API, Cisco
Modeling Labs makes it fun to
design, test, troubleshoot, and
learn.
https://www.cisco.com/site/us/en/learn/training-certifications/training/modeling-labs.html
Important Links
• CML
https://www.cisco.com/site/us/en/learn/training-
certifications/training/modeling-labs.html
• CML Documentation
https://developer.cisco.com/docs/modeling-labs/2-
8/introduction/#introduction-to-cisco-modeling-labs
CML 2.8 Free Tier
• With Cisco Modeling Labs Free you’ll have access to a total of five (5)
nodes at any given time along with the latest features such as smart
annotations, custom MAC address, and more.
IOLv, IOLvL2, ASAv and host reference platforms can be turned on
• Access Ubuntu, Server, Desktop, Alpine
• Please note: All of the above reference platforms count against the 5-node limit
• Unmanaged switch – does not count against the 5-node limit
• Use of the external connector is allowed – externally connected devices do
not count against the 5-node limit
• No time limitation or expiry date – you have access to Cisco Modeling
Labs Free for as long as you want!
Outline
• Installation
• Practical Session
Installation
Download resources
• VMware workstation pro
• Cisco Modeling Labs 2.8.0 server (OVA)
• Cisco Modeling Labs reference platform ISO file
• Putty
https://onedrive.live.com/?id=0F03FAE8D17D6BFF%21s811db4757c754c95b3700f76b00d5155&cid=0F03FAE8D17D6BFF
Install VMware
• Install VMware by running the installation file.
Open the OVA on VMware
Check the VM setting
1. Processor -> Check Virtualize Intel VT-x/EPT
or AMD-V/RVI
2. CD/DVD -> Add the ISO file and check connect
at power on
3. Network -> Select NAT
Initial Setup (start the VM)
1. Confirm that you are setting up a standalone CML server.
2. Create a system administrator account.
3. Create an initial user account.
4. Provide network information. (select DHCP)
5. Wait for the CML server to reset.
Start the CML
Open the browser and type
the IP address displayed in
the VM screen.
Practical Session
Topology
Router
enable
configure terminal
Hostname R1
Interface e0/0
Ip address 10.0.0.1 255.255.255.0
No shutdown
Interface e0/1
Ip add 10.0.1.1 255.255.255.0
No shutdown
Alphine
# this is a shell script which will be sourced at boot
hostname alpine-0 Useful command
# configurable user account • Change into root
USERNAME=cisco Sudo su -
PASSWORD=cisco • Show only interface with up status
# configure networking ip link ls up
ip address add 10.0.0.10/24 dev eth0 • Show routing table
ip link set dev eth0 up ip route list
ip route add 10.0.0.0/8 dev eth0 • Set IP using dhcp
ip route add default via 10.0.0.1 ifconfig eth0 up
udhcpc eth0
Desktop (alphine)
# this is a shell script which will be sourced at boot
hostname alpine-0 Useful command
# configurable user account • Change into root
USERNAME=cisco Sudo su -
PASSWORD=cisco • Show only interface with up status
# configure networking ip link ls up
ip address add 10.0.0.11/24 dev eth0 • Show routing table
ip link set dev eth0 up ip route list
ip route add 10.0.0.0/8 dev eth0 • Set IP using dhcp
ip route add default via 10.0.0.1 ifconfig eth0 up
udhcpc eth0
Server (Tinycorelinux)
hostname SVR
ifconfig eth0 10.0.1.10 netmask 255.255.255.0 tiup
route add default gw 10.0.1.1
Useful Command
• Check interface
ifconfig
• Show routing table
route –n
• Set IP using dhcp
ifconfig eth0 up
udhcpc eth0
THANK YOU