OSPF Commands Flashcards

1
Q

Filter out a route from being advertised outside the area where it originates but allow local routers to still see it.

A

area 1 range 172.16.2.0 255.255.255.0 not-advertise

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

Summarize routes as they are crossing an OSPF ABR

A

area range [advertise|not-advertise] [cost]
router ospf 1
area 2 range 172.16.0.0 255.255.0.0

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

Filter routes as they are crossing an OSPF ABR

A

area filter-list prefix {in | out}

ip prefix-list PREFIX-FILTER seq 5 deny 172.16.1.0/24
ip prefix-list PREFIX-FILTER seq 10 permit 0.0.0.0/0 le 32
router ospf 1
area 0 filter-list prefix PREFIX-FILTER in

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

Filter OSPF routes from entering the RIB

A

ip access-list standard ACL-OSPF-FILTER
deny 172.16.3.0
permit any
exit

router ospf 1
distribute-list ACL-OSPF-FILTER in

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

Advertise a default route into OSPF

A

default-information originate [always] [metric <metric-value>] [metric-type <type-value>]</type-value></metric-value>

ip route 0.0.0.0 0.0.0.0 100.64.1.2
router ospf 1
default-information originate

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

Modify the OSPF reference bandwidth for dynamic interface metric costing

A

auto-cost reference-bandwidth <bandwidth_in_mbps></bandwidth_in_mbps>

router ospf 1
auto-cost reference-bandwidth 40000

(sets reference bandwidth to 40 Gig)

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

Statically set the OSPF metric for an interface

A

interface gig0/1
ip ospf cost <1–65535>

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

Configure the OSPF priority for a DR/BDR election

A

interface gig0/1
ip ospf priority <0–255>

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

Show the reference bandwidth

A

‘show ip ospf | i Reference

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