Archives :

  • Cisco – Spanning Tree

    —-Spanning treeBride ID = Priority.MACIF LINK COST = SameHIGHER BRIDGE ID switches port is blockedUnder show spanning-treeroot id = information about root bridgebridge id = current device//set spanning-tree priorityconf tspanning-tree vlan 1 priority //ORspanning-tree vlan 1 root primary//portfast is used for ports that connect computers + router, stops a port from blocking.// DO NOT USE […]

    READ MORE
  • Cisco – VTP (VLAN Trunking Protocol)

    ———VTPNOTE: //200/300 PC’s per broadcast domain. //configure trunk ports between switches. Required for VTP traffic//also required to send packets out the same vlan on another switchint fa0/1//may need encapsulation setswitport trunk encapsulation dot1q//set port to trunkswitchport mode trunk//configure ports that will have pc’s plugged inint range fa0/1 – 24switchport mode accessconf tvtp domain [name]vtp password […]

    READ MORE
  • Cisco – OSPF

    —–OSPFrouter ospf [process ID] ! CAN Be DIFFERENT to a neighbour]network [ip] [wildcard] area [X] !’TURN ON FOR THIS INT, “ADVERTISE THIS LINK” 0 is backbone [router with with default route to share]conf trouter osfp [Process ID]default-information originate summary routesrouter ospf [process]network [ip] wilcard area 1 ‘setting up the router as an ABR, where the […]

    READ MORE
  • Cisco EIGRP / NAT

    —–EIGRProuter eigrp [instance number]network [ip] [wildcard] – Turn on for interfaceno auto-summary – stop guessing classful subnets from different networks[Interface to send new summary route out]ip summary-address eigrp [instance] [ip network] [subnet] ——NAT overload (PAT)ip nat inside – label the interfacesip nat outside -Label the interfacesip access-list standard NAT_ADDRESSESpermit [ip] [wildcard] anyip nat inside source […]

    READ MORE
  • Cisco Telnet / ACL’s / Extended Established

    ——–Using Telnetcontrol + shift + 6 Then X= Suspend telnet sessionresume 1enter on blank line, resumes recent sessiondisconnect – kills your open telnet sessionclear line = disconnect user on your router ——-Standard Access lists ACL (Applied closest to destination)access-list [0-99] permit [ip address] [wildcard]int s0/0access-group [number] [in/out]——-Extended ACcess lists ACLaccess-list [100-199] permit/deny [ip/tcp/UDP] [sourceIp] [wildcard] […]

    READ MORE
  • Cisco Header compression Configuration

    You can drop the header bytes from 40Bytes to 2-4 Bytes! Considering that your audio is only 8kb for G.729. Must be enabled on both sides of the link.RTP runs ontop of the UDP protocol. conf t class-map [NAME]match protocol rtp policy-map [POLICY]class [NAME]compression header ip rtp Interface Gi0/0service-policy [POLICY] out

    READ MORE
  • Cisco Notes Basic

    ———SHOW commandsshow ip dhcp bindingshow mac-addressshow ip routeshow ip protocols – what routing protocols runningshow ip nat translations – NAt mappingsshow sessions – open telnet sessionsshow users – connected to your routershow lineshow cdp neighbourshow cdp neighbour detailshow cdp entry or *show access-listshow ip eigrp neighboursshow frame-relay lmishow frame-relay mapshow frame-relay pvcshow ip ospf neighbourshow […]

    READ MORE
  • Cisco Web Interface HTTPS / RIP / SSH

    ———Configure SDMconf tip domain-namecrypto key generate rsa general-keysip http serverip http secure-serverusername privilege 15 passwordip http auth localline vty 0 4login local ——–RIP router protocolrouter ripversion 2network (Which int to send broadcast, which ones to peer)no auto-summary – dont sumarize a classful subnet mask ———-typos resolve to a dns server, gets anoyyingconf tno ip domain-lookup […]

    READ MORE
  • AWS – Notes

    —VPC Can peer 1 VPC with another using private IP addresses. Must peer directly with VPC no hopping Can have 5 VPC’s per region Network Access control lists are stateless unlike security groups which are stateful. You can only assign 1 internet gateway to a VPC Security groups do not span VPC’s //Route tables -> […]

    READ MORE
  • AWS

    ————————-Athena code Select * from cloudtrail_logs where eventname=’ListSubscriptionsByTopic’; —————Advanced Routing Network ACL’s on a Subnet are stateless Security groups can be used as a source Security groups are stateful on EC2’s ——-NAT Gateways vs Internet Gateways A NAT Gateway provides internet for multiple Private IP’s on EC2’s The route table needs an entry for 0.0.0.0 -> […]

    READ MORE