Home > Preview
The flashcards below were created by user
on FreezingBlue Flashcards.
How does Cisco IOS Software designate a subnet in the routing table as a directly connected network? What about a route learned with RIP?
The “show ip route” command lists routes with a designator on the left side of the command output. C represents connected routes, I is used for IGRP, and R represents routes derived from RIP.
Imagine that a router has an interface E0 with IP address 184.108.40.206 and an interface E1 with IP address 10.1.1.1. If the commands “router rip” and “network 10.0.0.0”, with no other network commands, are configured in the router, does RIP send updates out E0?
No. There must be a network statement for network 220.127.116.11 before RIP advertises out that interface. The network command simply selects the connected interfaces on which to send and receive updates.
Which command lists all the IP routes learned via RIP?
The “show ip route rip” command lists only RIP-learned routes.
Which command or commands list all IP routes in network 172.16.0.0?
The “show ip route 172.16.0.0” command lists all the routes in 172.16.0.0. Also, the “show ip route list 1” command lists routes in network 172.16.0.0 assuming that the “access-list 1 permit 172.16.0.0 0.0.255.255” configuration command also exists.
What are the primary purposes of Flash memory in a Cisco router?
To store Cisco IOS and microcode files. If microcode is upgraded, the files also reside in Flash memory.
What is the main purpose of ROM in a Cisco router?
To store a small, limited-function version of IOS and to store bootstrap code. Typically, this type of IOS is used only during maintenance or emergencies.
What configuration command would be needed to cause a router to use a Cisco IOS image named c2500-j-l.112-14.bin on TFTP server 18.104.22.168 when the router is reloaded? If you forgot the first parameter of this command, what steps must you take to learn the correct parameters and add the command to the configuration? (Assume that you are not logged in to the router when you start.)
- “boot system tftp c2500-j-l.112-14.bin 22.214.171.124”
- As for the second part of the question: Log in from con/aux/telnet, type the enable command, type the enable password, type the configure terminal command, and type boot ?. Help appears for the first parameter of the boot command.
What two methods could a router administrator use to cause a router to load IOS stored in ROM?
Set the configuration register boot field to binary 0001, or add boot system rom to the configuration file and copy it to the startup configuration file. To set the configuration register to hex 2101, which would yield binary 0001 in the boot field, the “config-register 0x2101” global configuration command would be used. A third method is to remove the Flash memory in a router and then reload the router.
What is the process used to update the contents of Flash memory so that a new IOS image in a file called c4500-d-mz.120-5.bin on TFTP server 126.96.36.199 is copied into Flash memory?
- “copy tftp flash”
- The other details—namely, the IP address of the TFTP server and the filename—are requested through prompts to the user.
Name three possible problems that could prevent the command “boot system tftp c2500-j-l.112-14.bin 188.8.131.52” from succeeding.
The possible reasons include: 184.108.40.206 is not accessible through the network, there is no TFTP server on 220.127.116.11, the file is not in the TFTP default directory, the file is corrupted, or a different boot command could precede this boot command in the configuration file, meaning that the IOS referenced in the first boot command would be used instead.
Two different Cisco IOS files are in a router’ s Flash memory: one called c2500-j-l.111-3.bin and one called c2500-j-l.112-14.bin. Which one does the router use when it boots up? How could you force the other Cisco IOS file to be used? Without looking at the router configuration, what command could be used to discover which file was used for the latest boot of the router?
The first Cisco IOS file listed in the “show flash” command is the one used at reload time, unless a “boot system” command is configured. The configuration command “boot system flash c2500-j-l.112-14.bin” would override the IOS’ s decision to look for files in order in Flash memory. show version is the command used to display the filename of IOS for the latest reload of a router. The show version output tells you the version as well as the name of the file that was used at last reload time. It is particularly difficult to find in the output of the command.
Name the parts of an IP address.
Network, subnet, and host are the three parts of an IP address. However, many people commonly treat the network and subnet parts of an address as a single part, leaving only two parts, the subnet and host parts. On the exam, the multiple-choice format should provide extra clues as to which terminology is used.
Define the term subnet mask. What do the bits in the mask whose values are binary 0 tell you about the corresponding IP address(es)?
A subnet mask defines the number of host bits in an address. The bits of value0 define which bits in the address are host bits. The mask is an important ingredient in the formula to dissect an IP address; along with knowledge of the number of network bits implied for Class A, B, and C networks, the mask provides a clear definition of the size of the network, subnet, and host parts of an address.
You design a network for a customer, and the customer insists that you use the same subnet mask on every subnet. The customer will use network 10.0.0.0 and needs 200 subnets, each with 200 hosts maximum. What subnet mask would you use to allow the largest amount of growth in subnets? Which mask would work and would allow for the most growth in the number of hosts per subnet?
Network 10.0.0.0 is a Class A network, so you have 24 host bits with no subnetting. To number 200 subnets, you will need at least 8 subnet bits because 2^8 is 256. Likewise, to number 200 hosts per subnet, you will need 8 host bits. So, you need to pick a mask with at least 8 subnet bits and 8 host bits. 255.255.0.0 is a mask with 8 subnet bits and 16 host bits. That would allow for the 200 subnets and 200 hosts, while allowing the number of hosts per subnet to grow to 2^16 – 2, quite a large number. Similarly, a mask of 255.255.255.0 gives you 16 subnet bits, allowing 216 subnets, each with 2^8 – 2 hosts per subnet.
What are the valid private IP network numbers, according to RFC 1918?
Network 10.0.0.0, Class B networks from 172.16.0.0 through 172.31.0.0, and Class C networks beginning with 192.168.
How large are IPv6 addresses?
128 bits long
How does CIDR help reduce the size of Internet routing tables?
By using a routing protocol that exchanges the mask as well as the subnet/network number, a classless view of the number can be attained. By advertising many networks as a single route, the routing table can be shortened. For instance, 18.104.22.168/8 (22.214.171.124, mask 255.0.0.0) defines a set of addresses whose first 8 bits are equal to decimal 198. Instead of the more than 65,000 routes needed to list a route for each Class C network that starts with 198, CIDR allows those routes to be represented by a single route.
Create a minimal configuration enabling IP on each interface on a 2501 router (two serial, one Ethernet). Use Class A network 126.96.36.199. Your boss says that you need, at most, 200 hosts per subnet. You decide against using VLSM. Your boss also says to plan your subnets so that you can have as many subnets as possible rather than allow for larger subnets later. When choosing the actual IP address values and subnet numbers, you decide to start with the lowest numerical values. Assume that point-topoint serial links will be attached to this router. Avoid using the zero subnet.
- interface ethernet 0
- ip address 188.8.131.52 255.255.255.0
- interface serial 0
- ip address 184.108.40.206 255.255.255.0
- interface serial 1
- ip address 220.127.116.11 255.255.255.0
- The zero subnet was not used in this solution. If desired, the ip subnet-zero global command could have been used, enabling subnet 18.104.22.168/24 as well as subnets 22.214.171.124/24 and 126.96.36.199/24 to be used as the three subnets in the configuration.
In the previous question, what would be the IP subnet of the link attached to serial 0? If another user wanted to answer the same question but did not have the enable password, what command(s) might provide this router’ s addresses and subnets?
The attached subnet is 188.8.131.52, 255.255.255.0. The “show interface”, “show ip interface”, and “show ip interface brief” commands would supply this information, as would “show ip route”. The “show ip route” command would show the actual subnet number instead of the address of the interface.
What must be done to make the output of the “show ip route” command list subnet masks in decimal format instead of prefixes? In what mode would you use the command?
You must use the “terminal ip netmask-format decimal” command in EXEC mode.
In the output of “show ip route”, when a C shows up in the left side of the output on a line for a particular route, what does that mean?
C means “connected.” This means that the route was learned by this router because it has an operational interface that is connected directly to that subnet.
Define the term prefix notation. Give two examples.
The representation of a subnet mask with a slash character (/), followed by a number that represents the number of binary 1s in the mask. For example, /16 means the same thing as 255.255.0.0, and /22 means the same thing as 255.255.252.0.
What does ICMP stand for? To which OSI layer would you consider this protocol to apply most closely?
Internet Control Message Protocol. ICMP is considered a Layer 3 protocol because it is used for control and management of IP.
Identify two methods to tell a router to ask for name resolution from two different name servers.
- ip name-server 184.108.40.206 220.127.116.11
- ip name-server 18.104.22.168
- ip name-server 22.214.171.124
- Both methods tell the router to first try the name server at 126.96.36.199 and then try the name server at 188.8.131.52.
What keyboard sequence suspends a Telnet session in a Cisco router?
Ctrl-Shift-6, followed by x.
What two commands and what part of the command output tells you which suspended Telnet connection will be reconnected if you just press the Enter key, without any characters typed on the command line?
“show sessions” and “where”. Both commands supply the same information. The suspended session with an asterisk in the left side of the output line designates the session to which you would be connected if you just pressed Enter, with no characters on the command line.
Imagine that you typed a “ping” command and got five “!” back. What types of messages were sent through the network? Be as specific as possible.
ICMP echo request messages were sent by the “ping” command, with the remote host replying with five ICMP echo reply messages.
How do you make a router not ask for DNS resolution from a name server?
By using the “no ip domain-lookup” global configuration command.
Imagine that you are just logged in at the console of R1, and you Telnet to routers R2, R3, and R4 in succession, but you suspended your Telnet connection each time—in other words, all three Telnet connections go from R1 to the other three routers, respectively. What options do you have for reconnecting to R2?
You can use the “resume 1” command or just use the “1” command.
Imagine that you are just logged in at the console of R1, and you Telnet to routers R2, R3, and R4 in succession, but you suspended your Telnet connection each time—in other words, all three Telnet connections go from R1 to the other three routers, respectively. What options do you have for reconnecting to R4?
You can use the “resume 3” command or just use the “3” command. Or, you can simply press Enter, which resumes your connection to the last suspended Telnet connection—in this case, R4.
Which interior IP routing protocols support VLSM?
RIP-2, EIGRP, OSPF, and Integrated IS-IS.
Which IP routing protocols use distance vector logic?
RIP-1, RIP-2, and IGRP.
Which interior IP routing protocols are considered to converge quickly?
EIGRP, OSPF, and Integrated IS-IS.
Compare distance vector and link-state protocols in terms of what information is sent in routing updates.
Distance vector protocols send sparse information, typically describing a subnet and a metric for each route. Link-state protocols send much more detailed topology information, describing each router and each link so that every router has a full conceptual picture of the network.
Explain the basic concept behind why some routing protocols support VLSM and some do not.
VLSM implies that different subnet masks are used for different subnets of the same network. To advertise subnets that have different sizes, the routing protocol must include the subnet mask information for each subnet in the routing updates. Routing protocols that do not support VLSM do not include the mask in the routing updates.
Explain the difference between interior and exterior routing protocols.
Interior routing protocols are designed to advertise detailed routing information about each subnet, typically inside a single company or organization. Exterior routing protocols are designed to advertise information about how to reach different organizations’ networks through the Internet, and they purposefully try to reduce the detailed routing information to reduce the number of routes in Internet routers’ routing tables.
Compare and contrast the types of information sent in distance vector routing updates versus link-state routing updates.
Distance vector routing updates contain a subnet number and a metric for each route. Link-state updates define much more detailed information, such as the identity of each router and which subnets each router is connected to. Therefore, the information in link-state updates is much more detailed than the equivalent information with distance vector updates. The more detailed information allows a linkstate protocol to build a mathematical representation of the network topology, whereas distance vector protocols simply know that subnets exist and where to send packets to reach those subnets.
What term describes the underlying logic behind the OSPF routing protocol?