Buckets:

technician1's picture
download
raw
84.5 kB
# ============================================================================ # NETWORK DEVICE DIAGNOSTICS AND TRAINING ACADEMY # Advanced edition for EnglishLike 2.2 # ============================================================================ # PURPOSE # Guided, structured, multi-vendor troubleshooting and operator training. # Supports routers, L2/L3 switches, wireless APs/controllers, firewalls, # modems/ONTs, mesh systems, VPN gateways, and managed infrastructure. # # IMPORTANT CAPABILITY BOUNDARY # EnglishLike 2.2 has no native sockets, ICMP, SNMP, SSH, HTTP, REST, packet # capture, vendor API, serial console, or shell-execution operations. # This application DOES NOT scan, connect to, configure, reboot, or modify # network devices. The operator executes the displayed vendor/workstation # commands separately and enters observed results. Use the read-only checks # first. Configuration changes require authorization, a backup, a change # record, an approved maintenance window, and a rollback plan. # # OFFICIAL REFERENCE STARTING POINTS (verify the exact model/release) # MikroTik RouterOS diagnostics: https://manual.mikrotik.com/docs/diagnostics-monitoring-and-troubleshooting/ # Juniper Junos operational commands: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/topic-map/junos-operational-mode-commands-monitoring.html # FortiOS troubleshooting: https://docs.fortinet.com/document/fortigate/7.6.6/administration-guide/321075/troubleshooting-methodologies # PAN-OS networking CLI: https://docs.paloaltonetworks.com/ngfw/pan-os-cli-quick-start/cli-cheat-sheet-networking # Aruba AOS-CX CLI: https://www.arubanetworks.com/techdocs/AOS-CX/10.14/PDF/cli_6300-6400.pdf # These are references, not proof that every listed command exists on every model. # # INPUT CONVENTIONS # All menu/status answers are one numeric token. # Status: 1 = PASS/healthy, 2 = FAIL/unhealthy, 3 = NOT TESTED or N/A. # Model identifier: one token only; do not include spaces or dotted versions. # Vendor CLI syntax varies by product family, hardware revision, and release. # # APPLICATION MODULES # 1. Advanced incident diagnostics and fault isolation # 2. Network engineering training academy and quizzes # 3. Troubleshooting scenario laboratory # 4. Vendor/platform command reference # 5. Network security baseline audit # 6. Network architecture and resilience review # 0. Exit # ============================================================================ # ------------------------------ Core helpers ------------------------------- define a function named status_text taking status as number: if status is equal to 1: give back "PASS / HEALTHY"; else: if status is equal to 2: give back "FAIL / UNHEALTHY"; else: if status is equal to 3: give back "NOT TESTED / NOT APPLICABLE"; else: give back "INVALID STATUS - EXPECT 1, 2, OR 3"; end if end if end if end function define a function named severity_text taking failures as number: if failures is equal to 0: give back "NO FAILED CHECKS RECORDED"; else: if failures is less than 3: give back "LOW - FEW OBSERVED FAILURES"; else: if failures is less than 7: give back "MODERATE - MULTIPLE FAULT DOMAINS"; else: give back "HIGH - BROAD OR SYSTEMIC FAILURE POSSIBLE"; end if end if end if end function # ------------------------- Vendor command reference ------------------------ define a function named vendor_reference taking vendor as number: display ""; display "================ VENDOR / PLATFORM REFERENCE ================"; if vendor is equal to 1: display "CISCO IOS / IOS XE / CATALYST - EXEC / PRIVILEGED EXEC"; display "show version"; display "show inventory"; display "show platform"; display "show ip interface brief"; display "show interfaces status"; display "show interfaces counters errors"; display "show vlan brief"; display "show interfaces trunk"; display "show spanning-tree detail"; display "show etherchannel summary"; display "show mac address-table dynamic"; display "show ip arp"; display "show ip route"; display "show ip ospf neighbor"; display "show ip bgp summary"; display "show ip dhcp binding"; display "show power inline"; display "show logging"; display "show processes cpu sorted"; display "show processes memory"; display "Use platform-specific syntax for Nexus, IOS XR, ASA, and Meraki."; end if if vendor is equal to 2: display "MIKROTIK ROUTEROS - MENU-PATH COMMANDS"; display "/system resource print"; display "/system health print"; display "/system package print"; display "/interface print detail"; display "/interface ethernet print stats"; display "/ip address print detail"; display "/ip route print detail"; display "/ip arp print"; display "/ip dhcp-server lease print"; display "/ip dhcp-relay print"; display "/ip dns print"; display "/interface bridge vlan print"; display "/interface bridge port print"; display "/routing ospf neighbor print"; display "/routing bgp session print"; display "/tool ping <destination>"; display "/tool traceroute <destination>"; display "/tool torch <interface>"; display "/log print"; display "RouterOS v6/v7 menu paths differ; confirm the installed release."; end if if vendor is equal to 3: display "UBIQUITI UNIFI / EDGEOS / UNIFI GATEWAY"; display "UNIFI: Network application > Devices > select device > Ports / Overview."; display "UNIFI: inspect Clients, Events, WiFi, Networks, VLAN Viewer, and topology."; display "UNIFI: verify device adoption, inform/controller reachability, and DNS/NTP."; display "EDGEOS: show interfaces"; display "EDGEOS: show ip route"; display "EDGEOS: show arp"; display "EDGEOS: show dhcp leases"; display "EDGEOS: show configuration commands"; display "EDGEOS: ping <destination>"; display "EDGEOS: traceroute <destination>"; display "UniFi, EdgeRouter, airMAX, and UISP have different workflows."; end if if vendor is equal to 4: display "TP-LINK OMADA / JETSTREAM / STANDALONE"; display "OMADA: inspect site/device/client health, events, ports, and topology."; display "OMADA: inspect Networks, VLAN/PVID, DHCP, SSID mapping, and ACLs."; display "OMADA: use Tools for Ping, Traceroute, DNS lookup, and packet capture when exposed."; display "JETSTREAM: inspect interface counters, VLAN, LAG/LACP, STP, PoE, and logs."; display "Standalone: inspect Status, Network, DHCP, VLAN, Wireless, PoE, and System Log."; display "Controller and model feature availability varies by release and hardware."; end if if vendor is equal to 5: display "D-LINK MANAGED SWITCH / ROUTER / WIRELESS"; display "Inspect port state, speed/duplex, CRC/FCS, drops, and cable diagnostics."; display "Inspect VLAN, PVID, tagged/untagged membership, LAG, STP, and loop protection."; display "Inspect PoE budget, port draw, DHCP, routing, ACL, logs, uptime, and firmware."; display "Use D-View or the model-specific web/CLI guide where supported."; display "Do not assume a common CLI across D-Link product families."; end if if vendor is equal to 6: display "NETGEAR INSIGHT / SMART MANAGED / FULLY MANAGED"; display "Inspect Insight or local web UI according to product family."; display "CLI examples on supported managed switches:"; display "show version"; display "show network"; display "show ip interface brief"; display "show ip management"; display "show interfaces status"; display "show vlan"; display "show spanning-tree"; display "show logging"; display "Inspect PoE, LAG, MAC table, DHCP, routes, and interface counters."; display "Unmanaged, Smart Managed, and fully managed models differ substantially."; end if if vendor is equal to 7: display "ARUBA AOS-CX / AOS-S / CENTRAL"; display "AOS-CX: show version"; display "AOS-CX: show system"; display "AOS-CX: show interface brief"; display "AOS-CX: show interface counters"; display "AOS-CX: show vlan"; display "AOS-CX: show mac-address-table"; display "AOS-CX: show spanning-tree"; display "AOS-CX: show lacp interfaces"; display "AOS-CX: show ip route"; display "AOS-CX: show arp"; display "AOS-CX: show lldp neighbor-info"; display "AOS-CX: show logging"; display "Central/Instant: inspect client health, RF, association events, and uplinks."; display "AOS-S and AOS-CX commands are not interchangeable."; end if if vendor is equal to 8: display "JUNIPER JUNOS - OPERATIONAL MODE ('>')"; display "show version"; display "show chassis hardware"; display "show chassis alarms"; display "show chassis environment"; display "show interfaces terse"; display "show interfaces extensive"; display "show vlans"; display "show ethernet-switching table"; display "show spanning-tree bridge"; display "show lacp interfaces"; display "show route"; display "show route forwarding-table"; display "show arp"; display "show lldp neighbors"; display "show log messages"; display "ping <destination>"; display "traceroute <destination>"; display "Use operational 'show' commands for observation; configuration mode changes candidate configuration."; end if if vendor is equal to 9: display "FORTINET FORTIGATE / FORTIOS"; display "get system status"; display "get system performance status"; display "get system interface"; display "get system arp"; display "get router info routing-table all"; display "diagnose ip arp list"; display "diagnose hardware deviceinfo nic <interface>"; display "get system performance status"; display "get system session status"; display "diagnose sys ntp status"; display "diagnose vpn tunnel list"; display "execute ping <destination>"; display "execute traceroute <destination>"; display "GUI: inspect Policy & Objects, NAT, interfaces, routing, VPN, logs, and HA."; display "Use packet/flow debug only with an approved scope and time limit."; end if if vendor is equal to 10: display "PALO ALTO NETWORKS PAN-OS"; display "show system info"; display "show interface all"; display "show routing route"; display "show arp all"; display "show session info"; display "show system resources"; display "show running resource-monitor"; display "show running nat-policy"; display "show high-availability state"; display "show vpn ike-sa"; display "show vpn ipsec-sa"; display "show counter global filter severity drop"; display "GUI: inspect ACC, Monitor logs, Policy hit counts, NAT, zones, and dataplane health."; display "Confirm operational command availability for the installed PAN-OS release."; end if if vendor is equal to 11: display "HUAWEI VRP"; display "display version"; display "display device"; display "display interface brief"; display "display ip interface brief"; display "display vlan"; display "display mac-address"; display "display stp brief"; display "display eth-trunk"; display "display ip routing-table"; display "display arp"; display "display ip pool"; display "display poe power"; display "display lldp neighbor brief"; display "display logbuffer"; display "VRP command sets differ between product series and software releases."; end if if vendor is equal to 12: display "RUCKUS ICX / SMARTZONE / UNLEASHED"; display "ICX: show version"; display "ICX: show chassis"; display "ICX: show interfaces brief"; display "ICX: show vlan"; display "ICX: show mac-address"; display "ICX: show ip route"; display "ICX: show lldp neighbors"; display "ICX: show inline power"; display "ICX: show logging"; display "SmartZone/Unleashed: inspect AP health, client events, WLAN, RF, and tunnel state."; display "ICX FastIron syntax differs from SmartZone controller operations."; end if if vendor is equal to 13: display "ZYXEL NEBULA / STANDALONE"; display "NEBULA: inspect organization/site, device connectivity, clients, alerts, and events."; display "SWITCH: inspect VLAN/PVID, trunk, LAG, STP, MAC learning, PoE, and port errors."; display "GATEWAY: inspect WAN, routes, DHCP, DNS, firewall, NAT, and VPN."; display "AP: inspect SSID, radio, client authentication, VLAN mapping, and uplink."; display "Standalone command and menu names depend on model and firmware."; end if if vendor is equal to 14: display "SOPHOS FIREWALL / SFOS"; display "GUI: Diagnostics > Tools - Ping, Traceroute, and DNS lookup when available."; display "Inspect interfaces, routes, firewall rule hits, NAT, DHCP, DNS, and VPN."; display "Inspect Log Viewer and packet capture for ingress, policy decision, and egress."; display "Inspect HA status, synchronized configuration, CPU, memory, and firmware."; end if if vendor is equal to 15: display "SONICWALL SONICOS"; display "Inspect Network > Interfaces, routing, address objects, NAT, and access rules."; display "Use Diagnostics for ping/traceroute when available in the installed release."; display "Use Packet Monitor to follow ingress, firewall decision, NAT, and egress."; display "Inspect VPN, HA, connection logs, CPU/memory, and recent configuration changes."; end if if vendor is equal to 16: display "EXTREME NETWORKS EXOS / VOSS"; display "EXOS examples: show version"; display "EXOS examples: show ports information"; display "EXOS examples: show vlan"; display "EXOS examples: show fdb"; display "EXOS examples: show iproute"; display "EXOS examples: show lldp neighbors"; display "EXOS examples: show log"; display "EXOS and VOSS command syntax is different; verify platform and release."; end if if vendor is equal to 17: display "CHECK POINT GAIA / QUANTUM"; display "show version all"; display "show interfaces all"; display "show route"; display "show arp dynamic all"; display "cpview"; display "SmartConsole: inspect Logs & Monitor, policy installation, gateways, and VPN."; display "Use fw monitor / packet diagnostics only with approved scope and care."; display "Gaia clish and expert shell are distinct command contexts."; end if if vendor is equal to 18: display "DELL POWERSWITCH / OS10"; display "show version"; display "show system"; display "show interfaces status"; display "show interfaces counters errors"; display "show vlan"; display "show mac address-table"; display "show spanning-tree"; display "show port-channel summary"; display "show ip route"; display "show lldp neighbors"; display "show logging"; display "Confirm OS10 versus OS6/OS9 before using command examples."; end if if vendor is equal to 19: display "OTHER / ISP / OEM / CLOUD-MANAGED PLATFORM"; display "Identify exact vendor, product family, hardware revision, and firmware."; display "Use the official support portal and release-specific command reference."; display "Collect: inventory, port status/counters, VLAN, MAC, ARP, routes, DHCP, DNS, logs, PoE, and health."; display "For ISP equipment, ask the provider for optical/RF levels, line errors, and incident status."; end if if vendor is less than 1 or vendor is greater than 19: display "INVALID VENDOR CODE. Select a value from 1 through 19."; end if display "REFERENCE SAFETY: commands above are examples, not universal guarantees."; display "Use read-only commands first. Review privilege and operational impact."; end function # -------------------------- Endpoint test reference ------------------------ define a function named host_reference: display ""; display "================ ENDPOINT / HOST-SIDE TESTS ================="; display "Run these locally on an authorized test workstation, not inside EnglishLike."; display "WINDOWS PowerShell: Get-NetIPConfiguration"; display "WINDOWS PowerShell: Get-NetAdapter | Format-Table -Auto"; display "WINDOWS: ipconfig /all"; display "WINDOWS: route print"; display "WINDOWS: arp -a"; display "WINDOWS: ping <gateway>"; display "WINDOWS: tracert <destination>"; display "WINDOWS PowerShell: Resolve-DnsName <domain>"; display "WINDOWS PowerShell: Test-NetConnection <host> -Port <port>"; display "LINUX: ip -br address"; display "LINUX: ip route"; display "LINUX: ip neigh"; display "LINUX: resolvectl status"; display "LINUX: dig <domain>"; display "LINUX: tracepath <destination>"; display "LINUX: ss -s"; display "macOS: ifconfig"; display "macOS: netstat -rn"; display "macOS: scutil --dns"; display "macOS: route get <destination>"; display "Compare wired and wireless, affected and known-good endpoint, and IPv4 versus IPv6."; display "Record source, destination, protocol/port, test time, result, and path."; display "A host firewall, endpoint security agent, VPN client, or proxy can affect results."; end function # ----------------------------- Training lessons --------------------------- define a function named training_lesson taking topic as number: display ""; display "================ NETWORK ENGINEERING ACADEMY ================"; if topic is equal to 1: display "MODULE 1 - OSI AND TCP/IP TROUBLESHOOTING MODEL"; display "L1 PHYSICAL: power, cable, optic, radio, signal, connector, negotiated link."; display "L2 DATA LINK: Ethernet framing, MAC learning, VLAN, STP, LACP, Wi-Fi association."; display "L3 NETWORK: IPv4/IPv6, subnet, ARP/ND, gateway, routing, VRF, ICMP."; display "L4 TRANSPORT: TCP/UDP ports, retransmission, handshake, stateful filtering."; display "L5-L7: session, TLS/certificates, DNS, DHCP application flow, HTTP and services."; display "Method: begin at the nearest affected layer, then test the next dependency."; display "A ping failure alone does not prove a host or path is down; ICMP may be filtered."; end if if topic is equal to 2: display "MODULE 2 - IPv4, SUBNETTING, DHCP, ARP, AND IPv6"; display "Record host IP, prefix/mask, gateway, DNS, lease start/end, and address source."; display "A /24 has 256 total IPv4 addresses; traditional usable host range is 254."; display "A /30 has 4 total addresses and traditionally 2 usable host addresses."; display "A /31 is commonly used for point-to-point links under RFC 3021."; display "Check address overlap, duplicate IP, wrong mask, exhausted scope, exclusions, and relay."; display "IPv4 uses ARP for local neighbour resolution; IPv6 uses Neighbor Discovery."; display "IPv6 checks: prefix, default router advertisements, DHCPv6 if used, DNS AAAA, and ICMPv6."; display "Do not assume IPv4 success proves IPv6 is correct, or the reverse."; end if if topic is equal to 3: display "MODULE 3 - SWITCHING, VLAN, STP, LACP, AND LOOP CONTROL"; display "Access port: normally carries one client VLAN; PVID/native handling is platform-specific."; display "Trunk: carries an explicit set of VLANs; validate both ends and allowed VLAN list."; display "A VLAN must exist and be permitted along the full path to its Layer 3 gateway."; display "STP prevents Layer 2 loops; identify root bridge, port roles, and topology changes."; display "LACP bundles compatible links; verify both ends, actor/partner state, and member consistency."; display "MAC flapping, broadcast storms, and repeated STP changes can indicate loops or miswiring."; display "Do not disable STP to solve a connectivity problem."; end if if topic is equal to 4: display "MODULE 4 - ROUTING, VRF, OSPF, BGP, AND REDUNDANCY"; display "Longest-prefix match selects the most specific matching route."; display "Check route source, administrative preference, metric, next-hop resolution, and interface state."; display "A routing protocol adjacency being up does not prove the required prefix is advertised."; display "OSPF: inspect neighbour state, area, timers, authentication, MTU, and LSDB."; display "BGP: inspect peer state, ASN, capabilities, policy, received/advertised prefixes, and next hop."; display "VRF/virtual-router separation can make a route absent from the table you inspected."; display "For redundancy, verify tracking, convergence, asymmetric return path, and failback behaviour."; end if if topic is equal to 5: display "MODULE 5 - DHCP, DNS, NTP, AND CORE SERVICES"; display "DHCP DORA: Discover, Offer, Request, Acknowledge for the common IPv4 lease process."; display "Check relay/helper address, scope utilization, exclusions, reservations, and server route."; display "DNS: distinguish client resolver configuration, recursive resolution, authoritative records, and forwarding."; display "Test A, AAAA, and relevant SRV records; compare internal and external answers where split DNS exists."; display "NTP/time affects log correlation, certificates, authentication, and security monitoring."; display "A working IP path with failed name resolution points toward DNS rather than basic routing."; end if if topic is equal to 6: display "MODULE 6 - WI-FI, RF, ROAMING, AND AUTHENTICATION"; display "Separate discovery, association, authentication, key exchange, DHCP, DNS, and application access."; display "RSSI is received signal strength; SNR compares signal with noise."; display "High channel utilization and retries can impair throughput even when signal is strong."; display "Check channel plan, width, co-channel/adjacent interference, transmit power, and client capabilities."; display "WPA2/WPA3, 802.1X/RADIUS, certificates, PMF, and guest isolation depend on policy and client support."; display "Compare one test near the AP with one at the affected location; compare wired uplink too."; display "Roaming can involve client decisions; inspect AP events and controller/client histories."; end if if topic is equal to 7: display "MODULE 7 - FIREWALL, NAT, VPN, AND PACKET FLOW"; display "Trace a flow: ingress interface/zone, route lookup, policy, NAT, session, egress, return path."; display "A matching allow rule is not enough if route, NAT, proxy, profile, or return path is wrong."; display "Check rule order, objects, schedules, service/ports, source NAT, destination NAT, and counters."; display "VPN: phase/tunnel state, selectors, routes, policy, identity, MTU/MSS, and return route."; display "Packet capture should be scoped to authorized endpoints, interfaces, ports, and short time windows."; display "Do not publish captures or logs containing credentials, session tokens, or personal data."; end if if topic is equal to 8: display "MODULE 8 - PERFORMANCE, CAPACITY, AND QUALITY OF SERVICE"; display "Measure latency, jitter, loss, throughput, interface utilization, drops, and retransmissions."; display "Compare wired versus wireless and local versus remote destinations."; display "Check duplex/speed, CRC/FCS, queue drops, oversubscribed uplinks, CPU, memory, and buffer pressure."; display "QoS classification, marking, queue scheduling, shaping, and policing must match end-to-end intent."; display "Do not interpret a single speed test as a complete capacity assessment."; display "Record baseline, test interval, endpoint, path, direction, and workload."; end if if topic is equal to 9: display "MODULE 9 - FIBRE, TRANSCEIVERS, CABLING, AND POE"; display "Verify optic type, wavelength, fibre mode, connector, polarity, distance, and vendor compatibility."; display "Compare optical transmit/receive power with the transceiver and link budget specifications."; display "CRC/FCS errors may result from cabling, optics, interference, or physical-layer defects."; display "PoE: confirm standard/class, powered-device demand, port limit, total budget, and cable condition."; display "A port can be electrically up while errors make traffic unreliable."; display "Use approved eye/laser safety practices; never look into an active fibre connector."; end if if topic is equal to 10: display "MODULE 10 - NETWORK SECURITY HARDENING"; display "Use unique admin identities, MFA where supported, least privilege, and AAA accounting."; display "Restrict management plane to approved admin networks; prefer SSH and HTTPS."; display "Disable unused services and insecure protocols where operationally safe."; display "Use SNMPv3 with authentication/privacy; protect community strings and credentials."; display "Segment users, servers, guests, IoT, voice, and management according to risk and policy."; display "Use secure Wi-Fi authentication, protected guest isolation, and appropriate client policies."; display "Keep firmware supported, back up configurations securely, centralize logs, and monitor alerts."; display "Security controls must be validated against business requirements and change control."; end if if topic is equal to 11: display "MODULE 11 - MONITORING, LOGGING, BACKUPS, AND INCIDENT EVIDENCE"; display "Synchronize clocks using reliable NTP and correlate timestamps across devices."; display "Preserve original logs, counters, topology, config diff, and change timestamps."; display "Record device name, model, hardware revision, software release, site, interface, and timezone."; display "Trend CPU, memory, temperature, errors, discards, clients, RF utilization, and link availability."; display "Backups should be encrypted, access-controlled, versioned, and restoration-tested."; display "Evidence should state what was tested, from where, when, and the exact observed result."; end if if topic is equal to 12: display "MODULE 12 - CHANGE CONTROL AND SAFE REMEDIATION"; display "Define impact, maintenance window, owner, approvals, pre-checks, rollback, and success criteria."; display "Save running configuration and collect baseline before modifying a device."; display "Change one variable at a time where practical; maintain an evidence trail."; display "Avoid remote changes that can sever the management path without out-of-band access."; display "Verify from the original failing endpoint and a control endpoint after the change."; display "Close only when service, monitoring, logs, and user impact are verified."; end if if topic is equal to 13: display "MODULE 13 - ADVANCED IPv6 OPERATIONS"; display "Validate global, unique-local, link-local, and temporary address roles."; display "Check prefix length, router advertisements, default router, and RA guard policy."; display "Inspect DHCPv6 stateful/stateless operation and DNS resolver discovery."; display "Neighbour Discovery uses ICMPv6; do not indiscriminately block essential ICMPv6."; display "Check dual-stack DNS A/AAAA results, policy parity, routing, firewall, and MTU."; display "Compare IPv4 and IPv6 independently; one protocol family can fail while the other works."; end if if topic is equal to 14: display "MODULE 14 - NETWORK AUTOMATION, APIs, AND TELEMETRY"; display "Common interfaces include SNMP, syslog, streaming telemetry, NETCONF, RESTCONF, and vendor APIs."; display "Use least-privilege service accounts, TLS, credential vaults, and scoped API permissions."; display "Use structured data and version control for approved configuration automation."; display "Prefer idempotent changes, pre-checks, post-checks, retries with bounds, and rollback."; display "Validate schema, platform version, API permissions, and rate limits before automating."; display "EnglishLike 2.2 has no native network API client; this lesson is conceptual, not executable API access."; end if if topic is equal to 15: display "MODULE 15 - MULTICAST, QoS, AND REAL-TIME TRAFFIC"; display "Multicast forwarding depends on group membership, IGMP/MLD, querier, and routing where needed."; display "Inspect IGMP snooping, multicast router ports, group tables, and source reachability."; display "QoS path: classification, marking, trust boundary, queue mapping, scheduling, shaping, policing."; display "Validate DSCP/CoS markings and queue drops at every bottleneck."; display "Voice/video quality depends on delay, jitter, loss, and adequate capacity in both directions."; display "Do not mark all traffic as high priority; protect critical classes with an explicit policy."; end if if topic is equal to 16: display "MODULE 16 - CLOUD-MANAGED NETWORKS AND CONTROLLER ARCHITECTURE"; display "Separate control/management plane, device data plane, cloud service, and local forwarding."; display "A cloud-controller outage may affect visibility or management without stopping all forwarding."; display "Inspect device heartbeat, outbound DNS/TLS, proxy, NTP, certificates, and required service reachability."; display "Check site assignment, adoption state, firmware compatibility, configuration drift, and event history."; display "Plan local survivability, credentials, backup, and recovery if controller connectivity is lost."; display "Confirm the vendor's current port matrix; required destinations and ports change by release."; end if end function # -------------------------------- Quiz engine ------------------------------ define a function named training_quiz taking topic as number: let score be 0; let answer be 0; display ""; display "THREE-QUESTION KNOWLEDGE CHECK"; if topic is equal to 1: display "Q1. Ethernet switching primarily operates at which OSI layer? 1=L1 2=L2 3=L3 4=L7"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. IP routing primarily operates at which OSI layer? 1=L1 2=L2 3=L3 4=L7"; read answer; if answer is equal to 3: increase score by 1; end if display "Q3. DNS is generally classified at which TCP/IP layer? 1=Link 2=Internet 3=Transport 4=Application"; read answer; if answer is equal to 4: increase score by 1; end if end if if topic is equal to 2: display "Q1. A DHCP client commonly starts with which message? 1=Offer 2=Discover 3=ACK 4=Release"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. IPv4 local neighbour resolution uses: 1=ARP 2=DNS 3=NTP 4=TLS"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. Which protocol supports IPv6 neighbour discovery? 1=FTP 2=ICMPv6 3=SMTP 4=SNMP"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 3: display "Q1. What prevents common Layer 2 loops? 1=DNS 2=STP 3=DHCP 4=NTP"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. A trunk generally transports: 1=one untagged VLAN only 2=multiple VLANs 3=only routed packets 4=DNS"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. LACP is used to negotiate: 1=link aggregation 2=DNS records 3=IP leases 4=Wi-Fi keys"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 4: display "Q1. Route selection normally prefers: 1=least specific prefix 2=longest prefix 3=oldest route 4=lowest TTL"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. OSPF is a: 1=link-state IGP 2=DNS resolver 3=Layer 2 loop guard 4=web proxy"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. BGP peers exchange: 1=power classes 2=route information 3=Wi-Fi beacons 4=DHCP leases"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 5: display "Q1. What does DHCP DORA begin with? 1=Discover 2=Offer 3=Request 4=ACK"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. Which service resolves names to addresses? 1=NTP 2=DNS 3=STP 4=LACP"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. Why synchronize network clocks? 1=PoE 2=log correlation/certificates 3=VLAN tagging 4=MTU"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 6: display "Q1. SNR compares signal with: 1=IP address 2=noise 3=DHCP lease 4=MTU"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. Successful Wi-Fi association does not guarantee: 1=radio is on 2=DHCP/IP connectivity 3=SSID exists 4=beacon"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. High channel utilization can reduce: 1=airtime availability 2=VLAN ID 3=IP prefix 4=PoE class"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 7: display "Q1. Stateful firewall flow analysis should include: 1=ingress, policy, NAT, route, egress 2=only DNS 3=only MAC 4=only RF"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. A VPN tunnel being up proves every application route works. 1=True 2=False"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. Packet capture scope should be: 1=unlimited 2=authorized and focused 3=public 4=unlogged"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 8: display "Q1. Jitter describes variation in: 1=delay 2=VLAN count 3=MAC address 4=PoE voltage"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. CRC/FCS errors most directly suggest investigating: 1=physical/link integrity 2=DNS 3=certificate 4=DHCP scope"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. A speed test alone is: 1=complete root cause proof 2=one measurement, not full diagnosis 3=firmware audit 4=security audit"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 9: display "Q1. Before using an optic, check: 1=wavelength/mode/compatibility 2=DNS 3=DHCP lease 4=NTP"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. Total PoE budget is: 1=irrelevant 2=shared power capacity across ports 3=DNS cache 4=VLAN list"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. Never look into: 1=an active fibre connector 2=a switch log 3=a VLAN config 4=a DHCP lease"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 10: display "Q1. SNMPv3 can provide: 1=authentication/privacy 2=unrestricted shell 3=power 4=VLAN trunk"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. Management access should be: 1=public 2=restricted to approved admin paths 3=shared globally 4=unauthenticated"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. Least privilege means: 1=every user is admin 2=only necessary access is granted 3=no logging 4=no MFA"; read answer; if answer is equal to 2: increase score by 1; end if end if if topic is equal to 11: display "Q1. Why use NTP? 1=correlate timestamps 2=change VLAN 3=power AP 4=negotiate optic"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. Before clearing counters, you should: 1=record values and timestamps 2=delete logs 3=reboot 4=reset"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. A backup is proven useful after: 1=restore test 2=filename creation 3=email attachment 4=uptime"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 12: display "Q1. Before a risky change, prepare: 1=rollback and backup 2=only a new password 3=untracked edit 4=none"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. A remote change that may break your management path needs: 1=out-of-band/rollback plan 2=no approval 3=blind execution 4=unknown target"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. After remediation, verify: 1=original failure path and control path 2=only admin login 3=only uptime 4=nothing"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 13: display "Q1. IPv6 neighbour discovery relies on: 1=ARP 2=ICMPv6 3=SMTP 4=SNMP"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. IPv4 success proves IPv6 works. 1=True 2=False"; read answer; if answer is equal to 2: increase score by 1; end if display "Q3. Blocking all ICMPv6 can break important IPv6 functions. 1=True 2=False"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 14: display "Q1. NETCONF/RESTCONF/API service accounts should use: 1=least privilege 2=shared admin 3=public token 4=no TLS"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. Idempotent automation aims for: 1=predictable repeated desired state 2=random edits 3=unbounded retries 4=hidden state"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. Before automating, validate: 1=schema/version/permissions 2=only device color 3=only uptime 4=nothing"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 15: display "Q1. IGMP snooping helps switches manage: 1=IPv4 multicast membership 2=DHCP pools 3=TLS certs 4=PoE"; read answer; if answer is equal to 1: increase score by 1; end if display "Q2. QoS can include classification, marking, queuing, shaping, and: 1=policing 2=ARP 3=DNS recursion 4=STP root"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. Voice quality is sensitive to: 1=jitter/loss/delay 2=hostname length 3=VLAN name 4=serial number"; read answer; if answer is equal to 1: increase score by 1; end if end if if topic is equal to 16: display "Q1. Controller reachability failure always stops local packet forwarding. 1=True 2=False"; read answer; if answer is equal to 2: increase score by 1; end if display "Q2. Cloud-managed device adoption depends on: 1=control-plane reachability 2=only a client ping 3=PoE class only 4=MAC aging"; read answer; if answer is equal to 1: increase score by 1; end if display "Q3. For controller outage planning, consider: 1=local survivability and recovery 2=only dashboard color 3=no backup 4=no NTP"; read answer; if answer is equal to 1: increase score by 1; end if end if display "Quiz score out of 3:"; display score; if score is equal to 3: display "RESULT: strong understanding of this module."; else: if score is equal to 2: display "RESULT: satisfactory; review the missed concept."; else: display "RESULT: review the lesson and repeat the quiz."; end if end if end function # --------------------------- Training academy menu ------------------------- define a function named training_academy: let topic be 0; display ""; display "==================== TRAINING ACADEMY ======================="; display "1 = OSI/TCP-IP troubleshooting model"; display "2 = IP addressing, subnetting, DHCP, ARP, IPv6"; display "3 = Switching, VLAN, STP, LACP"; display "4 = Routing, VRF, OSPF, BGP, redundancy"; display "5 = DHCP, DNS, NTP, core services"; display "6 = Wi-Fi, RF, roaming, authentication"; display "7 = Firewall, NAT, VPN, packet flow"; display "8 = Performance, capacity, QoS"; display "9 = Fibre, optics, cabling, PoE"; display "10 = Network security hardening"; display "11 = Monitoring, logs, backups, evidence"; display "12 = Change control and safe remediation"; display "13 = Advanced IPv6 operations"; display "14 = Network automation, APIs, and telemetry"; display "15 = Multicast, QoS, and real-time traffic"; display "16 = Cloud-managed networks and controllers"; display "0 = Return to main menu"; display "Select lesson:"; read topic; if topic is greater than 0 and topic is less than 17: call training_lesson(topic); call training_quiz(topic); else: if topic is equal to 0: display "Returning to main menu."; else: display "Invalid lesson number."; end if end if end function # -------------------------- Troubleshooting scenarios ---------------------- define a function named scenario_lab: let scenario be 0; let answer be 0; let correct be 0; display ""; display "================ SCENARIO LABORATORY ========================"; display "Choose a realistic troubleshooting exercise."; display "1 = Client receives 169.254.x.x address"; display "2 = Gateway works; public IP does not"; display "3 = Public IP works; domain lookup fails"; display "4 = Link up but CRC/FCS errors climb"; display "5 = Wi-Fi authentication succeeds; client has no IP"; display "6 = AP/camera repeatedly reboots on PoE"; display "7 = Intermittent LAN outage with MAC flapping"; display "8 = VPN tunnel up; application subnet unreachable"; display "9 = Wi-Fi slow only during busy periods"; display "10 = Device traffic forwards but controller cannot manage it"; display "11 = BGP peer up but route missing"; display "12 = IPv6 works but IPv4 fails"; display "13 = VPN large transfers stall (possible MTU black hole)"; display "14 = Stateful firewall return traffic fails (possible asymmetric path)"; display "Select scenario:"; read scenario; if scenario is equal to 1: display "CASE: A client has 169.254.x.x and no default gateway."; display "1=DNS outage 2=DHCP/VLAN/relay path 3=MTU 4=TLS certificate"; read answer; set correct to 2; display "Reason: link-local IPv4 commonly appears when DHCP configuration is not obtained."; display "Inspect client VLAN, DHCP Discover/Offer path, relay/helper, scope, and rogue DHCP."; end if if scenario is equal to 2: display "CASE: Client reaches its gateway but cannot reach a permitted public IP."; display "1=Default route/NAT/firewall/ISP path 2=Only DNS 3=Wi-Fi password 4=PoE class"; read answer; set correct to 1; display "Reason: local Layer 3 works; inspect WAN, route, NAT, egress policy, upstream, and return path."; end if if scenario is equal to 3: display "CASE: Public IP connectivity works but domain names fail to resolve."; display "1=STP root 2=DNS resolver/forwarder/client settings 3=PoE budget 4=optical polarity"; read answer; set correct to 2; display "Reason: IP path exists; test the configured resolver and compare DNS answers."; end if if scenario is equal to 4: display "CASE: Interface is UP but CRC/FCS counters increase under traffic."; display "1=DNS cache 2=Physical cable/optic/port/duplex issue 3=DHCP relay 4=certificate"; read answer; set correct to 2; display "Reason: physical/link integrity should be investigated before upper-layer tuning."; end if if scenario is equal to 5: display "CASE: Wi-Fi client authenticates but receives no IP configuration."; display "1=Radio password only 2=SSID VLAN/DHCP/relay path 3=NTP only 4=GPU driver"; read answer; set correct to 2; display "Reason: authentication and IP assignment are distinct steps."; end if if scenario is equal to 6: display "CASE: An AP or camera reboots when powered from a switch port."; display "1=DNS search domain 2=PoE class/port limit/total budget/cable 3=OSPF area 4=MTU only"; read answer; set correct to 2; display "Reason: verify PD demand, PSE standard, per-port and chassis budget, and cable."; end if if scenario is equal to 7: display "CASE: Users report intermittent outage; MAC addresses move between ports."; display "1=Layer 2 loop/STP/LAG/mispatch 2=DNS suffix 3=NTP stratum 4=certificate expiry"; read answer; set correct to 1; display "Reason: inspect STP changes, root/roles, LACP consistency, loop events, and topology."; end if if scenario is equal to 8: display "CASE: VPN reports UP but remote application subnet is unreachable."; display "1=Tunnel state proves everything 2=Selectors/routes/policy/NAT/return path/MTU 3=PoE 4=Wi-Fi channel"; read answer; set correct to 2; display "Reason: tunnel establishment does not prove application traffic has a valid bidirectional path."; end if if scenario is equal to 9: display "CASE: Wireless is slow only at peak usage; signal strength is good."; display "1=Channel utilization/interference/airtime/retries/capacity 2=DHCP scope alone 3=wrong NTP 4=bad SFP"; read answer; set correct to 1; display "Reason: strong RSSI does not guarantee clean RF or available airtime."; end if if scenario is equal to 10: display "CASE: Users still pass traffic but controller cannot reach the switch/AP."; display "1=Management VLAN/route/ACL/DNS/NTP/controller service 2=Forwarding plane certainly down 3=PoE always 4=DHCP only"; read answer; set correct to 1; display "Reason: management-plane reachability and data-plane forwarding are separate."; end if if scenario is equal to 11: display "CASE: BGP peer is established but an expected remote prefix is absent."; display "1=Check import/export policy, received/advertised routes, next hop, and RIB install 2=Change DNS 3=Raise PoE budget 4=Change SSID"; read answer; set correct to 1; display "Reason: an established BGP session does not prove the required prefix passed policy or entered the routing table."; end if if scenario is equal to 12: display "CASE: IPv6 users work but IPv4 users fail on the same service."; display "1=Treat both stacks as identical 2=Compare IPv4 DHCP/address/route/NAT/policy independently 3=Disable IPv6 immediately 4=Replace every AP"; read answer; set correct to 2; display "Reason: dual-stack paths can have different addressing, DNS answers, routes, and firewall policies."; end if if scenario is equal to 13: display "CASE: Small VPN packets pass but large transfers stall."; display "1=Investigate path MTU, blocked ICMP feedback, tunnel overhead, and TCP MSS 2=Change DNS suffix 3=Change STP root 4=Raise PoE"; read answer; set correct to 1; display "Reason: MTU black holes can affect large packets while small probes succeed."; end if if scenario is equal to 14: display "CASE: Traffic reaches destination but replies fail through a stateful firewall."; display "1=Check asymmetric routing, reverse path, session/NAT state, and return route 2=Change SSID name 3=Update AP channel only 4=Change NTP pool"; read answer; set correct to 1; display "Reason: bidirectional stateful flow handling and return routing must agree."; end if if scenario is greater than 0 and scenario is less than 15: if answer is equal to correct: display "ASSESSMENT: CORRECT."; else: display "ASSESSMENT: NOT CORRECT. Review the explanation and dependency chain."; end if display "Training principle: state the evidence, test the nearest boundary, then move outward."; else: display "Invalid scenario number."; end if end function # ----------------------------- Security audit ------------------------------ define a function named security_audit: let admin_mfa be 3; let admin_unique be 3; let management_isolated be 3; let secure_management be 3; let insecure_services_disabled be 3; let snmp_secure be 3; let aaa_least_privilege be 3; let access_control be 3; let config_backup be 3; let firmware_supported be 3; let logging_ntp be 3; let unused_ports be 3; let layer2_guard be 3; let segmentation be 3; let wifi_security be 3; let guest_isolation be 3; let vpn_mfa be 3; let certificates be 3; let alerting be 3; let risk_count be 0; let unknown_count be 0; display ""; display "================ NETWORK SECURITY BASELINE AUDIT ==========="; display "For each control: 1=implemented/evidenced, 2=missing/failed, 3=unknown/N/A."; display "Do not enter credentials, secrets, keys, or sensitive configuration values."; display "1. Administrative MFA enabled where supported?"; read admin_mfa; display "2. Unique named administrator accounts; no shared default account?"; read admin_unique; display "3. Management plane restricted to approved admin networks?"; read management_isolated; display "4. SSH/HTTPS used; Telnet/HTTP restricted or disabled?"; read secure_management; display "5. Unused management services and unnecessary listeners disabled?"; read insecure_services_disabled; display "6. SNMPv3 auth/privacy or an approved secure telemetry alternative?"; read snmp_secure; display "7. AAA, role separation, and least privilege applied?"; read aaa_least_privilege; display "8. Management ACLs, source restrictions, and access logging enabled?"; read access_control; display "9. Encrypted, access-controlled configuration backups exist and restore is tested?"; read config_backup; display "10. Supported firmware and vendor security advisories reviewed?"; read firmware_supported; display "11. Central logs and reliable NTP/time synchronization enabled?"; read logging_ntp; display "12. Unused switch ports disabled or assigned to a controlled quarantine VLAN?"; read unused_ports; display "13. STP protections, DHCP snooping/DAI or platform equivalents reviewed?"; read layer2_guard; display "14. User, guest, server, IoT, voice, and management segmentation enforced?"; read segmentation; display "15. Wi-Fi uses an approved WPA2/WPA3 Enterprise or secure PSK policy?"; read wifi_security; display "16. Guest network is isolated from internal resources?"; read guest_isolation; display "17. Remote access VPN uses MFA and authorized groups?"; read vpn_mfa; display "18. Certificates valid, trusted, and renewed before expiry?"; read certificates; display "19. Security/device health alerts have an owner and response process?"; read alerting; if admin_mfa is equal to 2: increase risk_count by 1; end if if admin_unique is equal to 2: increase risk_count by 1; end if if management_isolated is equal to 2: increase risk_count by 1; end if if secure_management is equal to 2: increase risk_count by 1; end if if insecure_services_disabled is equal to 2: increase risk_count by 1; end if if snmp_secure is equal to 2: increase risk_count by 1; end if if aaa_least_privilege is equal to 2: increase risk_count by 1; end if if access_control is equal to 2: increase risk_count by 1; end if if config_backup is equal to 2: increase risk_count by 1; end if if firmware_supported is equal to 2: increase risk_count by 1; end if if logging_ntp is equal to 2: increase risk_count by 1; end if if unused_ports is equal to 2: increase risk_count by 1; end if if layer2_guard is equal to 2: increase risk_count by 1; end if if segmentation is equal to 2: increase risk_count by 1; end if if wifi_security is equal to 2: increase risk_count by 1; end if if guest_isolation is equal to 2: increase risk_count by 1; end if if vpn_mfa is equal to 2: increase risk_count by 1; end if if certificates is equal to 2: increase risk_count by 1; end if if alerting is equal to 2: increase risk_count by 1; end if if admin_mfa is equal to 3: increase unknown_count by 1; end if if admin_unique is equal to 3: increase unknown_count by 1; end if if management_isolated is equal to 3: increase unknown_count by 1; end if if secure_management is equal to 3: increase unknown_count by 1; end if if insecure_services_disabled is equal to 3: increase unknown_count by 1; end if if snmp_secure is equal to 3: increase unknown_count by 1; end if if aaa_least_privilege is equal to 3: increase unknown_count by 1; end if if access_control is equal to 3: increase unknown_count by 1; end if if config_backup is equal to 3: increase unknown_count by 1; end if if firmware_supported is equal to 3: increase unknown_count by 1; end if if logging_ntp is equal to 3: increase unknown_count by 1; end if if unused_ports is equal to 3: increase unknown_count by 1; end if if layer2_guard is equal to 3: increase unknown_count by 1; end if if segmentation is equal to 3: increase unknown_count by 1; end if if wifi_security is equal to 3: increase unknown_count by 1; end if if guest_isolation is equal to 3: increase unknown_count by 1; end if if vpn_mfa is equal to 3: increase unknown_count by 1; end if if certificates is equal to 3: increase unknown_count by 1; end if if alerting is equal to 3: increase unknown_count by 1; end if display "SECURITY CONTROL FAILURES:"; display risk_count; display "UNVERIFIED CONTROLS:"; display unknown_count; if risk_count is equal to 0: display "No missing controls were recorded. This is not a certification or penetration test."; else: if risk_count is less than 4: display "RISK REVIEW: prioritize the failed controls and document compensating measures."; else: if risk_count is less than 8: display "RISK REVIEW: several baseline gaps exist; assign owners and due dates."; else: display "RISK REVIEW: broad baseline weakness; escalate for formal security review."; end if end if end if display "An unknown answer is not a pass. Verify policy and device evidence."; display "Do not make disruptive hardening changes without compatibility and change review."; end function # ----------------------------- Design review ------------------------------- define a function named architecture_review: let redundancy be 3; let single_points be 3; let addressing_plan be 3; let segmentation_plan be 3; let routing_policy be 3; let dhcp_dns_ha be 3; let wireless_capacity be 3; let uplink_capacity be 3; let poe_capacity be 3; let monitoring be 3; let backup_restore be 3; let recovery_test be 3; let failed be 0; display ""; display "================ NETWORK ARCHITECTURE REVIEW ================"; display "Record 1=designed and evidenced, 2=gap, 3=unknown/not applicable."; display "1. Redundant core/distribution or gateway path designed and tested?"; read redundancy; display "2. Single points of failure documented with accepted risk?"; read single_points; display "3. IP addressing, summarization, DHCP scopes, and IPv6 plan documented?"; read addressing_plan; display "4. VLAN/VRF/security-zone segmentation and allowed flows documented?"; read segmentation_plan; display "5. Routing policy, default routes, failover, and return path documented?"; read routing_policy; display "6. DHCP, DNS, and NTP availability/resilience planned?"; read dhcp_dns_ha; display "7. Wireless AP density, RF plan, roaming, and client capacity reviewed?"; read wireless_capacity; display "8. Uplink/bandwidth/oversubscription and QoS capacity reviewed?"; read uplink_capacity; display "9. PoE per-port and total switch power budgets have headroom?"; read poe_capacity; display "10. Monitoring, alert ownership, log retention, and service baselines defined?"; read monitoring; display "11. Encrypted configuration backups and tested restore process?"; read backup_restore; display "12. Disaster recovery, failover, and rollback exercised periodically?"; read recovery_test; if redundancy is equal to 2: increase failed by 1; end if if single_points is equal to 2: increase failed by 1; end if if addressing_plan is equal to 2: increase failed by 1; end if if segmentation_plan is equal to 2: increase failed by 1; end if if routing_policy is equal to 2: increase failed by 1; end if if dhcp_dns_ha is equal to 2: increase failed by 1; end if if wireless_capacity is equal to 2: increase failed by 1; end if if uplink_capacity is equal to 2: increase failed by 1; end if if poe_capacity is equal to 2: increase failed by 1; end if if monitoring is equal to 2: increase failed by 1; end if if backup_restore is equal to 2: increase failed by 1; end if if recovery_test is equal to 2: increase failed by 1; end if display "ARCHITECTURE GAPS RECORDED:"; display failed; display "Review the weakest domains first and attach evidence to each design decision."; display "A diagram should show L2 boundaries, L3 gateways, routing adjacencies, security zones, and failure domains."; display "Include ISP handoffs, HA links, controller paths, management network, and out-of-band access."; end function # ----------------------------- Main diagnostics ---------------------------- define a function named run_diagnostics: let vendor be 0; let model be "unknown"; let incident_ref be "unknown"; let device_name be "unknown"; let site_code be "unknown"; let hardware_revision be "unknown"; let software_release be "unknown"; let affected_interface be "unknown"; let device_kind be 0; let platform_role be 0; let impact be 0; let scope be 0; let recent_change be 0; let symptom be 0; let power be 3; let environment be 3; let physical be 3; let optics be 3; let vlan be 3; let stp_lacp be 3; let dhcp be 3; let addressing be 3; let gateway be 3; let arp_nd be 3; let routing be 3; let nat_policy be 3; let wan be 3; let public_ip be 3; let dns be 3; let mtu be 3; let latency_loss be 3; let wifi_rf be 3; let wifi_auth be 3; let wlan_services be 3; let poe be 3; let capacity be 3; let management be 3; let time_cert be 3; let firmware be 3; let security be 3; let logs be 3; let backup be 3; let ha be 3; let failed be 0; let unknown be 0; display ""; display "================ ADVANCED INCIDENT DIAGNOSTICS ============="; display "IDENTIFY THE DEVICE"; display "1 Cisco 2 MikroTik 3 Ubiquiti 4 TP-Link 5 D-Link 6 NETGEAR"; display "7 Aruba/HPE 8 Juniper 9 Fortinet 10 Palo Alto 11 Huawei"; display "12 Ruckus 13 Zyxel 14 Sophos 15 SonicWall 16 Extreme"; display "17 Check Point 18 Dell PowerSwitch 19 Other/ISP/OEM"; display "Manufacturer number:"; read vendor; display "Incident/change ticket reference (one token; use NONE if unavailable):"; read incident_ref; display "Device hostname/name (one token):"; read device_name; display "Site or location code (one token; do not enter street address):"; read site_code; display "Exact model identifier (one token, e.g. C9300-48P or RB5009):"; read model; display "Hardware revision (one token; use UNKNOWN if unavailable):"; read hardware_revision; display "Software release (one token; replace dots with underscores, e.g. IOSXE_17_9_4):"; read software_release; display "Affected interface/port (one token; use NONE if not applicable):"; read affected_interface; display "Device role: 1=router 2=switch 3=AP 4=firewall 5=modem/ONT 6=mesh 7=controller 8=VPN concentrator"; read device_kind; display "Network position: 1=edge/WAN 2=core 3=distribution 4=access 5=branch 6=data-centre 7=wireless"; read platform_role; display "Business impact: 1=low 2=medium 3=high/critical"; read impact; display "Incident scope: 1=single endpoint 2=one VLAN/AP/segment 3=multiple segments/site 4=multiple sites"; read scope; display "Recent configuration, cabling, power, provider, or firmware change? 1=yes 2=no 3=unknown"; read recent_change; display "Primary symptom: 1=no power 2=link down 3=no IP 4=gateway down 5=no internet 6=DNS"; display "7=Wi-Fi 8=slow/loss 9=VLAN 10=PoE 11=management 12=reboot/health 13=VPN 14=security alert"; read symptom; display ""; display "DEVICE SUMMARY"; display "Device name:"; display device_name; display "Incident reference:"; display incident_ref; display "Site code:"; display site_code; display "Model:"; display model; display "Hardware revision:"; display hardware_revision; display "Software release:"; display software_release; display "Affected interface:"; display affected_interface; display "Manufacturer code:"; display vendor; display "Device role code:"; display device_kind; display "Network position code:"; display platform_role; display "Impact code:"; display impact; display "Scope code:"; display scope; display "Recent change code:"; display recent_change; display "Symptom code:"; display symptom; call vendor_reference(vendor); call host_reference(); display ""; display "DEVICE ROLE-SPECIFIC FOCUS"; if device_kind is equal to 1: display "ROUTER: WAN handoff, route table, next-hop resolution, VRF, route protocol, NAT, DHCP/DNS relay, and failover."; end if if device_kind is equal to 2: display "SWITCH: port status, VLAN/PVID, trunk allow-list, MAC learning, STP, LACP, PoE, and broadcast rate."; end if if device_kind is equal to 3: display "ACCESS POINT: PoE/uplink, controller adoption, SSID, channel, RF utilization, authentication, client VLAN, and roaming."; end if if device_kind is equal to 4: display "FIREWALL: zones, policy order, object/service, route lookup, NAT, sessions, UTM profiles, VPN, HA, and packet path."; end if if device_kind is equal to 5: display "MODEM/ONT: sync state, optical/RF levels, line errors, WAN lease/PPPoE, bridge mode, alarms, and ISP handoff."; end if if device_kind is equal to 6: display "MESH: parent/child topology, backhaul RSSI/SNR, wired backhaul, channel reuse, roaming, and loop avoidance."; end if if device_kind is equal to 7: display "CONTROLLER: service health, DNS/NTP/certificates, site assignment, adoption queue, required egress, and backup."; end if if device_kind is equal to 8: display "VPN CONCENTRATOR: IKE/IPsec state, proposals, identities, selectors, routes, policy, NAT exemption, MTU/MSS, and HA."; end if display ""; display "================ LAYERED TEST EVIDENCE ======================"; display "Enter 1=PASS, 2=FAIL, 3=NOT TESTED/N/A. Use 3 rather than guessing."; display "L0/L1 - POWER AND PHYSICAL"; display "01. Power supply, UPS, PSU, power LED, and boot state normal?"; read power; display "02. Temperature, fans, environmental alarms, and chassis health normal?"; read environment; display "03. Relevant Ethernet/radio uplink and client links are operational?"; read physical; display "04. Optic/copper cable, fibre polarity, negotiated speed, and signal levels verified?"; read optics; display "L2 - SWITCHING AND WIRELESS ACCESS"; display "05. VLAN exists and access/trunk/PVID/tagged VLAN path is correct end-to-end?"; read vlan; display "06. STP topology, loop protection, LACP/LAG, and MAC learning stable?"; read stp_lacp; display "07. DHCP discover/offer/relay/scope/reservation path is healthy?"; read dhcp; display "08. Client/device IP, prefix, gateway, and IPv4/IPv6 configuration correct?"; read addressing; display "09. Default gateway interface and endpoint reachability are healthy?"; read gateway; display "10. ARP/IPv6 neighbour entries resolve to the expected MAC/interface?"; read arp_nd; display "L3/L4 - ROUTING, SECURITY, AND SERVICES"; display "11. Route lookup, next-hop, routing protocol, VRF, and return path are correct?"; read routing; display "12. Firewall policy, ACL, NAT/PAT, and session state permit the intended flow?"; read nat_policy; display "13. WAN/ISP handoff, modem/ONT sync, PPPoE/DHCP WAN lease, and upstream route healthy?"; read wan; display "14. Public IP connectivity from the affected endpoint and/or gateway succeeds?"; read public_ip; display "15. DNS resolver/forwarder and required A/AAAA/SRV records resolve correctly?"; read dns; display "16. Path MTU/MSS and fragmentation/PMTUD behaviour verified for affected traffic?"; read mtu; display "17. Latency, jitter, loss, throughput, interface drops, and retransmissions acceptable?"; read latency_loss; display "WIRELESS / POWER / CAPACITY"; display "18. Wi-Fi RSSI/SNR, channel use, retries, interference, and airtime healthy?"; read wifi_rf; display "19. SSID association, WPA/802.1X/RADIUS authentication, and client policy healthy?"; read wifi_auth; display "20. WLAN client VLAN assignment, DHCP, DNS, and gateway path healthy after association?"; read wlan_services; display "21. PoE standard/class, per-port allocation, total budget, and cable delivery healthy?"; read poe; display "22. CPU, memory, buffers, sessions, uplink capacity, and queue utilization healthy?"; read capacity; display "MANAGEMENT / SECURITY / OPERATIONS"; display "23. Management IP/VLAN/route/ACL/controller reachability healthy?"; read management; display "24. NTP/time, certificates, AAA/RADIUS, and management dependencies healthy?"; read time_cert; display "25. Firmware is supported, approved, and free of known relevant critical defects?"; read firmware; display "26. Security baseline, admin access, segmentation, and exposed services acceptable?"; read security; display "27. Logs, alarms, counters, and monitoring show no unexplained events?"; read logs; display "28. Current configuration backup exists and restore/rollback path is known?"; read backup; display "29. HA/stack/cluster/failover state and peer synchronization healthy where applicable?"; read ha; # Count recorded failures and unverified evidence. if power is equal to 2: increase failed by 1; end if if environment is equal to 2: increase failed by 1; end if if physical is equal to 2: increase failed by 1; end if if optics is equal to 2: increase failed by 1; end if if vlan is equal to 2: increase failed by 1; end if if stp_lacp is equal to 2: increase failed by 1; end if if dhcp is equal to 2: increase failed by 1; end if if addressing is equal to 2: increase failed by 1; end if if gateway is equal to 2: increase failed by 1; end if if arp_nd is equal to 2: increase failed by 1; end if if routing is equal to 2: increase failed by 1; end if if nat_policy is equal to 2: increase failed by 1; end if if wan is equal to 2: increase failed by 1; end if if public_ip is equal to 2: increase failed by 1; end if if dns is equal to 2: increase failed by 1; end if if mtu is equal to 2: increase failed by 1; end if if latency_loss is equal to 2: increase failed by 1; end if if wifi_rf is equal to 2: increase failed by 1; end if if wifi_auth is equal to 2: increase failed by 1; end if if wlan_services is equal to 2: increase failed by 1; end if if poe is equal to 2: increase failed by 1; end if if capacity is equal to 2: increase failed by 1; end if if management is equal to 2: increase failed by 1; end if if time_cert is equal to 2: increase failed by 1; end if if firmware is equal to 2: increase failed by 1; end if if security is equal to 2: increase failed by 1; end if if logs is equal to 2: increase failed by 1; end if if backup is equal to 2: increase failed by 1; end if if ha is equal to 2: increase failed by 1; end if if power is equal to 3: increase unknown by 1; end if if environment is equal to 3: increase unknown by 1; end if if physical is equal to 3: increase unknown by 1; end if if optics is equal to 3: increase unknown by 1; end if if vlan is equal to 3: increase unknown by 1; end if if stp_lacp is equal to 3: increase unknown by 1; end if if dhcp is equal to 3: increase unknown by 1; end if if addressing is equal to 3: increase unknown by 1; end if if gateway is equal to 3: increase unknown by 1; end if if arp_nd is equal to 3: increase unknown by 1; end if if routing is equal to 3: increase unknown by 1; end if if nat_policy is equal to 3: increase unknown by 1; end if if wan is equal to 3: increase unknown by 1; end if if public_ip is equal to 3: increase unknown by 1; end if if dns is equal to 3: increase unknown by 1; end if if mtu is equal to 3: increase unknown by 1; end if if latency_loss is equal to 3: increase unknown by 1; end if if wifi_rf is equal to 3: increase unknown by 1; end if if wifi_auth is equal to 3: increase unknown by 1; end if if wlan_services is equal to 3: increase unknown by 1; end if if poe is equal to 3: increase unknown by 1; end if if capacity is equal to 3: increase unknown by 1; end if if management is equal to 3: increase unknown by 1; end if if time_cert is equal to 3: increase unknown by 1; end if if firmware is equal to 3: increase unknown by 1; end if if security is equal to 3: increase unknown by 1; end if if logs is equal to 3: increase unknown by 1; end if if backup is equal to 3: increase unknown by 1; end if if ha is equal to 3: increase unknown by 1; end if display ""; display "================ INCIDENT EVIDENCE SUMMARY =================="; display "Device name:"; display device_name; display "Site code:"; display site_code; display "Device model:"; display model; display "Hardware revision:"; display hardware_revision; display "Software release:"; display software_release; display "Affected interface:"; display affected_interface; display "Failed checks:"; display failed; display "Unknown/not tested checks:"; display unknown; display severity_text(failed); display "Individual test states:"; display "Power:"; display status_text(power); display "Environment:"; display status_text(environment); display "Physical link:"; display status_text(physical); display "Optics/cabling:"; display status_text(optics); display "VLAN:"; display status_text(vlan); display "STP/LACP/MAC learning:"; display status_text(stp_lacp); display "DHCP:"; display status_text(dhcp); display "IP addressing:"; display status_text(addressing); display "Gateway:"; display status_text(gateway); display "ARP/IPv6 neighbour:"; display status_text(arp_nd); display "Routing/VRF:"; display status_text(routing); display "Firewall/NAT:"; display status_text(nat_policy); display "WAN/ISP:"; display status_text(wan); display "Public IP reachability:"; display status_text(public_ip); display "DNS:"; display status_text(dns); display "MTU/MSS:"; display status_text(mtu); display "Latency/loss/performance:"; display status_text(latency_loss); display "Wi-Fi RF:"; display status_text(wifi_rf); display "Wi-Fi authentication:"; display status_text(wifi_auth); display "WLAN client services:"; display status_text(wlan_services); display "PoE:"; display status_text(poe); display "Capacity/resources:"; display status_text(capacity); display "Management plane:"; display status_text(management); display "Time/certificates/AAA:"; display status_text(time_cert); display "Firmware:"; display status_text(firmware); display "Security baseline:"; display status_text(security); display "Logs/monitoring:"; display status_text(logs); display "Backup/rollback:"; display status_text(backup); display "HA/failover:"; display status_text(ha); display ""; display "================ PROBABLE FAULT ISOLATION ==================="; if power is equal to 2: display "PRIORITY 1 - POWER/BOOT: verify approved PSU, UPS, feed, PoE source, and boot alarms."; display "Do not continue to config changes until power stability is established."; end if if environment is equal to 2: display "ENVIRONMENT: inspect temperature, airflow, fan/PSU alarms, rack conditions, and sensor history."; end if if physical is equal to 2 or optics is equal to 2: display "LAYER 1: test known-good cable/port/optic; inspect speed, duplex, polarity, light levels, CRC/FCS, and admin state."; display "Record counters before clearing them; compare both ends of the link."; end if if vlan is equal to 2 or stp_lacp is equal to 2: display "LAYER 2: trace the entire switched path; compare VLAN/PVID/native/allowed lists and LAG member settings."; display "Inspect STP root/roles, topology changes, loop events, MAC movement, and broadcast/multicast rates."; end if if dhcp is equal to 2: display "DHCP: verify DORA packet path, server scope utilization, relay/helper, VLAN reachability, and rogue DHCP."; end if if addressing is equal to 2 or arp_nd is equal to 2: display "ADDRESS/NEIGHBOUR: verify prefix, duplicate addresses, gateway, ARP/ND state, SVI, and subnet overlap."; end if if gateway is equal to 2: display "GATEWAY: inspect local VLAN, gateway SVI/interface, ARP/ND, ACL, port isolation, and VRF selection."; end if if routing is equal to 2: display "ROUTING: inspect longest-prefix route, next-hop recursion, route policy, protocol adjacency, VRF, and return path."; end if if nat_policy is equal to 2: display "SECURITY/POLICY: trace ingress zone, rule order/hit count, object/service, NAT, session, egress, and return traffic."; end if if wan is equal to 2: display "WAN/ISP: check handoff/link, optical/RF/DSL status, PPPoE/DHCP lease, provider gateway, and service outage."; end if if gateway is equal to 1 and public_ip is equal to 2: display "UPSTREAM PATH: local gateway responds but public IP fails; inspect route, NAT, policy, WAN next hop, ISP, and return path."; end if if public_ip is equal to 1 and dns is equal to 2: display "DNS: IP path works but name resolution fails; compare client resolver, DHCP DNS option, forwarder, recursion, authoritative data, split DNS, and TCP/UDP 53."; end if if dns is equal to 2 and public_ip is equal to 3: display "DNS: record name-resolution failure, but first establish whether the public IP path is available."; end if if mtu is equal to 2: display "MTU: test path MTU and ICMP fragmentation-needed handling; inspect tunnel overhead and TCP MSS clamping."; end if if latency_loss is equal to 2: display "PERFORMANCE: compare local/remote and wired/wireless; inspect queue drops, errors, congestion, retransmits, CPU, and path hops."; end if if wifi_rf is equal to 2: display "RF: inspect channel utilization, co-channel interference, retries, width, transmit power, client location, and AP density."; end if if wifi_auth is equal to 2: display "AUTHENTICATION: inspect WPA mode, PSK policy, RADIUS reachability, EAP/certificate validity, time, and reject reason."; end if if wlan_services is equal to 2: display "POST-ASSOCIATION: inspect SSID-to-VLAN mapping, DHCP relay/scope, DNS, gateway, and client isolation/ACL."; end if if poe is equal to 2: display "PoE: compare PD class and demand with per-port and system budget; inspect cable and PSE fault counters."; end if if capacity is equal to 2: display "CAPACITY: inspect CPU/memory/session/buffer utilization, interface saturation, queue drops, and oversubscribed links."; end if if management is equal to 2: display "MANAGEMENT: test management VLAN/IP/route/ACL, controller service, DNS/NTP, and required control-plane ports."; display "Data plane may continue forwarding while the management plane is unreachable."; end if if time_cert is equal to 2: display "TIME/IDENTITY: verify NTP, certificate chain/expiry, AAA, RADIUS, LDAP, and identity-provider reachability."; end if if firmware is equal to 2: display "FIRMWARE: confirm exact hardware revision, supported release, advisories, upgrade prerequisites, and rollback image."; end if if security is equal to 2: display "SECURITY: review management exposure, accounts/MFA, insecure services, segmentation, rule policy, and logs."; end if if logs is equal to 2: display "OBSERVABILITY: collect event timestamps, system logs, interface deltas, crash data, alerts, and monitoring gaps."; end if if backup is equal to 2: display "RECOVERY: create/validate an approved configuration backup before any planned change."; end if if ha is equal to 2: display "HIGH AVAILABILITY: inspect peer state, sync, heartbeat, split-brain protection, failover path, and recent role changes."; end if display ""; display "================ INCIDENT PRIORITIZATION ===================="; if impact is equal to 3 or scope is greater than 2: display "Escalation: high business impact or broad scope. Notify the service owner/NOC and preserve evidence."; end if if recent_change is equal to 1: display "Change correlation: compare the last known-good state and recent config/cabling/provider/firmware changes."; end if if scope is equal to 1: display "Single endpoint: compare a known-good endpoint on the same port/VLAN and the affected endpoint elsewhere."; end if if scope is equal to 2: display "Single segment: inspect shared AP, switch, VLAN gateway, DHCP scope, and local policy."; end if if scope is equal to 3 or scope is equal to 4: display "Multiple segments/sites: prioritize shared core, WAN, DNS/DHCP, authentication, provider, and change events."; end if if symptom is equal to 13: display "VPN-SPECIFIC: verify IKE/IPsec negotiation separately from routed application traffic and selectors."; display "Check tunnel route, security policy, NAT exemption, rekey events, MTU/MSS, and return path."; end if if symptom is equal to 14: display "SECURITY-ALERT: preserve relevant logs and timestamps; identify source, destination, protocol, rule, and scope."; display "Do not assume an alert proves compromise. Validate telemetry, asset ownership, and corroborating evidence."; display "Follow the organization's incident-response and evidence-handling procedure."; end if display "A failed check is a lead, not proof of a root cause. Confirm with independent evidence."; display "A NOT TESTED result is unknown, not healthy."; end function # -------------------------------- Main menu --------------------------------- let menu_choice be 1; display "=============================================================="; display " NETWORK DIAGNOSTICS AND TRAINING ACADEMY"; display "=============================================================="; display "Read-only guided troubleshooting, operator training, and design review."; while menu_choice is greater than 0: display ""; display "MAIN MENU"; display "1 = Advanced incident diagnostics"; display "2 = Network engineering training academy + quiz"; display "3 = Troubleshooting scenario laboratory"; display "4 = Vendor/platform command reference"; display "5 = Network security baseline audit"; display "6 = Network architecture and resilience review"; display "0 = Exit"; display "Select module:"; read menu_choice; if menu_choice is equal to 1: call run_diagnostics(); end if if menu_choice is equal to 2: call training_academy(); end if if menu_choice is equal to 3: call scenario_lab(); end if if menu_choice is equal to 4: let vendor_choice be 0; display "Vendor code: 1 Cisco 2 MikroTik 3 Ubiquiti 4 TP-Link 5 D-Link 6 NETGEAR"; display "7 Aruba 8 Juniper 9 Fortinet 10 Palo Alto 11 Huawei 12 Ruckus"; display "13 Zyxel 14 Sophos 15 SonicWall 16 Extreme 17 Check Point 18 Dell 19 Other"; read vendor_choice; call vendor_reference(vendor_choice); end if if menu_choice is equal to 5: call security_audit(); end if if menu_choice is equal to 6: call architecture_review(); end if if menu_choice is less than 0 or menu_choice is greater than 6: display "Invalid menu selection."; end if end while display ""; display "SESSION CLOSED."; display "This application records operator-supplied observations only."; display "Do not paste credentials, private keys, tokens, or unredacted packet captures.";
# ============================================================================
# NETWORK DEVICE DIAGNOSTICS AND TRAINING ACADEMY
# Advanced edition for EnglishLike 2.2
# ============================================================================
# PURPOSE
# Guided, structured, multi-vendor troubleshooting and operator training.
# Supports routers, L2/L3 switches, wireless APs/controllers, firewalls,
# modems/ONTs, mesh systems, VPN gateways, and managed infrastructure.
#
# IMPORTANT CAPABILITY BOUNDARY
# EnglishLike 2.2 has no native sockets, ICMP, SNMP, SSH, HTTP, REST, packet
# capture, vendor API, serial console, or shell-execution operations.
# This application DOES NOT scan, connect to, configure, reboot, or modify
# network devices. The operator executes the displayed vendor/workstation
# commands separately and enters observed results. Use the read-only checks
# first. Configuration changes require authorization, a backup, a change
# record, an approved maintenance window, and a rollback plan.
#
# OFFICIAL REFERENCE STARTING POINTS (verify the exact model/release)
# MikroTik RouterOS diagnostics: https://manual.mikrotik.com/docs/diagnostics-monitoring-and-troubleshooting/
# Juniper Junos operational commands: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/topic-map/junos-operational-mode-commands-monitoring.html
# FortiOS troubleshooting: https://docs.fortinet.com/document/fortigate/7.6.6/administration-guide/321075/troubleshooting-methodologies
# PAN-OS networking CLI: https://docs.paloaltonetworks.com/ngfw/pan-os-cli-quick-start/cli-cheat-sheet-networking
# Aruba AOS-CX CLI: https://www.arubanetworks.com/techdocs/AOS-CX/10.14/PDF/cli_6300-6400.pdf
# These are references, not proof that every listed command exists on every model.
#
# INPUT CONVENTIONS
# All menu/status answers are one numeric token.
# Status: 1 = PASS/healthy, 2 = FAIL/unhealthy, 3 = NOT TESTED or N/A.
# Model identifier: one token only; do not include spaces or dotted versions.
# Vendor CLI syntax varies by product family, hardware revision, and release.
#
# APPLICATION MODULES
# 1. Advanced incident diagnostics and fault isolation
# 2. Network engineering training academy and quizzes
# 3. Troubleshooting scenario laboratory
# 4. Vendor/platform command reference
# 5. Network security baseline audit
# 6. Network architecture and resilience review
# 0. Exit
# ============================================================================
# ------------------------------ Core helpers -------------------------------
define a function named status_text taking status as number:
if status is equal to 1:
give back "PASS / HEALTHY";
else:
if status is equal to 2:
give back "FAIL / UNHEALTHY";
else:
if status is equal to 3:
give back "NOT TESTED / NOT APPLICABLE";
else:
give back "INVALID STATUS - EXPECT 1, 2, OR 3";
end if
end if
end if
end function
define a function named severity_text taking failures as number:
if failures is equal to 0:
give back "NO FAILED CHECKS RECORDED";
else:
if failures is less than 3:
give back "LOW - FEW OBSERVED FAILURES";
else:
if failures is less than 7:
give back "MODERATE - MULTIPLE FAULT DOMAINS";
else:
give back "HIGH - BROAD OR SYSTEMIC FAILURE POSSIBLE";
end if
end if
end if
end function
# ------------------------- Vendor command reference ------------------------
define a function named vendor_reference taking vendor as number:
display "";
display "================ VENDOR / PLATFORM REFERENCE ================";
if vendor is equal to 1:
display "CISCO IOS / IOS XE / CATALYST - EXEC / PRIVILEGED EXEC";
display "show version";
display "show inventory";
display "show platform";
display "show ip interface brief";
display "show interfaces status";
display "show interfaces counters errors";
display "show vlan brief";
display "show interfaces trunk";
display "show spanning-tree detail";
display "show etherchannel summary";
display "show mac address-table dynamic";
display "show ip arp";
display "show ip route";
display "show ip ospf neighbor";
display "show ip bgp summary";
display "show ip dhcp binding";
display "show power inline";
display "show logging";
display "show processes cpu sorted";

Xet Storage Details

Size:
84.5 kB
·
Xet hash:
2570f0890560bc3cae26caf718ca46ca7aebac880ebd4b8fc5d5bd708d593ba8

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.