Networking links

This page by David Papkin shows useful network links

Enroll in Cisco Networking Academy

CCNAX 200-301 exam

200-301 CCNA Exam Topics Study Tool

CCNA Exam Safeguard

Cisco Certifications

Collaboration Certifications Roadmap Webinar

Join us on Wednesday, May 17, 2023 at 10:00 am Pacific Daylight Time, to learn about the recent updates to the Collaboration Certifications Roadmap program. Register Now

https://www.cisco.com/c/en/us/training-events/training-certifications/certifications/professional/ccnp-collaboration-v2.html

online subnet calculator

Shows config and lists different syslog levels

Configuring System Message Logging (Cisco)

Configure System Logging (Cisco link)

Configuring Cisco IOS to automatically save the running configuration to a tftp server on save

Booting Cisco Router from a TFTP server

Use of the Configuration Register on All Cisco Routers

Understanding Cisco Auto Archive Feature to Backup Configuration File

Adjust Administrative Distance for Route Selection in Cisco IOS Routers

Interface and Line Numbers in Cisco Routers

Errdisable Port State Recovery on the Cisco IOS Platforms

Maximum Number of Interfaces and Subinterfaces for Cisco IOS Routers: IDB Limits

Overview of Dial Interfaces, Controllers, and Lines

Access Lists

Standard Access Lists – Filters bases on Source Address and Wildcard mask

Extended Access Lists – Filters based Source Address, Destination Address, Wildcard mask, Protocol and Port.

Ansible

https://developer.cisco.com/learning/labs/ansible-03_ansible-hands-on/ansible-hands-on/

Cabling

WHAT DOES UTP, S/UTP, FTP, STP AND SFTP MEAN?

What is the difference between shielded and unshielded network cables

Cisco Cable Pinouts ( rollover , aux , Ethernet )

https://www.cableorganizer.com/cat5e-cables/

Current Standards for CAT Patch Cords
Bulk Patch Cord
  • Cat 1: Wiring used in POTS telephone communications, ISDN and wiring for doorbells. Not recognized by TIA/EIA
  • Cat2: Was used on a 4 Mbit/s token ring networks. Not recognized by TIA/EIA
  • Cat3: Typically used on 10 Mbit/s Ethernet networks and can be used up to 16 MHz. Currently recognized by TIA/EIA
  • Cat4: Typically used on 16 Mbit/s token ring networks and can be used up to 20 MHz. Not recognized by TIA/EIA
  • Cat5: Typically used on 100 Mbit/s Ethernet networks and can be used up to 100 MHz; however, Cat5 is not suitable for 1000BASE-T gigabit Ethernet. Not recognized by TIA/EIA
  • Cat5e: Typically used on 100 Mbit/s Ethernet networks and gigabit Ethernet networks; can be used up to 100 MHz. Currently recognized by TIA/EIA
  • Cat6: Performs at more than double the MHz of Cat5 and Cat5e, going up to 250 MHz. Currently recognized by TIA/EIA
  • Cat6a: Standard for future 10 Gbit/s applications.
  • Cat7: Standard used to describe ISO/IEC 11801 Class F cabling. Cat7 is a protective shield covering 4 individually shielded pairs (STP) for transmission of frequencies of up to 600 MHzThe Cat7 specification is a proprietary standard developed by a consortium of companies and is not endorsed by IEEE or TIA/EIA. While substantially similar to the performance characteristics of Cat6a, Cat7 cables features proprietary GG45 connectors and robust shielding. 
  • Cat7a (Category 7 Augmented) is a further refinement of Cat7, capable of 40 Gigabit speeds over 50 meters and 100 Gbps up to 15 meters. The proprietary nature of the Cat7 and Cat7a standards and lack of support from IEEE and EIA has resulted in a relatively small installed based for Cat7/Cat7a.
  • Cat8 With a bandwidth of up to 2 GHz (2000 MHz) over 30 meters and a data rate of up to 40Gbs, Cat8 cable is ideal for switch-to-switch communications in a 25GBase T or 40GBase T network. Its conductors are wrapped in foil to virtually eliminate crosstalk and enable higher data rates. The result is a heavier gauge cable that is quite rigid and can be difficult to install in tight spaces. It still uses RJ45 connectors and is backwards compatible with previous standards.

