Posts

Showing posts from November, 2020

Python Crash Course Lists Methods! #3

 Hi Everyone, Dumping more notes today for my own reference! Need more practice with these. Modifying Elements in a List -  The syntax for modifying an element is similar to the syntax for accessing an element in a list. To change an element, use the name of the list followed by the index of the element you want to change, and then provide the new value you want that item to have. motorcycles[0] = 'ducati' Appending Elements to the End of a List -  The simplest way to add a new element to a list is to append the item to the list. When you append an item to a list, the new element is added to the end of the list. Using the same list we had in the previous example, we’ll add the new element 'ducati' to the end of the list: motorcycles.append('ducati') Inserting Elements into a List -  You can add a new element at any position in your list by using the insert() method. You do this by specifying the index of the new element and the value of the new item. motorcycles

Python Crash Course Lists & Notes! #2

Hi Everyone,  These are just the notes I have been taking whilst learning Python I will apologise in advance as they are a bit of a mess due to my word license running out! So I am using this as a sort of substitute for a notes dump.  Data Types - Int - Whole number. Float - Decimal Number.  Constant - written in all caps. Constants never change. Methods -  f = To insert a variable’s value into a string, place the letter f immediately before the opening quotation mark. .rstrip - takes whitespace away from right side. .lstrip - takes whitespace away from left side. . strip - takes whitespace away. .upper - sets strings to capital text.  .lower - sets strings to lower text. .title = puts makes each word first letter capital  .append - for lists . insert - for lists .pop - for lists. Takes item specified by index and prints it (or "pops" it) example - .pop(0) will print first value. .remove - used for lists. Removes specified index value.  \t = tab \ n = new line  Lis

Python Crash Course Chapter 1-2! #1

 Hi Everyone,  As a continuation from my CCNA I have started studying towards my Cisco DevNet, to do this I need some prior knowledge with Python (which I dont have) so after doing some research I have found this book! I will be using this until I am comfortable with Python.  In the first two chapters I have learned how to create variables and assigned them values, along with this I have also learned how to use methods with the variables. These are some examples of me beginning my Python journey -  blog_message = "Hi everyone! My name is" name = "Iain" first_blog = "this is my first blog about Pyhton, enjoy!" day, month, year = 29, 11, 2020 print(f"{blog_message.title()} {name.upper()} {first_blog.title()} {day, month, year}") This is my first piece of coding, in this I got to use variables, methods and integers. 

I PASSED! Cisco CCNA 200-301! Experience & Where I'm going from here!

 Hi Everyone, Long time no see. As the title says - I passed! After all the studying I have finally finished my CCNA on November 27th. So as a summary I managed to score 900/1000 - what do I think of the exam? I think that the exam focuses on a much wider spectrum than just R&S, I had an illusion in my head that most questions on the exam would revolve around R&S protocols when this wasn't the case at all! I had a majority of wireless questions is regards to WLC's, AP's etc (without going into to much detail - sorry guys blame the NDA) along with this there was other things that were involved that weren't on the blueprint which was mildly frustrating. My Advice? Learn all the gritty details, learn how to read routing tables things like longest prefix, AD, metric - what path will win? Learn protocol numbers, what the requirements for that protocol are to make a decision e.g how HSRP uses an active and standby router and how it decides what router is doing what. B

Notes

Automation -  Ansible -  SSH, TCP, PORT 22,YAML. Linux, UNIX, Windows. Playbooks.  Chef - HTTPS, TCP PORT 443. LINUX/UNIX/WINDOWS - CLIENT/SERVER. COOKBOOKS. Salt - Port 4505 & 4506. LINUX/UNIX/WINDOWS. CLIENT/SERVER. USES PYTHON & YAML. Puppet - HTTPS, TCP, PORT 8140. Ruby. SOUTHBOUND-API -  NETCONF - uses XML   OpFlex - Declarative SDN model  OPENFLOW - Imperative SDN model  OnePK - Cisco proprietary API  Wireless Security - WEP - RC4 - 40 bit encryption  WPA - TKIP (TEMPORAL KEY INTEGRITY PROTOCOL)  WP2 - AES 256 (ADVANCED ENCRYPTION STANDARD), CCMP  WPA3 - AES 256 - 192-bit security while still using the 802.1x standard WPS (Wifi protected service) - Easy to join wireless network, push button to connect to network (usually physical button on router) FHRP -  VRRP - 0000.5E00.01 GLBP  -  0007. b400. XXYY HSRP -  0000.0C07. AC00 LLDP -  Advertisements 30 seconds  Retains information for 120 seconds CDP -  Advertisements 60 seconds  Retains information for 180 seconds