[...]... 19 2 .16 8 .10 0 .11 1 7 ( 011 1) 19 2 .16 8 .10 0 .11 2 19 2 .16 8 .10 0 .11 3– 19 2 .16 8 .10 0 .12 6 19 2 .16 8 .10 0 .12 7 8 (10 00) 19 2 .16 8 .10 0 .12 8 19 2 .16 8 .10 0 .12 9– 19 2 .16 8 .10 0 .14 2 19 2 .16 8 .10 0 .14 3 9 (10 01) 19 2 .16 8 .10 0 .14 4 19 2 .16 8 .10 0 .14 5– 19 2 .16 8 .10 0 .15 8 19 2 .16 8 .10 0 .15 9 10 (10 10) 19 2 .16 8 .10 0 .16 0 19 2 .16 8 .10 0 .16 1– 19 2 .16 8 .10 0 .17 4 19 2 .16 8 .10 0 .17 5 11 (10 11) 19 2 .16 8 .10 0 .17 6 19 2 .16 8 .10 0 .17 7– 19 2 .16 8 .10 0 .19 0 19 2 .16 8 .10 0 .19 1 12 (11 00) 19 2 .16 8 .10 0 .19 2... (00 01) 19 2 .16 8 .10 0 .16 19 2 .16 8 .10 0 .17 – 19 2 .16 8 .10 0.30 19 2 .16 8 .10 0. 31 2 (0 010 ) 19 2 .16 8 .10 0.32 19 2 .16 8 .10 0.33– 19 2 .16 8 .10 0.46 19 2 .16 8 .10 0.47 3 (0 011 ) 19 2 .16 8 .10 0.48 19 2 .16 8 .10 0.49– 19 2 .16 8 .10 0.62 19 2 .16 8 .10 0.63 4 ( 010 0) 19 2 .16 8 .10 0.64 19 2 .16 8 .10 0.65– 19 2 .16 8 .10 0.78 19 2 .16 8 .10 0.79 5 ( 010 1) 19 2 .16 8 .10 0.80 19 2 .16 8 .10 0. 81 19 2 .16 8 .10 0.94 19 2 .16 8 .10 0.95 6 ( 011 0) 19 2 .16 8 .10 0.96 19 2 .16 8 .10 0.97– 19 2 .16 8 .10 0 .11 0 19 2 .16 8 .10 0 .11 1... 18 7 = 10 111 011 = 12 8+32 +16 +8+2 +1 224 = 11 100000 = 12 8+64+32 To convert a binary number into decimal, you must add the bits that have been turned on (the 1s), as follows: 10 1 010 10 = 12 8+32+8+2 = 17 0 11 110 000 = 12 8+64+32 +16 = 240 The IP address 13 8 .10 1 .11 4.250 is represented in binary as 10 0 010 10. 011 0 010 1. 011 10 010 .11 111 010 The subnet mask of 255.255.255 .19 2 is represented in binary as 11 111 111 .11 111 111 .11 111 111 .11 000000... 19 2 .16 8 .10 0 .19 1 12 (11 00) 19 2 .16 8 .10 0 .19 2 19 2 .16 8 .10 0 .19 3– 19 2 .16 8 .10 0.206 19 2 .16 8 .10 0.207 13 (11 01) 19 2 .16 8 .10 0.208 19 2 .16 8 .10 0.209– 19 2 .16 8 .10 0.222 19 2 .16 8 .10 0.223 14 (11 10) 19 2 .16 8 .10 0.224 19 2 .16 8 .10 0.225– 19 2 .16 8 .10 0.238 19 2 .16 8 .10 0.239 Subnet 7 8 Subnetting a Class B Network Using Binary 15 (11 11) invalid 19 2 .16 8 .10 0.240 19 2 .16 8 .10 0.2 41 19 2 .16 8 .10 0.254 19 2 .16 8 .10 0.255 Quick Check Always an even... 00 010 000.00000000 = 16 .0 Subnetwork number 00 010 000.000000 01 = 16 .1 First valid host number 00 011 111 .11 111 110 = 31. 254 Last valid host number 00 011 111 .11 111 111 = 31. 255 Broadcast number Step 4 Determine the second valid subnet in binary (without using decimal points) 0 010 HHHHHHHHHHHH 0 010 000000000000 Subnet number 0 010 0000000000 01 First valid host 0 010 111 111 111 110 Last valid host 0 010 111 111 111 111 ... Calculate the subnet mask The default subnet mask for a Class C network is as follows: Decimal Binary 255.255.255.0 11 111 111 .11 111 111 .11 111 111 .00000000 1 = Network or subnetwork bit 0 = Host bit You borrowed 4 bits; therefore, the new subnet mask is the following: 11 111 111 .11 111 111 .11 111 111 .11 110 000 255.255.255.240 NOTE: You subnet a Class B or a Class A network with exactly the same steps as for a Class... 0 011 HHHH Third valid subnet 0 011 0000 = 48 Subnetwork number 0 011 00 01 = 49 First valid host number 0 011 111 0 = 62 Last valid host number 0 011 111 1 = 63 Broadcast number Subnetting a Class C Network Using Binary Step 8 Finish the IP plan table Network Address (0000) Range of Valid Hosts (00 01 11 10) Broadcast Address (11 11) 0 (0000) invalid 19 2 .16 8 .10 0.0 19 2 .16 8 .10 0 .1 19 2 .16 8 .10 0 .14 19 2 .16 8 .10 0 .15 1. .. Security 11 0 Verifying Switch Port Security 11 1 Sticky MAC Addresses 11 2 Configuration Example 11 3 10 8 Chapter 12 VLANs 11 7 Creating Static VLANs 11 7 Using VLAN Configuration Mode 11 7 Using VLAN Database Mode 11 8 Assigning Ports to VLANs 11 8 Using the range Command 11 9 Verifying VLAN Information 11 9 Saving VLAN Configurations 11 9 Erasing VLAN Configurations 12 0 Configuration Example: VLANs 12 1 Chapter 13 ... them into N bits Start with 16 H bits HHHHHHHHHHHHHHHH (Remove the decimal point for now) Borrow 4 bits NNNNHHHHHHHHHHHH Subnetting a Class B Network Using Binary Step 2 Determine the first valid subnet in binary (without using decimal points) 0001HHHHHHHHHHHH 00 010 00000000000 Subnet number 00 010 000000000 01 First valid host 00 011 111 111 111 10 Last valid host 00 011 111 111 111 11 Broadcast number Step 3 Convert... binary 0001HHHH Cannot use subnet 0000 because it is invalid Therefore, you must start with the bit pattern of 00 01 00 010 000 All 0s in host portion = subnetwork number 00 010 0 01 First valid host number 00 011 110 Last valid host number 00 011 111 All 1s in host portion = broadcast number Step 3 Convert binary to decimal 00 010 000 = 16 Subnetwork number 00 010 0 01 = 17 First valid host number 00 011 110 = 30 . 11 1 Sticky MAC Addresses 11 2 Configuration Example 11 3 Chapter 12 VLANs 11 7 Creating Static VLANs 11 7 Using VLAN Configuration Mode 11 7 Using VLAN Database Mode 11 8 Assigning Ports to VLANs 11 8 Using. USA Cisco Press CCNA Portable Command Guide Second Edition Scott Empson ii CCNA Portable Command Guide, Second Edition Scott Empson Copyright© 2008 Cisco Systems, Inc. Published by: Cisco Press 800. Switching 10 3 Chapter 11 Configuring a Switch 10 5 Help Commands 10 5 Command Modes 10 5 xiv Verifying Commands 10 6 Resetting Switch Configuration 10 7 Setting Host Names 10 7 Setting Passwords 10 7 Setting