https://tripplite.eaton.com/products/ethernet-cable-types

CategoryMax. Data RateBandwidthMax. DistanceUsage
Category 11 Mbps0.4 MHz Telephone and modem lines
Category 24 Mbps4 MHz LocalTalk & Telephone
Category 310 Mbps16 MHz100 m (328 ft.)10BaseT Ethernet
Category 416 Mbps20 MHz100 m (328 ft.)Token Ring
Category 5100 Mbps100 MHz100 m (328 ft.)100BaseT Ethernet
Category 5e1 Gbps100 MHz100 m (328 ft.)100BaseT Ethernet, residential homes
Category 61 Gbps250 MHz100 m (328 ft.)
10Gb at 37 m (121 ft.)
Gigabit Ethernet, commercial buildings
Category 6a10 Gbps500 MHz100 m (328 ft.)Gigabit Ethernet in data centers and commercial buildings
Category 710 Gbps600 MHz100 m (328 ft.)10 Gbps Core Infrastructure
Category 7a10 Gbps1000 MHz100 m (328 ft.)
40Gb at 50 m (164 ft.)
10 Gbps Core Infrastructure
Category 825 Gbps (Cat8.1)
40 Gbps (Cat8.2)
2000 MHz30 m (98 ft.)25 Gbps/40 Gbps Core Infrastructurezxccc 

Fiber Optics Part 2: Single-Mode Fiber vs. Multi-Mode-Fiber

Differences between T568A and T568B explained

Power over Ethernet (POE) pinout

https://www.ppc-online.com/blog/fiber-connectors-whats-the-difference

https://www.cablematters.com/Blog/Networking/fiber-optic-connector-types

Configuration Monitoring

Configuration management tools can monitor device configurations to discover when the
device configuration differs from the intended ideal configuration, and then either reconfigure the device or notify the network engineering staff to make the change

CRUD and HTTP Verbs

The software industry uses a memorable acronym—CRUD—for the four primary actions performed by an application.

Create: Allows the client to create some new instances of variables and data structures at the server and initialize their values as kept at the server
Read: Allows the client to retrieve (read) the current value of variables that exist at the server, storing a copy of the variables, structures, and values at the client
Update: Allows the client to change (update) the value of variables that exist at the server
Delete: Allows the client to delete from the server different instances of data variables

For example, using the northbound REST API of a DNA controller (See Cisco Software-Defined Access (SDA),” for info)  you might want to create something, like a new security policy. From a programming perspective, the security policy exists as a related set of configuration settings on the DNA controller, internally represented by variables. To do that, a REST client application would use a Create action, using the DNA Center RESTful API, that created variables on the DNA Controller via the DNA Center REST API.

HTTP uses verbs that mirror CRUD actions. HTTP defines the concept of an HTTP request and reply, with the client sending a request and with the server answering back with a reply.

Each request/reply lists an action verb in the HTTP request header, which defines the HTTP action. The HTTP messages also include a URI, which identifies the resource being manipulated for this request. As always, the HTTP message is carried in IP and TCP, with headers and data, as seen below.

DHCP

Cisco IP Addressing: DHCP Configuration Guide

DHCP Static Binding on Cisco IOS

DHCP Snooping

DHCP snooping is a feature that determines which devices attached to switch ports can respond to DHCP requests. DHCP snooping can be used to prevent unauthorised DHCP messages that contain information such as IP address-related data being provided to legitimate network devices.

Enable DHCP Snooping Globally

Router(config)#ip dhcp snooping

Configure DHCP server facing switch port as trusted

Router(config-if)#ip dhcp snooping trust

Configure Snooping rate limit ex: 100 pps

Router(config-if)#ip dhcp snooping rate limit 100

Configure Snooping Database agent

