Dynamic Routing Protocols Flashcards

1
Q

OSPF

A

Open Shortest Path First:
Link State Protocol - each router maintains identical databases describing the network topology.
Uses Dijkstra’s algorithm - each router builds a tree with the shortest paths.
Advantages:
Scalable to large networks
Faster convergence than distance-vector routing protocols
Relatively quiet during steady-state conditions (periodic refresh every 30 minutes. Otherwise only updates when there are changes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

OSPF Routers

A

All OSPF networks must have at least one area - the backbone area, which is the core of the network and routers with at least one interface connected to it are backbone routers.

Area Border Routers (ABRs) are connecting other areas to the backbone area.

config range is available to ABRs to configure route summarization

Autonomous system boundary routers (ASBR) allow you to import external non-OSPF routes into an OSPF network. Can summarize these routes on ASBRs with command config summary-address

By default, OSPF area type is regular, but you can configure stub and nssa (Not-so-stubby area) area types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Stub Area

A

ABR can advertise routes from this type to the backbone area whil;e it advertises external routes to the stub area only though a default route.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

NSSA

A

Similar to stub area except that they can have an ASBR, allowing to the ABR to advertise external routes to the backbone area.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Point-to-point network type

A

This is the normal type when routers are connected directly.

In the case of multiple dialup connections with net-device disabled, you must configure the type to point-to-multipoint: The hub creates a single IPsec virtual interface that is shared by all IPsec clients connecting to the same dial-up VPN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

OSPF Protocol Redistribution

A

Can manually filter routes by seting the redistribution of the other routing protocols. Particularly useful for ASBRs to specify the redistribution of other protocols, like RIP or static routes, to tother areas. Disabled by default

config router osfp
config redistribute ?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Filter Method: Access Lists

A

Simple(based on prefixes)
Prevent injecting routes into the routing tables with the parameter distribute-list-in [BGP: distribute-list-out parameter to prevent advertising routes to neighbors]
can also filter routes distributed from other protocols (connected, static, or RIP) in distribute-list configuration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Filter Method: Prefix Lists

A

Simple (based on prefixes with logical operator added)
Applies only to distribute-list-in
[BGP: Prevent injecting routes into the routing tables with the parameter prefix-list-in or advertising routes to neighbors with parameter prefix-list-out]
ge and le parameters added in the rule config for more granularity on the prefix match

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Filter Method: Route Map

A

Advanced (access and prefix lists can be route map objects)
Filter incoming external routes with the parameter distribute-route-map-in
Can also filter routes redistributed by other protocols in config redistribute <bgp |connected | isis | rip | static >

[BGP: Filter injecting and advertising routes with parameters route-map-in and route-map-out]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

OSPF commands

A

get router info ospf <options>
neighbor - status of all the ospf neighbors and their adjacency states
interface - status per interface, including number of adjacencies
status - Full status, including the router ID, features negotiated, number of areas attached to this router, and number of fully adjacent neighbors
database brief - complete link state database (LSDB) ordered by link state advertisement (LSA) types
database router lsa - Further details on type 1 LSAs</options>

get router info bfd neighbor - BRF negotiation status when BFD is enabled on OSPF routers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

OSPF ECMP

A

OSPF works by default with ECMP RFC 2328

RFC 2328 introduces new path preference rules:
-Intra-area paths using non-backbone areas are most preferred
-Intra-area backbone paths and inter-area paths have equal preference
-Prefers intra-area routes in non backbone areas to reduce backbone overhead

Can enable ECMP RFC 1583, where the path selection is based solely on cost. It is recommended to enable when you want to reach external routes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

OSPF over IPsec

A

OSPF can be protected using IPsec VPN tunnels. Two most commonly used implementations of OSPF over IPsec VPN are:
Site-to-Site
Dial-up (hub and spoke)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Virtual Link

A

With an NSSA, can integrate it into the OSPF Network with a virtual link. When you configure a virtual link on both routers, you allow a remote are to virtually connect directly to the backbone area

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

BGP

A

Border Gateway Protocol - underlying global routing system of the internet. Distance Vector protocol that sends its entire routing table to directly connected neighbors.

Uses Autonomous Systems (AS).

IBGP - Internal BGP
EBGP - External BGP

By default, FGT BGP doesn’t advertise prefixes from other protocols. A non-BGP route can be redistributed into BGP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

RIB

A

Routing Information Bases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

BGP commands

A

get router info <options></options>

bgp summary - BGP status of the router and all of its neighbors, including: the AS, packet counters, and the length of time the neighbor has been up
bgp neighbors - Details of the neighbors, including: peer IP address and router ID, remote AS, BGP state, and negotiated capabilities
bgp network - Displays the BGP database
routing-table bgp - Displays the BGP routing table

17
Q

ECMP with BGP routes

A

Must enable EBGP or IBGP multipath

config router bgp
set ebgp-multipath enable
end

Allows FGT to load balance outgoing traffic.

18
Q

Loopback interfaces as BGP source

A

because they stay up, unlike physical interfaces

set update-source loopback_interface
set ebgp-enforce-multihop enable (required because loopback is not the next hop)

19
Q

neighbor-group command

A

Allows FGT to apply common settings in the neighbor group for each BGP peer relationship

Useful in an SD-WAN overlay design

config router bgp

config neighbor-group
edit SpokeISP1
set interface ISP1
set remote-as 65100
next
end

config neighbor-range

set neighbor-group SpokeISP1

20
Q

BGP Convergence Steps

A

Steps:
Installing a new path in the routing and forwarding tables
Processing and finding an alternate path
Fast Failure detection and information propagation

21
Q

Route Reflectors

A

AKA RRs: act as concentrators for IBGP-speaking routers

set route-reflector-client enable -> defines which neighbors are the clients

Helps reduce the number of IBGP sessions inside an AS. RR forwards the routes learned from one peer to the other peers. If you configure these, you don’t need to create a full mesh IBGP network. Improves BGP convergence

22
Q

BFD Parameter

A

Bidirectional Forwarding Detection - has a keepalive timer configured in seconds. enable for faster failure detection (in less that 1 second).

Configure it on both connectede routers and their corresponding interfaces, and for each neighbor and for multihop paths

set bfd enable
set ebgp-enforce-multihop -> the check is performed using a template -> config router bfd -> config multihop-template

23
Q

graceful-restart command

A

Prevent traffic interruption during HA failover. Necessary since BGP router daemon process is only running on primary unit

HA cluster advertises that it is going offline

Enable to parameter on both connected routers

config router bgp

set graceful-restart enable

config neighbor

set capability-graceful-restart enable

24
Q

BGP with FMGR

A

can create BGP templates in FMGR GUI and use the metadata variables to help configure a large BGP environment.

Another option is to import the BGP config from a device or VDOM.

Device manager > Provisioning Templates > BGP Template