Fundamentals
| Class | First Octet Range | Valid Network Numbers* | Total Number for This Class of Network | Number of Hosts Per Network |
|---|---|---|---|---|
| A | 1 to 126 | 1.0.0.0 to 126.0.0.0 | 27–2 (126) | 224–2 (16,777,214) |
| B | 128 to 191 | 128.1.0.0 to 191.254.0.0 | 214 (16,384) | 216–2 (65,534) |
| C | 192 to 223 | 192.0.1.0 to 223.255.254.0 | 221 (2,097,152) | 28–2 (254) |
| Port Number | Protocol | Application |
|---|---|---|
| 20 | TCP | FTP data |
| 21 | TCP | FTP control |
| 22 | TCP | SSH |
| 23 | TCP | Telnet |
| 25 | TCP | SMTP |
| 53 | UDP, TCP | DNS |
| 67, 68 | UDP | DHCP |
| 69 | UDP | TFTP |
| 80 | TCP | HTTP (WWW) |
| 110 | TCP | POP3 |
| 161 | UDP | SNMP |
| 443 | TCP | SSL |
| 16,384–32,767 | UDP | RTP-based Voice (VoIP) and Video |
LAN Switching
| Feature | Hub | Switch | Router |
|---|---|---|---|
| Greater cabling distances are allowed | Yes | Yes | Yes |
| Creates multiple collision domains | No | Yes | Yes |
| Increases bandwidth | No | Yes | Yes |
| Creates multiple broadcast domains | No | No | Yes |
| Prompt | Name of Mode | Context-setting Command(s) to Reach This Mode |
|---|---|---|
| hostname(config)# | Global | None—first mode after configure terminal |
| hostname(config-line)# | Line | line console 0line vty 0 15 |
| hostname(config-if)# | Interface | interface type number |
SSH configuration steps on a Cisco IOS-based switch:
|
Step 1.
|
|
|
Step 2.
|
|
|
Step 3.
|
Add one or more username name password pass-value global configuration commands to configure username/password pairs.
|
|
Step 4.
|
Configure a DNS domain name with the ip domain-name name global configuration command.
|
|
Step 5.
|
|
|
Step 6.
|
Cisco IOS switch configuration steps for IP connectivity:
|
Step 1.
|
Enter VLAN 1 configuration mode using the interface vlan 1 global configuration command (from any config mode).
|
|
Step 2.
|
|
|
Step 3.
|
|
|
Step 4.
|
Add the ip default-gateway ip-address global command to configure the default gateway.
|
| Option on the switchport port-security violation Command | Protect | Restrict | Shut Down* |
|---|---|---|---|
| Discards offending traffic | Yes | Yes | Yes |
| Sends log and SNMP messages | No | Yes | Yes |
| Disables the interface, discarding all traffic | No | No | Yes |
| Feature | 802.11a | 802.11b | 802.11g |
|---|---|---|---|
| Year ratified | 1999 | 1999 | 2003 |
| Maximum speed using DSSS | — | 11 Mbps | 11 Mbps |
| Maximum speed using OFDM | 54 Mbps | — | 54 Mbps |
| Frequency band | 5 GHz | 2.4 GHz | 2.4 GHz |
| Channels (nonoverlapped)* | 23 (12) | 11 (3) | 11 (3) |
| Speeds required by standard (Mbps) | 6, 12, 24 | 1, 2, 5.5, 11 | 6, 12, 24 |
| Frequency Range | Name | Sample Devices |
|---|---|---|
| 900 KHz | Industrial, Scientific, Mechanical (ISM) | Older cordless telephones |
| 2.4 GHz | ISM | Newer cordless phones and 802.11, 802.11b, 802.11g WLANs |
| 5 GHz | Unlicensed National Information Infrastructure (U-NII) | Newer cordless phones and 802.11a, 802.11n WLANs |
| Name of Encoding Class | What It Is Used By |
|---|---|
| Frequency Hopping Spread Spectrum (FHSS) | 802.11 |
| Direct Sequence Spread Spectrum (DSSS) | 802.11b |
| Orthogonal Frequency Division Multiplexing (OFDM) | 802.11a, 802.11g |
| IEEE Standard | Maximum Speed (Mbps) | Other Speeds* (Mbps) | Frequency | Nonoverlapping Channels |
|---|---|---|---|---|
| 802.11b | 11 Mbps | 1, 2, 5.5 | 2.4 GHz | 3 |
| 802.11a | 54 Mbps | 6, 9, 12, 18, 24, 36, 48 | 5 GHz | 12 |
| 802.11g | 54 Mbps | Same as 802.11a | 2.4 GHz | 3 |
| Vulnerability | Solution |
|---|---|
| War drivers | Strong authentication |
| Hackers stealing information in a WLAN | Strong encryption |
| Hackers gaining access to the rest of the network | Strong authentication |
| Employee AP installation | Intrusion Detection Systems (IDS), including Cisco SWAN |
| Rogue AP | Strong authentication, IDS/SWAN |
| Name | Year | Who Defined It |
|---|---|---|
| Wired Equivalent Privacy (WEP) | 1997 | IEEE |
| The interim Cisco solution while awaiting 802.11i | 2001 | Cisco, IEEE 802.1x Extensible Authentication Protocol (EAP) |
| Wi-Fi Protected Access (WPA) | 2003 | Wi-Fi Alliance |
| 802.11i (WPA2) | 2005+ | IEEE |
| Standard | Key Distribution | Device Authentication | User Authentication | Encryption |
|---|---|---|---|---|
| WEP | Static | Yes (weak) | None | Yes (weak) |
| Cisco | Dynamic | Yes | Yes (802.1x) | Yes (TKIP) |
| WPA | Both | Yes | Yes (802.1x) | Yes (TKIP) |
| 802.11i (WPA2) | Both | Yes | Yes (802.1x) | Yes (AES) |
IP Routing
| Feature | IPv4 | IPv6 |
|---|---|---|
| Size of address (bits or bytes per octet) | 32 bits, 4 octets | 128 bits, 16 octets |
| Example address | 10.1.1.1 | 0000:0000:0000:0000:FFFF:FFFF: 0A01:0101 |
| Same address, abbreviated | — | ::FFFF:FFFF:0A01:0101 |
| Number of possible addresses, ignoring reserved values | 232, (roughly 4 billion) | 2128, or roughly 3.4 x 1038 |
| Feature | Classless | Classful |
|---|---|---|
| Supports VLSM | Yes | No |
| Sends subnet mask in routing updates | Yes | No |
| Supports manual route summarization | Yes | No |
| Feature | RIP-1 | RIP-2 | EIGRP | OSPF | IS-IS |
|---|---|---|---|---|---|
| Classless | No | Yes | Yes | Yes | Yes |
| Supports VLSM | No | Yes | Yes | Yes | Yes |
| Sends mask in update | No | Yes | Yes | Yes | Yes |
| Distance vector | Yes | Yes | No1 | No | No |
| Link-state | No | No | No1 | Yes | Yes |
| Supports autosummarization | No | Yes | Yes | No | No |
| Supports manual summarization | No | Yes | Yes | Yes | Yes |
| Proprietary | No | No | Yes | No | No |
| Routing updates sent to a multicast IP address | No | Yes | Yes | Yes | N/A |
| Supports authentication | No | Yes | Yes | Yes | Yes |
| Convergence | Slow | Slow | Very fast | Fast | Fast |
| Route Source | Administrative Distance |
|---|---|
| Connected routes | 0 |
| Static routes | 1 |
| EIGRP | 90 |
| IGRP | 100 |
| OSPF | 110 |
| IS-IS | 115 |
| RIP (V1 and V2) | 120 |
| Unknown or unbelievable | 255 |
WAN
| Feature | Circuits | Packet Switching |
|---|---|---|
| Service implemented as OSI layer . . . | 1 | 2 |
| Point-to-point (two devices) or more | Point-to-point | Multipoint (more than two) |
Steps to configure HDLC:
|
Step 1.
|
|
|
Step 2.
|
|
|
Step 3.
|
Advertisement