Router(config)# ip dhcp snooping database tftp://10.1.1.1/dir/file

https://www.cisco.com/en/US/docs/general/Test/dwerblo/broken_guide/snoodhcp.html

Dynamic ARP Inspection (DAI)

To prevent unauthorized Address Resolution Protocol , use Dynamic ARP Inspection (DAI)

To configure DAI

Step 1. Use the ip arp inspection vlan vlan-list global command to enable Dynamic
ARP Inspection (DAI) on the switch for the specified VLANs.

Step 2. Separate from the DAI configuration, also configure DHCP Snooping and/or
ARP ACLs for use by DAI.

Step 3. Configure the ip arp inspection trust interface subcommand to override the
default setting of not trusted.

Dynamic ARP Inspection

Etherchannel

Configuring Link aggregation with Etherchannel

  1. Increases bandwidth without upgrading equipment
  2. Adds High Availability
  3. Acts as 1 link to STP, so that multiple links stay active
  4. Active / Active Load Balancing
  5. Scalable
  6. Most configuration tasks can be done on the EtherChannel interface instead of on each individual port, ensuring configuration consistency throughout the links.

GRE

How to configure GRE over an IPSec tunnel on routers

IPSEC VPN

HTTP Headers – used to pass additional information between the clients and the server through the request and response header. All the headers are case-insensitive, headers fields are separated by colon, key-value pairs in clear-text string format.

https://www.geeksforgeeks.org/http-headers/

What happens when you type a URL into a browser?

HSRP

Configure HSRP

Cisco Campus Network for High Availability Design Guide

Cisco What Is Administrative Distance?

Hypervisor

How to Install Linux in VirtualBox

Downloads – Oracle VM VirtualBox

How to Install Apache Server and Set Up Virtual Hosts on Ubuntu 22.04

https://www.wikihow.com/Install-VirtualBox

Virtual Box Documentation

How to Fix “VT-X Is Not Available (verr_vmx-No-Vmx)” Error in VirtualBox

Install Linux on Windows with WSL

How To Install KVM Hypervisor on Ubuntu 22.04|20.04

MAC Hypervisor

UTM https://mac.getutm.app

Intent-based Networking

SDN is a foundational building block of intent-based networking. Cisco DNA Center provides a single dashboard for managing and controlling the enterprise network.

Tools of Cisco DNA Center

  1. Discovery – Scans the network for new devices.
  2. Inventory – Provides inventory for new devices.
  3. Topology – Discover and map new devices to a physical topology.
  4. Image Repository
  5. Command Runner
  6. License Manager
  7. Template Editor
  8. Network Plug and Play
  9. Telemetry
  10. Data and Reports

IPv4

Configure IP address on Cisco router

Configure Cisco switch settings

IPv6

IPv6 scope

This image has an empty alt attribute; its file name is ipv6scope.jpg

Microsoft IPv6 Addresses

Configuring IPv6

IP Phones

How to Access the Web Configuration Page of a Cisco IP Phone 6800 Series

Designing an Enterprise IP Telephony Network

ISE

https://www.routexp.com/2019/05/introduction-to-secure-group-tagging-sgt.html

https://www.securew2.com/blog/eap-tls-vs-eap-ttls-pap

Configuring IEEE 802.1x Port-Based Authentication

Logging

Logging commands:

Configure syslog

logging host w.x.y.z – Log messages to a syslog server with IP address w.x.y.z

logging trap informational

Log terminal sessions

terminal monitor – Log messages to a non console terminal session during the current session.

show logging – Verify the “terminal monitor” command.

Loopback

https://www.cisco.com/c/en/us/td/docs/routers/access/800M/software/800MSCG/routconf.html#48525

Understanding the Loopback Interface & Loopback Address – Study CCNA (study-ccna.com)

Network Address Translation (NAT)

3 kinds ( Static, Dynamic and Overload )

  • Static – 1 to 1 mapping, requires a Public IP for EACH Private IP you want to translate.
  • Dynamic – Many to Many mapping, can use a pool of Public IP addresses to translate ANY Private IP mentioned in the access list.
  • Overload ( Pat ) –    It translates many Private (local)l addresses into a single global address.

