View difference between Paste ID: N5ALu4jA and GnLxQJXT
SHOW: | | - or go back to the newest paste.
1-
#########################
1+
                            ############################
2-
# Connect to the server #
2+
########################### # CCNA Route/Switch Course # ###########################
3-
#########################
3+
                            ############################
4-
 
4+
5-
Use Putty to SSH into my Ubuntu host in order to perform the lab tasks below.
5+
6-
 
6+
7-
You can download Putty from here:
7+
8-
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
8+
9-
 
9+
# CCNA Fundamentals #
10-
 
10+
11-
server ip:		45.63.116.164
11+
12-
protocol:           	ssh
12+
Subnetting questions to review:
13-
port:               	22
13+
https://www.subnetting.net/Subnetting.aspx?mode=practice
14-
username:		ciscosecurity
14+
15-
password: 				
15+
CCNA Vocab:
16
https://quizlet.com/247450713/ccna-flash-cards/
17-
 
17+
18-
 
18+
CCNA Commands:
19-
##############################################
19+
https://quizlet.com/410565046/ccna-commands-flash-cards/
20-
# Log Analysis with Linux command-line tools #
20+
21-
##############################################
21+
22-
The following command line executables are found in the Mac as well as most Linux Distributions.
22+
23-
 
23+
# CCNA PacketTracer #
24-
cat –  prints the content of a file in the terminal window
24+
##################### 
25-
grep – searches and filters based on patterns
25+
https://infosecaddicts-files.s3.amazonaws.com/SecureNinja/PacketTracer.zip
26-
awk –  can sort each row into fields and display only what is needed
26+
27-
sed –  performs find and replace functions
27+
28-
sort – arranges output in an order
28+
######################
29-
uniq – compares adjacent lines and can report, filter or provide a count of duplicates
29+
# CCNA Lab Exercises #
30-
 
30+
######################
31-
 
31+
https://infosecaddicts-files.s3.amazonaws.com/SecureNinja/CCNA-LabExercises.zip
32-
##############
32+
Packet Tracer labs to do:
33-
# Cisco Logs #
33+
34-
##############
34+
Folder: 1-CCNA-Network And Fundamentals
35-
 
35+
	
36-
AWK Basics
36+
	Lab 2.6.2
37-
----------
37+
	Lab 2.7.1
38-
To quickly demonstrate the print feature in awk, we can instruct it to show only the 5th word of each line. Here we will print $5. Only the last 4 lines are being shown for brevity.
38+
39-
 
39+
40-
-----------------------------Type this-----------------------------------------
40+
Folder: 2-CCNA-LAN Switching_Labs
41-
cat cisco.log | awk '{print $5}' | tail -n 4
41+
	Lab E3_PTAct_1_3_1
42-
-------------------------------------------------------------------------------
42+
	Lab E3_PTAct_1_3_2
43-
 
43+
	Lab E3_PTAct_1_4_1
44-
 
44+
45-
 
45+
46-
Looking at a large file would still produce a large amount of output. A more useful thing to do might be to output every entry found in “$5”, group them together, count them, then sort them from the greatest to least number of occurrences. This can be done by piping the output through “sort“, using “uniq -c” to count the like entries, then using “sort -rn” to sort it in reverse order.
46+
Folder: 3-CCNA-Accessing_The_WAN_Labs
47-
 
47+
	Lab E4_PTAct_1_5_1
48-
-----------------------------Type this-----------------------------------------
48+
	Lab E4_PTAct_5_5_1