• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/83

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

83 Cards in this Set

  • Front
  • Back
What is a neighbor table?
Is a list of connected OSPF speakers (devices running OSPF) which is built up by exchanging hello messages. OSPF sends out hellos every 10 secs on broadcast links and every 30 secs on non-broadcast links
What are the formal states a neighbor relationship transitions through in the process of forming a full adjacency?
Down=no info/hellos received, Init=Has received a hello but no RID, 2 way=bi-directional communication has been established, Exstart=DR & BDR are elected, Exchange=Exchange Database Descriptor packets (DDP), Loading=Exchange of Link-state info, Full=Routers are fully adjacent, all router and network LSAs are exchanged and the router databases are fully synchronized
What is a Designated Router and a Backup Designated Router?
On a broadcast segment a BR is the 1 router assigned the duty of maintaining adjacencies with all other segment routers. It reduces the number of adjacencies which reduces b/w use. Routers advertise changes to the "all DRs" multicast address 224.0.0.6, and DRs advertise the LSA using the "ALL SPF" multicast address of 224.0.0.5. For redundancy a BDR is also elected
What is an OSPF area?
It is a logical grouping of routers that are running OSPF with identical topological databases. Each area runs SPF separately and summaries are passed between each area
What is an internal OSPF router?
Is a router in which all interfaces lie within a single area. Its sole function is to route within the area. It needs to know process, area and Router Ids, As well as identifying the participating interfaces.
What is the role of an Internal Router?
Its responsible for maintaining a current and accurate database of every LSA within the area. Its also responsible for forwarding data to other areas by the shortest path. Flooding of LSAs is confined to the area and all interfaces on this router are within the area.
What is a Backbone Router?
The design of OSPF require all areas to be connected through a single area, known as the backbone area or Area 0. This is a router within that area.
What is the role of an Area Border Router (ABR)?
Is responsible for connecting 2 or more areas. It holds a full topology database for each area to which its connected and sends LSA updates between the areas. These LSA updates are summary updates of the subnets within an area, but are sent as Type 3 LSAs only if summarization is configured on the ABR.
What is a Autonomous System Boundary Router (ASBR)?
They are typically located in the backbone area and connect to other routing domains. e.g. to internet or EIGRP
What is the router ID?
Is the mechanism by which a router is identified within the OSPF domain. Its used to identify LSAs in the OSPF network and is needed by a router to be able to participate in the OSPF domain. It can be defined by "router id" cmd, if cmd not present the highest IP of loopback interface, or lastly by highest IP of first active interface.
What is the process ID?
Is simply a mechanism to allow more than 1 process to be configured on a router
What is an Area ID?
Is a mechanism of grouping routers that share full knowledge of OSPF-derived routes within that OSPF area.
What is the Transmit timer and its default setting?
Determines the estimated number of seconds that it takes to send an LSA to a neighbor. Default is 1 sec.
What is the Retransmit timer and its default setting?
States the number of seconds to wait for an acknowledgment before retransmitting an LSA. Default 5 secs. Should always be bigger than transmit timer to avoid possibility of flapping.
How do hello timers work and what are the defaults?
OSPF sends out hellos at regular intervals to discover neighbors and to verify the neighbor list remains current. Neighbors time out after the dead time expires (by default 4 x hello time). Defaults are broadcast & point-to-point - 10 secs , non-broadcast & point-to-multipoint - 30 secs
Whats the 6 LSA types?
Type1 Router link=Generated by router & lists neighbors and costs, Type2 Network Link=Sent out by DR and lists all routers on the segment its adjacent too, Type3 Network Summary Link=ABRs generate to send between areas listing prefixes available in a given area, Type4 AS external ASBR Summary Link=ABRs produce to advertise ASBRs presence cost, Type5 External Link LSA=ASBR produces and floods throughout As advertising external routes, Type7 NSSA External LSA=Produced by ASBR, and is type 5 tunneled through the NSSA.
Why are LSAs labeled with sequence numbers?
So that older and newer versions of an advertisement can be distinguished and decide whether to update the current entry in the topology table.
What are the routing table LSA codes and there meanings?
They show where the entry was generated from. O= 1.Router or 2.Network Link generated by the router or DR and propagated within an area, OIA=3 or 4 summary links generated by ABRs and propagated into backbone area and between ABRs, OE1 or OE2=5.Summary/external Link either E1 is internal + external cost or E2 only external cost.
What is the metric used by OSPF and how its calculated?
It is the cost and is calculated by 1000,000,000bps/link speed. It is applied to the outgoing interface, and the routing process will select the lowest cumulative cost to a remote network.
What are the 5 OSPF packet types?
Hello=establishes communication with directly attached neighbors, Database Descriptor(DBD)=sends list of RIDs from whom the router has an LSA, Link-state Requests(LSR)=follow DBDs to ask for any missing LSAs, Link-state Update(LSU)=Replies to LSR with requested data, Link-state acknowledgement(LSAck)=Confirm receipt of link-state info
What IP protocol is OSPF traffic marked as?
All OSPF traffic is transmitted inside IP packets marked as IP protocol 89
Whats the benefit of creating multiple areas in OSPF?
It is a lot easier to maintain and manage. It reduces the number of SPF calculations because the size of the topology table is reduced. This lessens the likelihood of a change in the network, and thus, SPF calculations. This also reduces the CPU, memory and network b/w consumption.
Why must the Backbone Area be at the centre of all other areas and physically connect to all other areas?
Because OSPF expects all areas to inject routing info into the backbone, and in turn, the backbone will disseminate that info into other areas
How many paths will OSPF load-balance with by default?
Cisco routers will perform equal-cost load balancing for upto 4 paths, but this parameter can be increased by configuration up to as many as 16 paths.
What should you do if a router configured for OSPF routing is not seeing an OSPF neighbor on an attached network?
1.Make sure both routers are configured with same IP mask, MTU, Interface Hello timer, OSPF hello timer and OSPF dead interval, 2.Make sure both neighbors are in same area, 3.Use Debug and show cmds to trace the problem.
What happens if there are routes with different routing information srcs to the same dst?
The router will choose the path with the lowest AD. If both are OSPF, OSPF will select the lower type advertisements first, and choose lower costs to break ties.
What are the benefits of summarization of IP subnets between areas?
Reduces the size of the routing table, which in turn reduces CPU and memory requirements. It also speeds up convergence. The greater the summarization, the smaller and fewer the LSA packets that need to be propagated
What are the 2 types of summarization that exist in OSPF?
Interarea summarization is performed at the ABR, and creates Type 3 and Type 4 LSAs. These routes are sent between areas. External summarization is performed at the ASBR, and creates Type 5 LSAs. These routes are sent into OSPF from another routing protocol.
How does a ABR forward summary LSAs?
It forwards Type 3 LSAs to other ABRs and Type 4 LSAs to the ASBRs. It also forwards Type 3 LSAs from other areas into its own area. If the ABR has multiple links in the same area, it also forwards Type 1 and 2 LSAs in its capacity as an internal router.
What are external routes and how are there costs calculated?
They are routes that didn't originate in the OSPF domain and have been redistributed from another routing protocol (routing domain) or static routing. An external route is introduced into the OSPF domain by an ASBR. External routes discovered by OSPF can have there paths calculated in 1 of 2 ways. E1=cost of path to ABR is added to external cost to reach next hop router outside the AS, E2=External cost of path from ASBR. E2 is default, but E1 is preferred over E2 if 2 equal-cost paths exist.
What are the rules when creating a Virtual Link?
Both routes must share a common area, the transit area cant be a stub area, and one of the routers must be connected to area 0.
What happens if OSPF identifies a problem or a link goes down?
As soon as OSPF identifies a problem it modifies its LSAs accordingly and sends updated OSPFs to the remaining neighbors with full adjacency. Being event driven, this improves convergence times.
When should a DR be manually selected using priorities?
In a partial mesh network (eg hub-and-spoke), and the chosen DR should be a router with permanent virtual circuits (PVCs) connecting to all other routers. The DR idea doesn’t work well in a partial mesh because the elected router may not be able to reach all other routers.
What type of networks don’t involve a DR/BDR election?
Point-to-multipoint and point-to-point network types, only the non-Broadcast and Broadcast network types have the DR/BDR election.
Which network types offer neighbor recognition?
Non broadcast OSPF networks like NBMA cant dynamically discover there neighbors, so the neighbors must be manually identified. However Broadcast networks like point-to-point can.
What OSPF network types are available on Cisco router interfaces?
Broadcast Multiaccess, Point-to-Point, Point-to-Multipoint (default is Point-to-Multipoint broadcast, but nonbroadcast is available), and Nonbroadcast Multiaccess (NBMA)
Broadcasts and multicasts aren't supported on which OSPF network type?
NBMA is used to accurately model X.25 and frame relay environments in multiple-access networks where there are no intrinsic broadcast and multicast capabilities. In an NBMA configuration, OSPF sends HELLO packets to each router one at a time rather than multicasting them. The HELLO timer is extended from 10 to 30 secs and dead router timer from 40 to 120 secs.
What steps need to be performed to configure a router to support OSPF in a non-broadcast environment with the NBMA OSPF network type?
Because NBMA is the default OSPF network type, its only really necessary to identify neighbors.
To identify neighbors. If "ip ospf priority" cmd is already set, the 2 of the higher values is used. Poll interval is rate that are hellos still sent to inactive routers (default 120secs).
router(config-if)# neighbor [ip add] [priority [num]] [poll interval [secs]] [cost [num]]
What steps need to be performed to configure a router to support OSPF point-to-multipoint?
Point-to-multipoint forms an adjacency automatically along any PVC, which causes more overheads but is more resilient than the NBMA option. No DR is elected and neighbors are automatically discovered, so only need to change from the default OSPF NBMA network type using "ip ospf network point-to-multipoint" cmd
What is needed to configure an OSPF broadcast network type?
Configuring a broadcast interface just involves changing the OSPF network type, no neighbor statements are required. The broadcast OSPF network type works best with a fully meshed network.
Which network types are best applied to full-mesh topologies?
Multiaccess topologies, such as those found in NBMA and broadcast OSPF network types, rely on DRs and so are best applied to full mesh-topologies. The only real difference is that Broadcast network types are capable of discovering there neighbors automatically. Ethernet links are automatically recognized as broadcast links.
Which OSPF network types are Cisco proprietary, and which are RFC compliant?
Non-broadcast and point-to-multipoint (broadcast) are RFC Complaint, whilst point-to-multipoint (non-broadcast), broadcast and point-to-point are Cisco proprietary
What is the default OSPF network type for a physical serial interface?
Non-broadcast Multiaccess. Multipoint subinterfaces are also treated like other interfaces, so their default OSPF network type is also NBMA. Multipoint interfaces on Cisco routers automatically start in non-broadcast mode. Point-to-point subinterfaces are treated by the router exactly as if they were point-to-point circuits. These interfaces automatically use the point-to-point OSPF network type.
Whats a stub area?
Is an area that wont except external routes (Type 5). They are replaced by a default route, and internal routers send external traffic to the closest ABR. Useful to protect slowest or less powerful routers from being overwhelmed with routes from outside. An area that has a single ABR or an ABR where the choice of exit ABR is not important is a good candidate for a stub area.
Whats a totally stubby area?
An area that doesn’t accept summary LSAs from other areas (Type 3 & 4) or external summary LSAs (Type 5). Protects internal routers by minimizing routing tables and summarizing everything outside the area with a default route. Is Cisco proprietary.
Whats a Not-So-Stubby-Area (NSSA)?
Are stubby areas that can have ASBRs. Since stubby areas don’t support Type 5 LSAs, they use Type 7 LSAs to disguise external information and the ABR converts the Type 7 to Type 5 when its sent to Area 0. Can also have Not-so-totally-stubby areas. NSSA external routes show up as N1 or N2 instead of E1 or E2 in the routing table. Note the ABR so a NSSA doesn't automatically generate a default route.
What certain characteristics unite all stub area types?
Area 0 can`t be a stub, all routers in the area must agree that its a stub area, and no virtual links may traverse a stub area.
What is a disadvantage of stub areas?
Routers in a stub area will always route external traffic through the closest ABR. Sometimes this can cause inefficient routing if there is a better path.
To check the CPU utilization
router# show process cpu sorted
To check the memory utilization
router# show memory free
To set the OSPF priority. DR & BDR are elected on basis of highest priority, whilst ties are broken in favor of highest IP. Doesn’t pre-empt, once elected serve until they are rebooted. The default is 1, whilst 0 prevents a router from being elected.
router(config-if)# ip ospf priority [0-255]
To clear the ospf process to force a DR/BDR election or a change of RID. Can alternatively reboot the router
router# clear ip ospf process
To configure OSPF as the routing protocol to use. The process number isn't globally significant, so doesn’t have to be same on every router in an area. It is possible to have more than 1 process number running on a router.
router(config)# router ospf [process number]
To define the interfaces that are to participate in OSPF and the area they reside in. All interfaces that match the network wildcard pattern will be active in the given ospf area. A router can have different interfaces in different areas.
router(config-router)# network [network] [mask] area [area-num]
To define the router ID. If it is changed, the router needs a restart or the OSPF routing process reinitialized before it takes effect.
router(config-router)# router-id [ip add]
To define the loopback interface. Is a virtual interface that is always active, since doesn't physically exist so cant go down. This is the preferred way to define a router ID.
router(config)# interface loopback [num] router(config-if)# ip address [ip add] [mask]
To manually override the default cost result from the cost equation. Lower values are preferred. The default calculation gives costs of 64 for serial link 10 for Ethernet, and 1 for both fast Ethernet and gig.
router(config-router)# ip ospf cost [0 - 65,535]
To change the numerator in the automatic cost calculation. Default is 100.
router(config-router)# ospf auto-cost reference-bandwidth [1 to 4,294,967]
To consolidate and summarize routes at an area boundary. Is configured on a ABR and dictates the networks that will be advertised out of the area. The "area id" is the area about which routes are to be summarized.
router(config-router)# area [area-id] range [ip add] [mask]
To summarize network addresses received from ISP and redistributed into OSPF. Is applied to ASBR. Advertises a single route for all the redistributed routes that are covered by a specified network address and mask. Is used to external routes before injecting them into OSPF.
router(config-router)# summary-address [address] [mask]
To create a stub area. All routers inside a stub or totally stubby area must be configured as stub routers since hello packets will have a stub flag which neighbors must agree on to be neighbors. Also all routers inside the area need too have default network set (0.0.0.0)
router(config-router)# area [area-id] stub and network for routers in the stub area router(config-router)# network 0.0.0.0 255.255.255.255 area [area-id]
To create a totally stubby area. Is configured on ABR and all other routes are configured as stub so that their stub-flag will agree. No interred or external LSAs are propagated into the area, and use a default route advertised into the area by the ABR to reach networks and hosts outside the area. Also all routers inside the area need to have default network set (0.0.0.0)
router(config-router)# area [area-id] stub no-summary and network for routers in the stub area router(config-router)# network 0.0.0.0 255.255.255.255 area [area-id]
To set the cost of the default route propagated into another area, if not specified is cost of ABR + 1. Is configure only on ABR, and the ABR will then automatically generate and advertise the route cost along with the default route. In stub and totally stubby areas the ABR replaces the external routes with a default route. Is useful when the stub area has more than 1 ABR, since allows the administrator to prefer a specific exit.
router(config-router)# area [area-id] default-cost [cost]
To create a virtual link between ABRs that share a common area, at least 1 must be connected to Area 0. The cmd states the transit area (area-id) and the Router ID (router-id) of the remote destination ABR. May transit many routers along the way, but appears to OSPF on remote ABRs as next hop.
router(config-router)# area [area-id] virtual-link [router-id]
To change the OSPF network type. Interfaces default to the NBMA OSPF network type in a non broadcast environment.
router(config-if)# ip ospf network [broadcast | non-broadcast | point-to-multipoint [non-broadcast]]
To show how OSPF is running on a particular router. Includes the number of times that the SPF routing algorithm has run (calculated the routing table), which is indicative of the stability of the network. Some of the other info it displays is the number of areas of which its a member, how many of its interfaces are in an area, authentication and the area range (summarization) that has been configured.
router# show ip ospf [process-id]
What cmd would show all the network link-state info?
router# show ip ospf [process-id] [area-id] database network
To display the contents of the routers topological database and the different LSAs that have populated the database. Shows RID, Advertised RID, linkstate age, sequence number and the checksum for the contents of the LSA. It can be tailored to show specific info from the database (eg Type2 LSAs) by specifying the appropriate parameter.
router# show ip ospf database [router | network | summary | asbr-summary | nssa-external | external | database summary]
To see how OSPF has been configured and is working on a particular interface. It will display info like the router, area & process ID, state DR, BDR and DROTHER (if neither DR or BDR) and priority number.
router# show ip ospf interface [type] [mod/num]
To view all the neighbors known to the router. Its also possible to focus on viewing info regarding neighbors that have been discovered on a particular interface. Useful to verify that all neighbors are present. This cmd shows info like r=the functional state (eg 2-way)
router# show ip ospf neighbor [type] [mod/num] [neighbor-id] [detail]
To show IP routing protocol configuration on a router. This includes the networks it advertises and indicates when next updates will occur. This cmd is excellent for troubleshooting configuration errors and understanding how the network is communicating about its routes.
router# show ip protocols
To display the routing table and networks of which the router is aware. It details how the network is known to the router and how the router discovered the route. Also shows preferred paths and gives next hop for each path. Good for understanding an IP network and allows you to analyze the flow of LSAs both within and between areas (LSA codes).
router# show ip route
Displays info about OSPF-related events, such as adjacencies, flooding info, DR selection and SPF calculation
router# debug ip ospf events
Displays info about packets received, generated and forwarded. Fast-switched packets do not generate messages.
router# debug ip packet
What cmds can be used to show which router on a LAN is the BDR?
router# show ip ospf neighbor or router# show ip ospf interface
Which cmd is used to show the state of adjacencies?
router# show ip ospf neighbor
To show the ABRs and ASBRs that the internal router has in its routing table in a table format with the areas, cost, RID of dst ABR/ASBR and next hop to ABR/ASBR. Is excellent for troubleshooting configuration errors and understanding how the network is communicating. In a multi area network this cmd can immediately indicate why users cant connect outside their area.
router# show ip ospf border-routers
To show the configured virtual links. Even though virtual-link partners aren't directly connected, they will show as neighbors because of the virtual connection. Shows the timers, cost, transit area and via interface.
router# show ip ospf virtual-links
To start log-adjacency-changes, is similar to debug but uses less resources. Whenever a change in the state of an adjacency occurs, a message is sent to syslog. So if you ran this cmd, then the "router(config-router)# network [network] [mask] area [area-num]" cmd afterwards, the ospf process would re-initialize all interfaces, requiring neighbors to be found and adjacencies formed which would all be logged.
router(config-router)# log-adjacency-changes
To set OSPF plaintext password on a per-interface basis. Other routers connected through this interface should have same password. Prior to IOS 12.0, authentication was set per-area
router(config-if)# ip ospf authentication-key [password]
To set a MD5 key and password. A key number is used in combination with a password to create a hash. More than 1 key may be active at one time.
router(config-if)# ip ospf message-digest-key [key] md5 [password]
To enable OSPF authentication using MD5
router(config-if)# ip ospf authentication-key message-digest