Advantages –

  • Reuse of private IP addresses
  • Enhancing security for private networks by keeping internal addressing private from the external network
  • Connecting a large number of hosts to the global Internet using a smaller number of public (external) IP address, thereby conserving IP address space.

Disadvantages –

  • No end to end security
  • Performance
  • Application usage. Since hosts inside the network is unreachable at times, some applications tends to have compatibility issues with NAT. These applications depend on end to end functionality which the network fails to supply. 
  • Protocol Usage. Since the value inside the headers are changed in NAT, tunneling protocols such as IPSec can be complicated to be used. Whenever the values inside the headers are modified, the integrity checks are interfered causing them to fail.

NAT: Local and Global Definitions

Network Management tools

Network Performance Monitor (NPM) Multi-vendor network monitoring that scales and expands with the needs of your network
Paessler Router Traffic Grapher (PRTG) Monitor all the systems, devices, traffic, and applications in your IT infrastructure.
ManageEngine OpManager  Monitor routers, switches, firewalls, servers, and VMs for fault and performance
WhatsUp Gold provides complete visibility into the status and performance of applications, network devices and servers in the cloud or on-premises.

Cisco DNA a powerful network controller that resides on a physical appliance, with virtual appliance support to come in the future.

Introduction to Ansible lab

https://puppet.com

OSPF

What two parameters must be configured for basic OSPF to work properly?

Process ID and Area.

OSPF: Frequently Asked Questions

Modifying OSPF cost.

The default reference bandwidth used for calculating cost on CIsco routers is 100Mbps

OSPF uses a simple formula to calculate the OSPF cost for an interface with this formula:

cost = reference bandwidth / interface bandwidth

However, if you have faster links in your network, such as gigabit Ethernet or OC-3 connections, OSPF can’t give these links a better cost than 1. So you should set the reference bandwidth to at least as high as the fastest link in your network. In fact, you may want to set this value higher than the bandwidth of your fastest link to ensure that you don’t have to reconfigure your whole network when you eventually upgrade

https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/nxos/commands/ospf/auto-cost-ospf.html

What is OSPF Metric value Cost and OSPF default Cost Reference Bandwidth

Cisco IOS Cookbook, 2nd Edition by Kevin Dooley, Ian Brown

DR/BDR Election

Designated & Backup Designated Router

DR/BDR Roles

Configuring Per Interface OSPF

Enabling OSPFv2 on an Interface Basis

OSPF Area and ASN

Routing domains and Areas

Packet Tracer

packetracerlabs

Password Encryption

Enable secret password config

QOS

Quality of Service (QoS) Configuration Guide

802.1p and DSCP QoS

RADIUS vs TACACS+

  RADIUS TACACS+
Protocol and Port(s) UsedUDP: 1812 & 1813
-or- UDP: 1645 & 1646
TCP: 49
EncryptionEncrypts only the Password FieldEncrypts the entire payload

TACACS+ and RADIUS Comparison (Cisco)

RADIUS versus TACACS+

TACACS+ Configuration Guide

Configuring Network Device Management lab solution

REST-Based APIs

REST is acronym for REpresentational State Transfer

Applications use application programming interfaces (APIs) to communicate.

API is an interface that defines interactions between multiple software applications or mixed hardware-software intermediaries. A set of functions that allows applications to access data and interact with external software

https://en.wikipedia.org/wiki/API

REST APIs follow a set of foundational rules about what makes a REST API and what does not.  REST APIs include the six attributes defined a few decades Roy Fielding. See https://restfulapi.net.

Those six attributes are

■ Client/server architecture

■ Stateless operation

■ Clear statement of cacheable/uncacheable

■ Uniform interface

■ Layered

■ Code-on-demand

REST APIs and HTTP

The creators of REST-based APIs often choose HTTP because HTTP’s logic matches some of the concepts defined more generally for REST APIs. HTTP uses the same principles as REST: it operates with a client/server model; it uses a stateless operational model; and it includes headers that clearly mark objects as cacheable or not cacheable. It also includes

