• 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/38

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;

38 Cards in this Set

  • Front
  • Back
Default Hello and Dead timer for OSPF on a point-to-point and broadcast network.
10 seconds and 40 seconds
Default Hello and Dead timer for OSPF on a non-broadcast and point-to-multipoint (non) broadcast network.
30 seconds and 120 seconds.
Two ways to advertise a network into OSPF.
1. Interface configuration mode:
ip ospf <process-id> area <area-#>

e.g.
R1(config)#interface serial 0/0
R1(config-if)#ip ospf 1 area 0

2. Router configuration mode:
network {ip-address | network-address} <wildcard-mask> area <area-#>

e.g.
R1(config)#router ospf 1
R1(config-router)#network 192.168.1.1 0.0.0.0 area 0
Five OSPF Network Types and standards.
Point-to-point (Cisco)
Broadcast (Cisco)
Point-to-multipoint nonbroadcast (Cisco)
Nonbroadcast (RFC)
Point-to-multipoint broadcast (RFC)
A debug command use for verifying the OSPF adjacency.
debug ip ospf adj

Note: This is also a great command to test neighbor authentications with each other.
OSPF Authentication Types.
Type 0 (Default: None)
Type 1 (Clear text)
Type 2 (MD5)
OSPF authentication configuration command for all interfaces.
An interface configuration command:
ip ospf <process-id> message-digest key <key-#> md5 <string>

And a router configuration command that enables the authentication to all interfaces:
area <area-#> authentication [message-digest]

e.g.
R1(config)#interface serial 0/0
R1(config-if)#ip ospf message-digest key 1 md5 md5-authentication

R1(config)#router ospf 1
R1(config-router)#area 0 authentication message-digest

Note: The optional [message-digest] is use for MD5 authentication (Type 2).
OSPF interface authentication commands.
Interface configuration commands:
ip ospf authentication [message-digest]
ip ospf authentication-key <string>
ip ospf message-digest-key <key-#> md5 <string>

Type 1 e.g.
R1(config)#interface serial 0/1
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf authentication-key clear-text-authentication

Type 2 e.g.
R1(config)#interface serial 0/0
R1(config-if)#ip ospf authentication message-digest
R1(config-if)#ip ospf message-digest-key 1 md5 md5-authentication

Note: If the all the authentication for all interfaces is enabled, the interface authentication will over write the router authentication mode.
OSPF Neighbor Requirements.
Unique OSPF RID
Stub area flag
Interface cannot be passive
Hello and Dead interval must match
Subnet mask must match
Must be in the same area
MTU must match
Authentication must match
OSPF Transport layer
Protocol type 89
It does not use UDP or TCP.
Displays all the interfaces on which OSPF is enabled based on the "network" command (omits passive interfaces).
show ip ospf interface brief
Displays the contents of the (OSPF) network configuration commands for each routing process, and a list of enabled, but passive interfaces.
show ip protocols
Displays all summary of the OSPF database.
show ip ospf database
Displays all known OSPF neighbors, including the neighbor state.
show ip ospf neighbors
Name of the algorithm OSPF uses to calculate the best path.
Shortest Path First (SPF)
OSPF IPv4 multicast address for all routers and all designated routers (DR).
224.0.0.5 (All routers)
224.0.0.6 (All DRs)
OSPF Packet/Message Types
Type 1 - Hello: Used to discover neighbors.
Type 2 - Database Description (DD or DBD): Used to exchange brief or summarized version of each LSA.
Type 3 - Link State Request (LSR): An LSA message which is send to neighbor to request for database/route that is needed.
Type 4 - Link State Update (LSU): A packet that contains fully detailed LSAs (group of LSAs), typically this is a response to LSR.
Type 5 - Link State Acknowledgement (LSAck): Confirmation receipt for LSU message.
Setting OSPF Hello and Dead intervals.
Interface configuration commands:
ip ospf hello-interval <value-in-seconds>
ip ospf dead-interval <value-in-seconds>

e.g.
R1(config)#interface serial 0/0
R1(config-if)#ip ospf hello-interval 10
R1(config-if)#ip ospf dead-interval 40
Configuring passive interfaces.
Router configuration commands:
passive-interface <interface> <number>
passive-interface default

e.g.
R1(config)#router ospf 1
R1(config-router)# passive-interface serial 0/0

R2(config)#router ospf 2
R2(config-router)#passive-interface default
R2(config-router)#no passive-interface serial 0/0

Note: The passive-interface default will make all the router's interfaces passive. Using the "no passive interface <interface> <number>" will disable the passive interface for specific interface.
Configure OSPF Router ID.
Router configuration command:
router-id <a.b.c.d>

