CCIE LAB 06 OSPF Flashcards
Master the OSPF Lab scenarios
6.3 OSPF DR/BDR Election Manipulation
• Configure R6 to be elected the OSPF Designated Router for VLANs 67 and 146.
• If R6 goes down R1 should take over the DR status for VLAN 146.
• When R6 comes back up it should become the BDR.
• Modify the DR/BDR election on the Frame Relay network to ensure that if
R5’s connection to the Frame Relay network goes down and comes back
up, full reachability is still maintained.
R6: interface FastEthernet0/0.67 ip ospf priority 255 ! interface FastEthernet0/0.146 ip ospf priority 255
All other devices:
interface Serial0/0
ip ospf priority 0
6.7 OSPF Network Loopback
• Modify the network type of a loopback interface so that the links are not advertised as host routes.
interface Loopback0
ip ospf network point-to-point
6.8 OSPF Path Selection with Auto-Cost
• Modify the global OSPF cost calculation of all devices so that a Ten Gigabit Ethernet interface has a cost of 3, and an OC-3 link has a cost of 193.
router ospf 1
auto-cost reference-bandwidth 30000
6.9 OSPF Path Selection with Cost
• Using the interface level ip ospf cost command modify the OSPF domain so that traffic from SW4 going to the Loopback 0 network of R6 uses the point-to-point Serial link between R4 and R5.
R5:
interface Serial0/1/0
ip ospf cost 10000
6.10 OSPF Path Selection with Bandwidth
• Using the interface level bandwidth keyword modify the OSPF domain so that traffic from R6 to the Loopback 0 network of SW2 is first sent to R1.
R1:
interface Serial0/0
bandwidth 10000
6.11 OSPF Path Selection with Per-Neighbor Cost
• The Frame Relay PVC between R1 & R5 has been provisioned with 512Kbps of bandwidth by the service provider, while the PVC between R4 & R5 has been provisioned at 768Kbps. Configure per-neighbor cost values on R5 to reflect the underlying bandwidth of the Frame Relay circuits connecting it to R1 and R4.
R5:
router ospf 1
neighbor 155.1.0.1 cost 58593
neighbor 155.1.0.4 cost 39062
6.12 Repairing Discontiguous OSPF Areas with Virtual-Links
• Configure the network so that full reachability is maintained if R3’s connection to SW1 goes down.
• Do not apply any configuration onto R4 to solve this task.
R1:
router ospf 1
area 1 virtual-link 150.1.6.6
R6:
router ospf 1
area 1 virtual-link 150.1.1.1
6.13 OSPF Path Selection with Non-Backbone Transit Areas
• Configure R4’s Frame Relay and point-to-point Serial links connecting to R5 to have an OSPF cost of 1.
• Modify the SPF calculation in the OSPF domain so that R6 cannot use R4 to reach area 0 by transiting area 1.
R1:
router ospf 1
no capability transit
R4: interface Serial0/0/0 ip ospf cost 1 ! interface Serial0/1/0 ip ospf cost 1
R6:
router ospf 1
no capability transit
6.14 OSPF Path Selection with Virtual-Links
• Configure the OSPF domain so that traffic from SW3 going to OSPF area 51 transits the point-to-point Serial link between R3 and R2.
R2:
router ospf 1
area 5 virtual-link 150.1.3.3
R3: interface Serial1/3 ip ospf cost 1 ! router ospf 1 area 5 virtual-link 150.1.2.2
6.15 OSPF Demand Circuit
• The point-to-point connection between R4 and R5 is a low-speed Serial link. Configure the OSPF demand circuit feature on this link to reduce periodic OSPF hello transmission and paranoid update flooding.
R4:
interface Serial0/1/0
ip ospf demand-circuit
6.16 OSPF Flooding Reduction
• Configure interfaces so that links in OSPF area 3 do not participate in periodic paranoid update LSA flooding.
interface Vlan8
ip ospf flood-reduction
6.17 OSPF Clear Text Authentication
• Configure clear-text OSPF authentication for all adjacencies in area 2 using the password CLEARKEY. Enable authentication on all interfaces in area 2 with one single command.
interface _ ip ospf authentication-key CLEARKEY ! router ospf 1 area 2 authentication
6.17 OSPF Clear Text Authentication
• R3, R6, and SW3 should only enable authentication on their links connecting to SW1.
interface FastEthernet0/0 (Vlan79)
ip ospf authentication
ip ospf authentication-key CLEARKEY
6.18 OSPF MD5 Authentication
• Configure MD5 based OSPF authentication for all adjacencies in area 0, including the Virtual-Links, using the password MD5KEY with a single command.
interface Serial0/0 ip ospf message-digest-key 1 md5 MD5KEY ! router ospf 1 area 0 authentication message-digest area 1 virtual-link 150.1.6.6 message-digest-key 1 md5 MD5KEY
6.18 OSPF MD5 Authentication
Configure MD5 based OSPF authentication and enable MD5 authentication on a per interface basis.
interface Serial0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 MD5KEY
!
router ospf 1
area 5 virtual-link 150.1.3.3 authentication message-digest
area 5 virtual-link 150.1.3.3 message-digest-key 1 md5 MD5KEY
6.19 OSPF Null Authentication
• Modify SW1 so that if a new router is added to area 2 on VLAN 7 it does not require authentication.
interface Vlan7
ip ospf authentication null
6.20 OSPF MD5 Authentication with Multiple Keys
• Enable MD5 authentication in OSPF area 1.
• R1 should authenticate R6 using the password R1R6KEY.
• R4 should authenticate R6 using the password R4R6KEY.
R1:
interface FastEthernet0/0
ip ospf authentication message-digest
ip ospf message-digest-key 16 md5 R1R6KEY
R4:
interface FastEthernet0/1
ip ospf authentication message-digest
ip ospf message-digest-key 46 md5 R4R6KEY
R6:
interface FastEthernet0/0.146
ip ospf authentication message-digest
ip ospf message-digest-key 16 md5 R1R6KEY
ip ospf message-digest-key 46 md5 R4R6KEY
6.21 OSPF Internal Summarization
• Configure R5 to advertise a summary route for the VLAN 8 and 10 prefixes as they are sent into area 0.
• This summary should be as specific as possible while still encompassing all addresses in both subnets.
router ospf 1
area 3 range 155.1.8.0 255.255.252.0
6.22 OSPF Path Selection with Summarization
• Configure R3 to originate the summary route 155.1.6.0/23 in order to force traffic destined to VLAN 7 to transit R6.
• If R6’s connection to VLAN 146 is down, traffic for VLAN 7 should transit R3.
R3:
router ospf 1
area 2 range 155.1.6.0 255.255.254.0
6.23 OSPF External Summarization
• Redistribute between RIPv2 and OSPF on R4.
• R4 should advertise two summary routes that have a cost of 50 into OSPF for the prefixes learned from BB3.
router ospf 1 summary-address 30.0.0.0 255.252.0.0 summary-address 31.0.0.0 255.252.0.0 redistribute rip metric 50 subnets ! router rip redistribute ospf 1 metric 1