verbs—words that dictate the desired action for a pair HTTP Request and Reply—which matches how applications like to work.

Routing

Understanding BGP

What is OSPF cost

Adjust Administrative Distance for Route Selection in Cisco IOS Routers

eBGP ASN numbers

SDN 

A controller, or SDN controller, centralizes the control of the networking devices. The
degree of control, and the type of control, varies widely.

In a controller-based network architecture, the controller needs to communicate to the networking devices. The 2 APIs interfaces needed are:

  • The  interface between the controller and those devices,  is the southbound interface (SBI).
  • A controller’s northbound interface (NBI) opens the controller so its data and functions can
    be used by other programs, enabling network programmability, with much quicker development

SDWAN

The primary components for the Cisco SD-WAN solution consist of the vManage network management system (management plane), the vSmart controller (control plane), the vBond orchestrator (orchestration plane), and the vEdge router (data plane).

  • vManage – This centralized network management system provides a GUI interface to easily monitor, configure, and maintain all Cisco SD-WAN devices and links in the underlay and overlay network.
  • vSmart controller – This software-based component is responsible for the centralized control plane of the SD-WAN network. It establishes a secure connection to each vEdge router and distributes routes and policy information via the Overlay Management Protocol (OMP), acting as a route reflector. It also orchestrates the secure data plane connectivity between the vEdge routers by distributing crypto key information, allowing for a very scalable, IKE-less architecture.
  • vBond orchestrator – This software-based component performs the initial authentication of vEdge devices and orchestrates vSmart and vEdge connectivity. It also has an important role in enabling the communication of devices that sit behind Network Address Translation (NAT).
  • vEdge router – This device, available as either a hardware appliance or software-based router, sits at a physical site or in the cloud and provides secure data plane connectivity among the sites over one or more WAN transports. It is responsible for traffic forwarding, security, encryption, Quality of Service (QoS), routing protocols such as Border Gateway Protocol (BGP) and Open Shortest Path First (OSPF), and more.

Reference: https://www.cisco.com/c/dam/en/us/td/docs/solutions/CVD/SDWAN/CVD-SD-WAN-Design-2018OCT.pdf

SNMP

Cisco SNMP v3

How to Configure SNMP

How to Configure SNMP Community Strings

Hierarchical Network Architecture

https://www.ciscopress.com/articles/article.asp?p=2202410&seqNum=4

Three-tier Architecture

  • Access layer: Provides workgroup/user access to the network
  • Distribution layer: Provides policy-based connectivity and controls the boundary between the access and core layers
  • Core layer: Provides fast transport between distribution switches within the enterprise campus

Spine and Leaf Architecture (two-tier)

Spine-and-Leaf Architecture: Design Overview White Paper

STP ( Spanning Tree Protocol )

Understand and Configure STP on Catalyst Switches

Understanding and Tuning Spanning Tree Protocol Timers

Understanding Rapid Spanning Tree Protocol (802.1w)

https://www.ciscopress.com/articles/article.asp?p=2832407&seqNum=5

Rapid Spanning Tree Port States

There are only three port states left in RSTP that correspond to the three possible operational states. The 802.1D disabled, blocking, and listening states are merged into a unique 802.1w discarding state.

STP (802.1D) Port StateRSTP (802.1w) Port StateIs Port Included in Active Topology?Is Port Learning MAC Addresses?
DisabledDiscardingNoNo
BlockingDiscardingNoNo
ListeningDiscardingYesNo
LearningLearningYesYes
ForwardingForwardingYesYes

STP Root Port Selection

Spanning Tree Protocol WIKI

Spanning Tree Protocol Operation

https://www.ciscopress.com/articles/article.asp?p=2832407&seqNum=5

SNMP

How do SNMP, MIBs and OIDs work?

Subnetting

IP Addressing and Subnetting(info on /31 also)

Play the Cisco Binary Game!!!!