e.g.
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
Displays the Hello and Dead timer .
show ip ospf interface [<interface> <number>]
Display the actual dead timer for a neighbor.
show ip ospf neighbor [detail]
Display the currently used OSPF authentication type and the smallest authentication type key number.
show ip ospf interface [<interface> <number>]
OSPF LSA Types
Type 1 - Router: This LSA is produced by every router (This is flooded only within the originating area.)
Type 2 - Network: This LSA is produced by the DR on multi-access network (This LSA is flooded only within the originating area.)
Type 3 - Network Summary: This LSA is originated by ABR. They are sent into a single area to advertise destination outside that area.
Type 4 - ASBR Summary: This is also originated by the ABR. This LSA advertise the destination which is the ASBR. Meaning how to reach the ASBR.
Type 5 - AS External: This is originated by the ASBR. ASBR advertise the external LSA into OSPF autonomous system.
Type 6 - Group Membership: This is used in an enhancement of OSPF known as Multicast OSPF (MOSPF)-not supported by IOS.
Type 7 - NSSA External: This is originated by the ASBR within NSSA. (When an ABR receives a Type 7 LSA, the ABR will translate it to Type 5)
Type 8 - External Attributes: An alternative to running iBGP to transport BGP information across an OSPF domain. (not supported by IOS)
Type 9 - Opaque: Link-local scope
Type 10 - Opaque: Area-local scope
Type 11 - Opaque: AS-scope
(Type 9-11: Opaque is used to add various extension to OSPF, like traffic engineering parameters for MPLS networks.)
OSPF Router Types
Internal Routers: Routers whose all interfaces belongs to the same area.
Area Border Routers (ABR): At least one interface connected to the backbone area (Area 0) and other interface is connected to non-backbone area.
Backbone Routers: Routers that have at lease one interface connected to the backbone area. ABR is considered a Backbone Router.
Autonomous System Boundary Routers (ASBR): Gateways for external OSPF traffic (redistributed routes) from some other protocol.
Designated Router (DR) and Backup DR (BDR) election process.
The router with the highest interface priority will be selected as the DR. If tied on priority, the router with the highest RID will be selected as the DR.
The next highest priority or RID will be the BDR.
Changing the OSPF interface priority.
Interface configuration command:
ip ospf priority <priority>

e.g.
R1(config)#interface fastethernet 0/0
R1(config-if)#ip ospf priority 2

Note: The higher the priority value the chances to become the DR is higher. The default value is 1.
OSPF Neighbor State
Down: No Hellos have been received.

Attempt: Used when the neighbor is defined with "neighbor" command, after sending a Hello, but before receiving a Hello from that neighbor.

Init: A Hello has been received from the neighbor, but did not have the local router's RID in it, or did not pass the verification check.

2Way: A Hello has been received and the local router's RID is included.

ExStart: negotiating the DBD sequence and the Master/Slave logic used for DBD packets.

Exchange: Finished negotiating the DBD process and currently exchanging the DBD packets.

Loading: DBD packets are exchanged, and the routers area currently sending LSR, LSU and LSAck packets.

Full: Neighbors are fully adjacent.
The LS sequence number for an LSA begins at value ___ and ends ___.
0x80000001 to 0x7FFFFFFF
OSPF Refresh and Flush LSA timers.
Refresh - 30 minutes (1800 seconds)
Flush - 1 hour (3600 seconds)
OSPF Metric formula.
Reference Bandwidth/Interface Bandwidth
Changing the default OSPF reference bandwidth.
Router configuration command:
auto-cost reference-bandwidth <bandwidth-in-mbps>

R1(config)#router ospf 1
R1(config-router)#auto-cost reference-bandwidth 1000

Note: The default reference-bandwidth is 100Mbps
Configure Type-3 LSA filtering
Router configuration command:
area <area-id> filter-list prefix <prefix-name/number> {in | out}

Global configuration command:
ip prefix-list {name |number} {deny | permit} <ip-prefix> [{ge <prefix> | le <prefix>}]

R1(config)#ip prefix-list FILTER deny 192.168.1.0/24 le 26
R1(config)#router ospf 1
R1(config-router)#area 1 filter-list prefix FILTER out
Filtering OSPF routes added to the routing table.
Router configuration command:
distribute-list {prefix <name> | ACL <acl# | name> | route-map <name>} {in | out}

R1(config)#ip prefix-list FILTER 10.1.1.0/24
R1(config)#router ospf 1
R1(config-router)#distribute-prefix prefix FILTER in
Manual summarization at ABR.
Router configuration command:
area <area-#> range <ip-address> <mask> [cost <cost-#>]

R1(config-router)#area 1 range 10.1.2.0 255.255.254.0
Configuring Virtual-link authentication.
Router configuration commands:
area <transit-area-#> virtual-link <neighbor-rid> authentication message-digest
area <transit-area-#> virtual-link <neighbor-rid> message-digest-key <key-#> md5 <string>

R1config)#router ospf 1
R1(config-router)#area 1 virtual-link 3.3.3.3 authentication message-digest
R1(config-router)#area 1 virtual-link 3.3.3.3 message-digest-key 1 md5 cisco
Default interface mode for OSPF physical interface, sub-interface multipoint and sub-interface point-to-point links.
Physical interface and point-to-multipoint subinterface: Multipoint
Point to point subinterface: Point to point
OSPF Interface network type that avoid the election of DR and BDR over frame-relay.
Point to multipoint
Point to multipoint non-broadcast