Professional Documents
Culture Documents
And Answers
w
ie
rv
te
In
CCNP Interview Questions And Answers Guide.
ue
Question # 1
What is error disabled port in switching and what is dynamic desirable mode?
ns
io
Question # 2
Explain the function of a rendezvous point?
st
Answer:Error disabled when a port is error disabled, it is effectively shut down and no traffic is sent or received on that port. such as, with BPDUGourd you said this port
must not send bpdu or receive it as well .. so when this port receive bpdu message it will convert to error disable .. and to make it up again just write (No Shut)
command.
Dynamic Desirable:- it is kind or DTP (dynamic trunk protocol) in short, negotiation with front port to be trunk.
Answer:A RP is the focal point for multicast traffic. Traffic is forwarded to the RP from multicast sources. The RP then forwards traffic to multicast receivers.
View All Answers
Answer:Used with PIMSM Auto-RP and version 2. If the RPs fail, the router reverts to dense mode.
Question # 4
What is the range of IP multicast addresses?
Question # 5
Describe the operation of Anycast RP.
s.
Answer:224.0.0.0-239.255.255.255
er
w
ns
A
Question # 3
What is the purpose of the interface command ip multicast spares-dense-mode?
Answer:Two or more RPs are configured with the same IP address. The IP addresses of the RPs are advertised using a unicast IP routing protocol. Each multicast router
chooses the closest RP. If an RP fails, the routers switch to the next nearest RP after the unicast IP routing protocol converges. The MSDP is used between RPs to
exchange active multicast source information.
View All Answers
Question # 6
What protocols do switches use to prevent the broadcasting of multicast traffic?
Answer:CGMP and IGMP Snooping
View All Answers
Question # 7
Why are the Cisco multicast routing protocols referred to as protocol independent?
Answer:Multicast forwarding decisions are based on the entries in the unicast IP routing table. Multicast is not dependent on how the unicast IP routing table was built; you
Copyright http://InterviewQuestionsAnswers.org
Page 3/14
can use any dynamic interior routing protocol, static routes, or a combination of the two.
View All Answers
In
Question # 8
Determine at least four IP multicast groups that have the multicast Ethernet address of 01 00 5E 00 40 0C?
w
ie
rv
te
Answer:The low order 32 bits of the IP address determine the multicast Ethernet address. The first four bits are always 1 1 1 0 and the next five bits can be anything.
Therefore, the IP multicast addresses that map to the multicast Ethernet address of 01 00 5E 00 40 0C are
1110 0000 0000 0000 0100 0000 1100 = 224.0.64.12
1110 0000 1000 0000 0100 0000 1100 = 224.128.64.12
1110 0001 0000 0000 0100 0000 1100 = 225.0.64.12
View All Answers
Question # 9
What is the multicast Ethernet address for IP address 227.128.64.12?
ue
Answer:The base Ethernet multicast address is 01 00 5E 00 00 00. The first byte of the IP multicast address is not used. If the second byte is greater than 127, subtract 128,
giving a value of 0. The third and fourth bytes of the IP address are used as is after converting to hex. Their values, in hexadecimal, are 40 and 0C. So the Ethernet
multicast address for the IP multicast address 227.128.64.12 is 01 00 5E 00 40 0C.
st
Question # 10
Explain the difference between dense mode and sparse mode multicast.
ns
io
Answer:Dense mode multicast assumes all multicast neighbors want to receive all multicast traffic unless the neighbors have specifically pruned the traffic. Sparse mode
multicast assumes multicast neighbors do not want to receive multicast traffic unless they have asked for it. Dense mode uses source-based delivery trees while sparse
mode uses shared delivery trees where traffic is first sent to an RP.
Question # 11
Explain the difference between the forwarding of a unicast IP packet and the forwarding of a multicast IP packet.
s.
Question # 13
Why is BGP a better choice for Internet routing than the IGPs?
er
w
Question # 12
What are the four general types of BGP attributes?
ns
A
Answer:Unicast IP packets are forwarded based on the destination IP address. Multicast packets are forward based on the source IP address. If a multicast packet is received
on the interface used to send a unicast packet back to the source, the multicast packet is forwarded to multicast neighbors. If the multicast packet is received on an
interface that would not be used to send a unicast IP packet back to the source, the packet is discarded.
Answer:RIP version 1 and IGRP are classful protocols and do not advertise subnet mask information. RIP version 2 has a limited network diameter of 15 hops. EIGRP,
OSPF, and IS-IS use computational intensive algorithms for determining a shortest path. BGP relies on simple techniques for best path selection and loop detection,
and can handle the number of network prefixes required for Internet routing.
Question # 14
What is the major difference between BGP and IGP route summarization?
Answer:When a summary address is created with an IGP (EIGRP, OSPF, and IS-IS), the specific routes of the summary are not advertised. BGP advertises the summary, and
all the specific routes of the summary unless they are specifically suppressed.
View All Answers
Question # 15
Why does IBGP require a full mesh?
Answer:BGP uses the AS_PATH attribute for loop detection. If a router sees its own AS number in a BGP advertisement, the advertisement is dropped. IBGP routers have the
same AS number so the AS number cannot be used for loop detection. IBGP neighbors will not advertise prefixes learned from one IBGP neighbor to another IBGP
neighbor; therefore, a full mesh is required.
Copyright http://InterviewQuestionsAnswers.org
Page 4/14
In
Question # 16
Name two methods for reducing the number of IBGP connections.
w
ie
rv
te
Question # 17
What is synchronization?
Answer:Synchronization is a property of IBGP. An IBGP router will not accept a prefix received from an IBGP neighbor if the prefix is not already in the IP routing table.
View All Answers
Question # 18
What is the first thing that BGP checks to determine if a prefix is accessible?
ue
Answer:BGP checks the NEXT_HOP attribute to determine if the NEXT_HOP is accessible or in the IP routing table.
st
Question # 19
Name all the ways for installing a prefix in the BGP routing table.
ns
io
Answer:* Using the network command to transfer a router from the IP routing table to the BGP routing table
* Redistributing routes from the IP routing table to the BGP routing table
* Learned from a BGP neighbor
Question # 20
What is the order of preference for the BGP attributes AS_PATH, LOCAL_PREF, MED, and WEIGHT?
Answer:MED is used to prefer a path into an autonomous system. A lower MED value is preferred.
View All Answers
Question # 23
What is the purpose of the LOCAL_PREF attribute?
s.
Question # 22
What is the scope of the LOCAL_PREF attribute?
er
w
Question # 21
What is the purpose of the metric or MULTI_EXIT_DISC attribute?
ns
A
Answer:If a router has more than one route to the same IP prefix, the best path is the one with the highest LOCAL_PREF (assuming the WEIGHT attribute for the routes is
equal).
View All Answers
Question # 24
What is the scope of the WEIGHT attribute?
Answer:WEIGHT has only local significance and is not advertised to BGP peers.
View All Answers
Question # 25
Copyright http://InterviewQuestionsAnswers.org
Page 5/14
In
w
ie
rv
te
Question # 26
What is the purpose of the AS_PATH attribute?
Answer:If a router has more than one route to the same IP prefix, the best path is the one with the shortest AS_PATH (assuming other BGP attributes are equal).
View All Answers
Question # 27
Describe four differences between the operation of IBGP and EBGP.
ue
Answer:* IBGP is the protocol used between routers in the same autonomous system. EBGP is the protocol used between routers in different autonomous systems.
* IBGP routes must be synchronized before they can be transferred to the IP routing table (unless synchronization is disabled).
* EBGP sets the next hop attribute to the IP address of the interface used to communicate with the EBGP peer. The next hop attribute is not modified when an IBGP
router advertises a prefix to an IBGP peer if the prefix was learned from an EBGP neighbor.
* EBGP advertises all prefixes learned from an EBGP neighbor to all other EBGP neighbors. IBGP routers do not advertise prefixes learned from one IBGP neighbor
to another IBGP neighbor.
st
Question # 28
What is the difference between an IS-IS narrow and wide metric?
ns
Question # 29
Compare IS-IS metrics with OSPF metrics.
io
Answer:A narrow metric uses 6 bits for the interface metric and 10 bits for the path metric. A wide metric uses 24 bits for the interface metric and 32 bits for the path metric.
Question # 30
What is route leaking?
Answer:Redistribution of Level 2 routes into an area as Level 1 routes.
View All Answers
s.
Question # 31
What is the difference between the types of routes allowed by default into IS-IS and OSPF areas?
er
w
ns
A
Answer:An OSPF interface metric is determined from the interface bandwidth. By default, all IS-IS interface metrics are equal to 10.
Question # 32
What is the OSPF counterpart to a Level 1-2 IS-IS router?
Answer:By default, all routes are advertised into all OSPF areas. This includes interarea OSPF routes and external routes that have been injected into OSPF. By default, IS-IS
does not advertise interarea or external routes into an area, but injects a default route.
Question # 33
In IS-IS, what is the function of a Level 1-2 router?
Answer:A Level 1-2 router has two IS-IS databases. The Level 1 database is used for routing to destinations within the router's configured area. The Level 2 database is used
to route between destinations in different areas.
View All Answers
Question # 34
What is the OSPF counterpart to Level 1 routing?
Copyright http://InterviewQuestionsAnswers.org
Page 6/14
Answer:Intra-area routing.
View All Answers
In
Question # 35
In IS-IS, what does Level 1 routing mean?
w
ie
rv
te
Question # 36
Describe the difference between an OSPF and IS-IS backbone.
Answer:OSPF has a backbone area or area 0. All nonzero areas must be connected to the backbone through a router or a virtual link. IS-IS has a backbone area made up of a
contiguous chain of Level 2 capable routers.
View All Answers
ue
Question # 37
Assume a router has a loopback address of 135.77.9.254. Convert the loopback address to an IS-IS system ID.
Answer:The loopback address written in dotted decimal and using three digits for each byte has a value of 135.077.009.254. The system ID is 13.50.77.00.92.54.
io
Question # 38
Describe the structure and format of an NSAP address.
st
ns
Answer:An NSAP address has a length of 8 to 20 bytes and consists of three components:
* One to 13 byte area ID
* Six byte system ID
* One byte NSAP selector that is always equal to zero for a router
View All Answers
ns
A
Question # 39
If a router learns about the same network prefix through RIP, IGRP, EIGRP, and OSPF, which route will be preferred?
Question # 41
How many OSPF databases are on an OSPF router?
Answer:110
s.
Question # 40
What is the administrative distance of OSPF routes?
er
w
Answer:The number of OSPF databases on a router is equal to the number of OSPF areas configured on the router.
View All Answers
Question # 42
The following OSPF routes originate in OSPF area 1:
188.14.19.0/28
188.14.19.16/28
188.14.19.32/28
188.14.19.48/28
What is the command to summarize these routes on the ABR between area 1 and the backbone?
Answer:Area 1 range 188.14.19.0 255.255.255.192
Copyright http://InterviewQuestionsAnswers.org
Page 7/14
In
Question # 43
How is the OSPF cost of an interface calculated?
w
ie
rv
te
Answer:By default, the cost of an OSPF interface is 100,000,000/(Interface Bandwidth). The constant 100,000,000 can be changed using the auto-cost reference-bandwidth
command.
View All Answers
Question # 44
What is the purpose of an OSPF virtual link?
Answer:To connect a nonzero area to the backbone if the nonzero area becomes disconnected from the backbone. A virtual link can also be used if the backbone, or area 0,
becomes discontiguous.
View All Answers
Question # 45
How does OSPF determine an interarea shortest path?
ue
Question # 46
How does OSPF determine the DR on a multi-access network?
io
st
ns
Answer:The router with the highest interface priority will be the router ID. If all the interface priorities on the multi-access network are the same, the router with the highest
router ID will be the DR.
ns
A
Question # 47
How is the OSPF router ID determined?
Question # 48
Where can routes be summarized in an OSPF network?
Question # 49
What are the six OSPF route types?
s.
Answer:OSPF routes are summarized on an ABR. External routes are summarized on an ASBR.
er
w
Answer:If physical interfaces are only used, the OSPF router ID is the highest IP address assigned to an active physical interface. If loopback interfaces are used, the OSPF
router ID is the highest IP address assigned to a loopback interface. If the router-id command is used with the OSPF configuration, the address used with this
command will be the router ID.
Question # 50
What are the three types of OSPF routers?
Answer:ABR, internal router, and ASBR.
View All Answers
Question # 51
What is the difference between an E1 and E2 OSPF route?
Answer:An E1 route contains the OSPF cost to reach the ASBR plus the cost from the ASBR to the external route. An E2 route contains only the cost from the ASBR to the
external route.
Copyright http://InterviewQuestionsAnswers.org
Page 8/14
In
Question # 52
What types of routes are allowed into a totally NSSA?
w
ie
rv
te
Answer:OSPF intra-area routes and a default route. External routes from ABRs are blocked, and external routes from ASBRs are converted to N1 or N2 routes.
View All Answers
Question # 53
What types of routes are allowed into a NSSA?
Answer:OSPF intra-area and interarea routes, and possibly a default route. External routes from ABRs are blocked, and external routes from ASBRs are converted to N1 or
N2 routes.
View All Answers
Question # 54
What types of routes are allowed into a totally stubby area?
Question # 55
What types of routes are allowed into a stub area?
st
ue
Answer:OSPF intra-area routes and a default route. OSPF interarea and external routes are not advertised into a totally stubby area.
Question # 56
Why are intra-area summary routes not allowed?
ns
io
Answer:OSPF intra-area and interarea routes, and a default route. External routes are not advertised into a stub area.
er
w
Question # 57
What are the purposes of areas in an OSPF network?
ns
A
Answer:OSPF databases on routers in the same area must be identical. If route summarization was allowed within an area, some routers would have specific routes and some
routers would have summary routes for routes in the area. If this were allowed, the databases for the area would never agree.
Answer:Areas allow the design of a hierarchical network. Routes can be summarized or blocked in an area to reduce the amount of routing information on internal OSPF
routers.
View All Answers
Answer:You need to examine the third byte because that is the byte where the four prefixes differ:
0=00000000
32 = 0 0 1 0 0 0 0 0
64 = 0 1 0 0 0 0 0 0
96 = 0 1 1 0 0 0 0 0
The last 7 bits are irrelevant, so the mask is 1 0 0 0 0 0 0 0 and the EIGRP command is ip summary-address eigrp 1 10.1.0.0 255.255.128.0.
s.
Question # 58
Determine the EIGRP command to summarize the following networks:
10.1.0.0/19
10.1.32.0/19
10.1.64.0/19
10.1.96.0/19
Question # 59
Explain the relationship between reported distance and feasible distance and how they determine successors and feasible successors.
Answer:The reported distance to a route that is sent to another router is the feasible distance on the reporting router. Feasible distance is the reported distance plus the metric
between the receiving and reporting routers. The route with the lowest feasible distance is the successor. Any routes with a reported distance that is less than the
feasible distance are feasible successors.
View All Answers
Copyright http://InterviewQuestionsAnswers.org
Page 9/14
Question # 60
What are the states that an EIGRP route can be in and what do these states mean?
In
Answer:The passive state means that a router has a successor for a route. The active state means that a router does not have a successor or feasible successor for a route and is
actively sending queries to neighbors to get information about the route.
View All Answers
w
ie
rv
te
Question # 61
Explain the difference between a classful and a classless routing protocol.
Answer:Classless routing protocols advertise subnet mask information along with the network prefixes. Classful routing protocols do not. Therefore, for a classful protocol,
all subnets for the major network number being used must be the same length. Also, classful protocol cannot support discontiguous networks prefixes.
View All Answers
Question # 62
What is the full IPv6 address represented by FF02::130F:5?
Answer:FF02:0000:0000:0000:0000:0000:130F:0005
ue
st
Question # 63
How many two-host subnets can be made from a /24 network?
ns
Question # 64
What is the range of host addresses for network 172.16.53.96/27?
io
Answer:64 because 2 bits are needed for the hosts on the network, leaving 6 bits for the subnet.
Question # 65
Using the following routing table, determine the best route to reach the host at address 132.19.237.5.
Network Output Interface
132.0.0.0/8 Serial 0
132.16.0.0/11 Ethernet 1
132.16.233.0/22 Ethernet 2
er
w
ns
A
Answer:132.16.0.0/11 because it matches more network bits than 132.0.0.0/8. Network 132.16.233.0/22 and 132.19.237.5/22 do not match on the network address.
View All Answers
Answer:162.8.0.0/22
162.8.4.0/22
162.8.8.0/22
162.8.12.0/22
s.
Question # 66
What is the prefix and subnet mask that summarizes the following networks:
Question # 67
What is the broadcast address for network 198.4.81.96/27?
Answer:198.4.81.127
View All Answers
Question # 68
Subnet 198.4.81.0/24 into the maximum number of networks that can support 28 hosts each.
Answer:198.4.81.0/27 and the subnets are:
198.4.81.0/27
198.4.81.32/27
Copyright http://InterviewQuestionsAnswers.org
Page 10/14
In
198.4.81.64/27
198.4.81.96/27
198.4.81.128/27
198.4.81.160/27
198.4.81.192/27
198.4.81.224/27
View All Answers
w
ie
rv
te
Question # 69
What is the broadcast address for network 142.16.72.0/23?
Answer:142.16.73.255
View All Answers
Question # 70
Convert 734215 16 to binary.
ns
Question # 72
Convert 12345670 8 to hexadecimal.
io
st
ue
Question # 71
Convert 734215 8 to binary.
Question # 73
True or False. Converting between number bases is fun.
Answer:Answer is True
View All Answers
Answer:Convert to dotted hexadecimal first, and then convert each hexadecimal number pair to decimal.
A2.F5.9D.8B then 162.245.157.139
Question # 75
Convert 101000101111010110011101100010112 to dotted decimal.
Answer:24275316613 8
s.
Question # 74
Convert 101000101111010110011101100010112 to octal.
er
w
ns
A
Answer:Convert each octal digit into three binary digits, and then convert the binary result to hexadecimal.
001 010 011 100 101 110 111 000
0010 1001 1100 1011 1011 1000
29CBB8
Question # 76
Convert 10100010111101011001110110001011 2 to hexadecimal.
Answer:A2F59D8B
View All Answers
Question # 77
Convert FACE1234 16 to dotted decimal.
Copyright http://InterviewQuestionsAnswers.org
Page 11/14
In
w
ie
rv
te
Question # 78
This is a speed drill. Using only your head, convert the following binary numbers to decimal.
11100000
11111100
10000000
11110000
00111111
Answer:224, 252, 128, 240, and 63 (64 - 1)
View All Answers
Question # 79
What are the access, distribution, and core components of a North American phone number?
st
ue
Answer:The last four digits are the used at the access layer to identify a particular telephone. The next three numbers are used at the distribution layer to identify an exchange
that services several phone numbers. The area code is used at the core level for routing between different regions.
Question # 80
What are the access, distribution, and core components of a postal address?
ns
io
Answer:The street name and number are the access layer components. The city name is the distribution layer component. The state name is the core layer component.
Question # 81
Explain how a letter from New York City to San Diego is routed using the address information.
Question # 82
Can you think of another familiar system that routes using a hierarchical delivery system?
s.
er
w
ns
A
Answer:The source address is not used unless the letter needs to be returned to the sender. Using the destination address, the access level post office in New York examines
the state, city, and street information to determine if it is directly connected to the destination. If not, the letter is sent to the distribution layer post office using a
default route. The distribution layer post office also examines the state, city, and street information to determine if it is directly connected to an access layer post
office servicing the particular street. If it isn't, the letter is routed to the core level using a default route. The core level post office examines the state name, and if the
state name does not equal New York, the letter is delivered to the core post office for the state of California. The California core post office delivers the letter to the
distribution post office that handles the city of San Diego. The San Diego distribution post office delivers the letter to the access post office that handles the
destination street. Finally, the access level switch delivers the letter to the proper destination.
Question # 83
Why are multiple protocols used, such as a package, addressing, delivery, and transportation, instead of using one protocol defining everything?
Answer:The airport system. At the core routing level, there are major hub airports such as Denver, Chicago, New York, and Atlanta. The core airports are responsible for
routing people and cargo to major geographical areas. Core airports connect with regional airports that serve a specific area; regional airports are at the distribution
layer. Finally, to reach your final destination, you can take a bus, a cab, a train, or rent a car. This can be considered the access layer.
Answer:Using multiple protocols is modular and allows changes to one protocol without affecting the others. For example, if the addressing protocol is dependent on the
delivery protocol, changes to one would imply changes need to be made to the other.
View All Answers
Question # 84
How does the use of a hierarchical routing structure (access, distribution, and core) enable a scalable delivery system?
Answer:If a delivery system is not divided into access, distribution, and core layers, every point in the system needs to maintain every possible destination address to make a
delivery decision. The use of a layered system means each layer needs only the information necessary to deliver to the next layer, either above or below.
View All Answers
Question # 85
What does the term information hiding mean in relation to route summarization?
Copyright http://InterviewQuestionsAnswers.org
Page 12/14
Answer:At the core layer in the postal system, the only information that is needed to make a routing decision is the state or city/state information. The specific street names
and street numbers are hidden, the core layer does not need this information. At the core layer in the telephone system, the area code is used to make a routing
decision. The specific exchange or last four digits of the phone number are not needed, or hidden, from the core layer.
In
w
ie
rv
te
Question # 86
Describe the difference between routing and switching.
Answer:Routing moves a letter or telephone call to the access layer (as in a street or telephone exchange). Switching makes the final delivery. A switching decision is made
on the part of the address that is not used in routing (as in the street number or last four digits of a phone number).
View All Answers
Question # 87
What is the purpose of a default route?
ue
Answer:A default route is used if there is not a specific entry in the routing table for the destination.
Question # 88
Describe why postal addresses and telephone numbers are routable.
ns
io
st
Answer:A postal address has three components that can be used to deliver mail: state, city, and street. A phone number has an area code and exchange. At the core layer, mail
can be delivered to the next post office based on only the state or city and state information. A phone number is delivered at the core layer based on the area code.
s.
er
w
ns
A
Copyright http://InterviewQuestionsAnswers.org
Page 13/14