https://learningcontent.cisco.com/games/binary/index.html

Switch Virtualization

Troubleshooting Switch Stacks

Cisco StackWise and StackWise Plus Technology

Switch Security ( port security )

Port Security Learning modes

Static secure MAC addresses: MAC addresses that are manually configured on a port by using the switchport port-security mac-address mac-address interface configuration mode command. MAC addresses configured in this way are stored in the address table and are added to the running configuration on the switch. Use no switchport port-security mac-address mac-address  to remove the MAC address if that device is no longer connected to the switch.

Dynamic secure MAC addresses: MAC addresses that are dynamically learned and stored only in the address table. MAC addresses configured in this way are removed when the switch restarts or when the timer has expired, the  optional commands  mac address-table aging-time 300  switchport port-security aging type inactivity  will remove the dynamic MAC address after 5 minutes of inactivity.

Sticky secure MAC addresses: MAC addresses that can be dynamically learned or manually configured are stored in the address table, and added to the running configuration. . Use no switchport port-security mac-address mac-address  to remove the MAC address if that device is no longer connected.

Switchport Aging https://www.ciscopress.com/articles/article.asp?p=1722561

Switch Security Violation modes:

  1. protect—Drops frames with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value.
  2. restrict—Drops frames with unknown source addresses until you remove a sufficient number of secure MAC addresses to drop below the maximum value and causes the SecurityViolation counter to increment and sends SNMP trap notification.
  3. shutdown—Puts the interface into the error-disabled state immediately and sends an SNMP trap notification.

TCP

Transmission Control Protocol

Understanding TCP/IP

How TCP Three-way handshake works (SYN, SYN-ACK, ACK)

Why does TCP even need a 3-way handshake?

TCPDUMP

https://opensource.com/article/18/10/introduction-tcpdump

USERNAMES

Configuring Administrator Usernames and Passwords

VLAN

Creating Ethernet VLANs on Catalyst Switches

Configure InterVLAN Routing on Layer 3 Switches

VLAN Subinterface Commands

switchport nonegotiate: Prevents the interface from generating DTP frames. You can use this command only when the interface switchport mode is access or trunk. You must manually configure the neighboring interface as a trunk interface to establish a trunk link. Please see the link below Configure DTP for more details.

https://www.connecteddots.online/resources/cisco-reference/disabling-dtp-negotiation-switchport-nonegotiate

Configure DTP

Configure VLAN Trunks

VXLAN

Virtual Extensible LAN (VXLAN) is a network virtualization technology that attempts to address the scalability problems associated with large cloud computing deployments. It uses a VLAN-like encapsulation technique to encapsulate OSI layer 2 Ethernet frames within layer 4 UDP datagrams, using 4789 as the default IANA-assigned destination UDP port number.[1] VXLAN endpoints, which terminate VXLAN tunnels and may be either virtual or physical switch ports, are known as VXLAN tunnel endpoints (VTEPs).

https://en.wikipedia.org/wiki/Virtual_Extensible_LAN

When an SDA endpoint (for example, an end-user computer) sends a data link frame into an SDA edge node, the ingress edge node encapsulates the frame and sends it across a VXLAN tunnel to the egress edge node

  • Fabric edge nodes—SDA nodes that connect to the edge of the SDA fabric—learn the
    location of possible endpoints using traditional means, based on their MAC address,
    individual IP address, and by subnet, identifying each endpoint with an endpoint identifier (EID).
  • The fabric edge nodes register the fact that the node can reach a given endpoint (EID)
    into a database called the LISP map server.
  • The LISP map server keeps the list of endpoint identifiers (EIDs) and matching routing
    locators (RLOCs) (which identify the fabric edge node that can reach the EID).
  • In the future, when the fabric data plane needs to forward a message, it will look for and
    find the destination in the LISP map server’s database.

Wireshark

Wireshark HTTPS (Has 9 learning Activities.Very good!))

Wireshark SSL

https://wiki.wireshark.org/DisplayFilters

How to build Display Filters

Ethernet Capture