**************************** Configure Alias **************************** alias exec sir sh ip route alias exec srr sh run | section router alias exec siib sh ip interface brief alias exec sirc sh ip route | inc C ******************************************************** Lab # 6 - a Multi-Area/Multi-Domain Topology ******************************************************** ==================================== 1. Configuring Configure EIGRP 111 ==================================== ----- R1 ----- router eigrp 111 network 192.1.17.0 network 192.1.18.0 network 11.0.0.0 ----- R7 ----- router eigrp 111 network 192.1.17.0 network 7.0.0.0 network 77.0.0.0 network 107.0.0.0 ----- R8 ----- router eigrp 111 network 192.1.18.0 network 8.0.0.0 network 88.0.0.0 ==================================== 2. Configure OSPF - Area 0 ==================================== ----- R1 ----- router ospf 1 router-id 0.0.0.1 network 192.1.12.0 0.0.0.255 area 0 network 192.1.13.0 0.0.0.255 area 0 network 1.0.0.0 0.255.255.255 area 0 ----- R2 ----- router ospf 1 router-id 0.0.0.2 network 192.1.12.0 0.0.0.255 area 0 network 2.0.0.0 0.255.255.255 area 0 ----- R3 ----- router ospf 1 router-id 0.0.0.3 network 192.1.13.0 0.0.0.255 area 0 network 3.0.0.0 0.255.255.255 area 0 ==================================== 3. Configure OSPF - Area 10 ==================================== ----- R2 ----- router ospf 1 network 192.1.24.0 0.0.0.255 area 10 network 22.0.0.0 0.255.255.255 area 10 ----- R4 ----- router ospf 1 router-id 0.0.0.4 network 192.1.24.0 0.0.0.255 area 10 network 4.0.0.0 0.255.255.255 area 10 network 44.0.0.0 0.255.255.255 area 10 network 105.1.4.0 0.0.0.255 area 10 network 105.1.5.0 0.0.0.255 area 10 network 105.1.6.0 0.0.0.255 area 10 network 105.1.7.0 0.0.0.255 area 10 network 192.1.40.0 0.0.0.255 area 10 ----- R10 ----- Interface E 0/1 ip address 192.1.110.10 255.255.255.0 no shut ! router ospf 1 router-id 0.0.0.10 network 192.1.40.0 0.0.0.255 area 10 network 192.1.110.0 0.0.0.255 area 10 network 10.0.0.0 0.255.255.255 area 10 network 100.0.0.0 0.255.255.255 area 10 network 101.0.0.0 0.255.255.255 area 10 network 102.0.0.0 0.255.255.255 area 10 network 103.0.0.0 0.255.255.255 area 10 ----- R11 ----- router ospf 1 router-id 0.0.0.11 network 192.1.110.0 0.0.0.255 area 10 network 111.111.111.0 0.0.0.255 area 10 ==================================== 4. Configure OSPF - Area 0 ==================================== ----- R3 ----- router ospf 1 network 192.1.35.0 0.0.0.255 area 20 network 33.0.0.0 0.255.255.255 area 20 ----- R5 ----- router ospf 1 router-id 0.0.0.5 network 192.1.35.0 0.0.0.255 area 20 network 192.1.56.0 0.0.0.255 area 20 network 5.0.0.0 0.255.255.255 area 20 network 55.0.0.0 0.255.255.255 area 20 ----- R6 ----- router ospf 1 router-id 0.0.0.6 network 192.1.56.0 0.0.0.255 area 20 network 6.0.0.0 0.255.255.255 area 20 ==================================== 5. Configure EIGRP 222 ==================================== ----- R6 ----- router eigrp 222 network 192.1.69.0 network 66.0.0.0 ----- R9 ----- router eigrp 222 network 192.1.69.0 network 9.0.0.0 network 99.0.0.0 ==================================== 6. Configuring Redistribution ==================================== ----- R1 ----- router eigrp 111 redistribute ospf 1 metric 10 10 10 10 10 ! router ospf 1 redistribute eigrp 111 ----- R6 ----- router eigrp 222 redistribute ospf 1 metric 10 10 10 10 10 ! router ospf 1 redistribute eigrp 222 ****************************************************** Lab # 7 - Configuring Inter-Area Route Summarization ****************************************************** ----- R2 ----- router ospf 1 area 10 range 105.1.4.0 255.255.252.0 area 10 range 100.0.0.0 252.0.0.0 ****************************************************** Lab # 8 - Configuring External Route Summarization ****************************************************** ----- R7 ----- Interface loo101 ip address 107.1.20.1 255.255.255.0 Interface loo102 ip address 107.1.21.1 255.255.255.0 Interface loo103 ip address 107.1.22.1 255.255.255.0 Interface loo104 ip address 107.1.23.1 255.255.255.0 ! router eigrp 111 network 107.0.0.0 ----- R1 ----- router ospf 1 summary-address 107.1.20.0 255.255.252.0 ****************************************************** Lab # 9 - Configuring LSA Type 3 Filtering ****************************************************** ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Requirement: Block network 55.0.0.0/8 from entering area 10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- R2 ----- ip prefix-list PL1 deny 55.0.0.0/8 ip prefix-list PL1 permit 0.0.0.0/0 le 32 ! router ospf 1 area 10 filter-list prefix PL1 in *************************************************** Lab # 10A - Configuring Clear Text Authentication *************************************************** +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Requirement: Configure Clear Text Authentication between R2,R4 & R10 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- R2 ----- Interface E 0/1 ip ospf authentication-key Cisco123 ip ospf authentication ----- R4 ----- router ospf 1 area 10 authentication ! Interface E 0/0 ip ospf authentication-key Cisco123 ! Interface E 0/1 ip ospf authentication-key Cisco123 ----- R11 ----- Interface E 0/0 ip ospf authentication-key Cisco123 ip ospf authentication ************************************************** Lab 10B- Configuring MD5 Authentication ************************************************** ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Requirement: Configure MD5 Authentication between R1, R2 & R3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- R1 ----- router ospf 1 area 0 authentication message-digest ! Interface E 0/0 ip ospf message-digest-key 11 md5 Cisco123 ! Interface E 0/1 ip ospf message-digest-key 11 md5 Cisco123 ----- R2 ----- Interface E 0/0 ip ospf authentication message-digest ip ospf message-digest-key 11 md5 Cisco123 ----- R3 ----- Interface E 0/0 ip ospf authentication message-digest ip ospf message-digest-key 11 md5 Cisco123 ************************************************** Lab 10C- Configuring SHA-256 Authentication ************************************************** ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Requirement: Configure SHA-256 Authentication between R3 & R5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- R3 ----- key chain ABC key 1 key-string Cisco123 cryptographic-algorithm hmac-sha-256 ! Interface E 0/1 ip ospf authentication key-chain ABC ----- R5 ----- key chain ABC key 1 key-string Cisco123 cryptographic-algorithm hmac-sha-256 ! Interface E 0/0 ip ospf authentication key-chain ABC ********************************************* Lab # 11 - Area Types ********************************************* ==================== Stub Area ==================== ------------------- Characteristics: ------------------- 1. The ABR blocks Type 5 LSA's from Propagating into the Area. 2. The ABR injects a Default Route into the Area (Type 3 LSA). ------------------- Configuration: ------------------- On ALL Routers within the Area.(ABR is also within the Area) ---- R2 ---- router ospf 1 area 10 stub ---- R4 ---- router ospf 1 area 10 stub ---- R10 ---- router ospf 1 area 10 stub ---- R11 ---- router ospf 1 area 10 stub ==================== Totally Stubby Area ==================== ------------------- Characteristics: ------------------- 1. It is an extension of the Stub Area (2 Characteristics) 2. The ABR also block Inter-Area routes (Type 3 LSA) from other areas. ------------------- Configuration: ------------------- Only on the ABR. (Requires the Area to be already configured as Stub) ---- R2 ---- router ospf 1 area 10 stub no-summary ========================== Not-So-Stubby-Area (NSSA) ========================== ------------------- Characteristics: ------------------- 1. The ABR blocks Type 5 LSA's from Propagating into the Area from the Backbone. 2. The Internal ASBR will inject the external routes as Type 7 Routes (O N2). 3. The ABR will convert the Type 7 into Type 5 and propagate them into the Backbone. Note: At this time, the area will loose connectivity towards the external routes from the backbone. ------------------- Configuration: ------------------- On ALL Routers within the Area.(ABR is also within the Area) ---- R3 ---- router ospf 1 area 20 nssa ---- R5 ---- router ospf 1 area 20 nssa ---- R6 ---- router ospf 1 area 20 nssa ==================== NSSA - Stub ==================== ------------------- Characteristics: ------------------- 1. It is an extension of the NSSA Area (3 Characteristics) 2. The ABR will inject a default route into the Area as a Type 7. ------------------- Configuration: ------------------- Only on the ABR. (Requires the Area to be already configured as NSSA) ---- R3 ---- router ospf 1 area 20 nssa default-information-originate ======================= NSSA - Totally Stubby ======================= ------------------- Characteristics: ------------------- 1. It is an extension of the NSSA Area (3 Characteristics) 2. The ABR will also block Type 3 Routes into the Area. 3. The ABR will inject a default route into the Area as a Type 3. ------------------- Configuration: ------------------- Only on the ABR. (Requires the Area to be already configured as NSSA) ---- R3 ---- router ospf 1 area 20 nssa no-summary ********************************************* Lab # 12 - Virtual Links ********************************************* ==================== Area 0 ==================== ---- R1 ---- router ospf 1 router-id 0.0.0.1 network 192.1.12.0 0.0.0.255 area 0 network 1.0.0.0 0.255.255.255 area 0 network 11.0.0.0 0.255.255.255 area 0 ---- R2 ---- router ospf 1 router-id 0.0.0.2 network 192.1.12.0 0.0.0.255 area 0 network 2.0.0.0 0.255.255.255 area 0 ==================== Area 10 ==================== ---- R2 ---- router ospf 1 network 22.0.0.0 0.255.255.255 area 10 network 192.1.23.0 0.0.0.255 area 10 ---- R3 ---- router ospf 1 router-id 0.0.0.3 network 192.1.23.0 0.0.0.255 area 10 network 3.0.0.0 0.255.255.255 area 10 network 33.0.0.0 0.255.255.255 area 10 network 192.1.34.0 0.0.0.255 area 10 ---- R4 ---- router ospf 1 router-id 0.0.0.4 network 192.1.34.0 0.0.0.255 area 10 network 4.0.0.0 0.255.255.255 area 10 ==================== Area 20 ==================== ---- R4 ---- router ospf 1 network 44.0.0.0 0.255.255.255 area 20 network 192.1.45.0 0.0.0.255 area 20 ---- R5 ---- router ospf 1 router-id 0.0.0.5 network 192.1.45.0 0.0.0.255 area 20 network 55.0.0.0 0.255.255.255 area 20 Requirements for a Virtual Link: 1. One of the Routers needs to be in Area 0 2. The 2 Routers need to be in the same Area. 3. The pointer to each other is the Router-id. ----- R2 ----- router ospf 1 area 10 virtual-link 0.0.0.4 ----- R4 ----- router ospf 1 area 10 virtual-link 0.0.0.2 ==================== Area 30 ==================== ---- R5 ---- router ospf 1 network 55.0.0.0 0.255.255.255 area 30 network 192.1.56.0 0.0.0.255 area 30 ---- R6 ---- router ospf 1 router-id 0.0.0.6 network 192.1.56.0 0.0.0.255 area 30 network 66.0.0.0 0.255.255.255 area 30 network 6.0.0.0 0.255.255.255 area 30 ----- R4 ----- router ospf 1 area 20 virtual-link 0.0.0.5 ----- R5 ----- router ospf 1 area 20 virtual-link 0.0.0.4 ************************************** Lab # 13 - 14 - OSPF - BFD & IP-FRR ************************************** ================================= Base Setup ================================= ------ CSR1 ------ en config t ! no ip domain-lookup line con 0 logg sync no exec-timeout ! host CSR1 ! Interface gig1 ip address 192.1.12.1 255.255.255.0 ip ospf cost 10 no shut ! Interface gig2 ip address 192.1.13.1 255.255.255.0 ip ospf cost 20 no shut ! Interface loopback0 ip address 1.1.1.1 255.255.255.255 ! router ospf 1 router-id 0.0.0.1 network 192.1.12.0 0.0.0.255 area 0 network 192.1.13.0 0.0.0.255 area 0 network 1.0.0.0 0.255.255.255 area 0 ------ CSR2 ------ en config t ! no ip domain-lookup line con 0 logg sync no exec-timeout ! host CSR2 ! Interface gig1 ip address 192.1.12.2 255.255.255.0 ip ospf cost 10 no shut ! Interface gig2 ip address 192.1.24.2 255.255.255.0 ip ospf cost 10 no shut ! Interface loopback0 ip address 2.2.2.2 255.255.255.255 ! router ospf 1 router-id 0.0.0.2 network 192.1.12.0 0.0.0.255 area 0 network 192.1.24.0 0.0.0.255 area 0 network 2.0.0.0 0.255.255.255 area 0 ------ CSR3 ------ en config t ! no ip domain-lookup line con 0 logg sync no exec-timeout ! host CSR3 ! Interface gig1 ip address 192.1.13.3 255.255.255.0 ip ospf cost 20 no shut ! Interface gig2 ip address 192.1.34.3 255.255.255.0 ip ospf cost 20 no shut ! Interface loopback0 ip address 3.3.3.3 255.255.255.255 ! router ospf 1 router-id 0.0.0.3 network 192.1.13.0 0.0.0.255 area 0 network 192.1.34.0 0.0.0.255 area 0 network 3.0.0.0 0.255.255.255 area 0 ------ CSR4 ------ en config t ! no ip domain-lookup line con 0 logg sync no exec-timeout ! host CSR4 ! Interface gig1 ip address 192.1.24.4 255.255.255.0 ip ospf cost 10 no shut ! Interface gig2 ip address 192.1.34.4 255.255.255.0 ip ospf cost 20 no shut ! Interface loopback0 ip address 4.4.4.4 255.255.255.255 ! router ospf 1 router-id 0.0.0.4 network 192.1.24.0 0.0.0.255 area 0 network 192.1.34.0 0.0.0.255 area 0 network 4.0.0.0 0.255.255.255 area 0 ================================= BFD Configuration ================================= ------ CSR1 ------ Interface Gig1 bfd interval 300 min_rx 300 multiplier 3 ! Interface Gig2 bfd interval 300 min_rx 300 multiplier 3 ! router ospf 1 bfd all-interfaces ------ CSR2 ------ Interface Gig1 bfd interval 300 min_rx 300 multiplier 3 ! Interface Gig2 bfd interval 300 min_rx 300 multiplier 3 ! router ospf 1 bfd all-interfaces ------ CSR3 ------ Interface Gig1 bfd interval 300 min_rx 300 multiplier 3 ! Interface Gig2 bfd interval 300 min_rx 300 multiplier 3 ! router ospf 1 bfd all-interfaces ------ CSR4 ------ Interface Gig1 bfd interval 300 min_rx 300 multiplier 3 ! Interface Gig2 bfd interval 300 min_rx 300 multiplier 3 ! router ospf 1 bfd all-interfaces ****************************************** Show ip route 4.4.4.4 ****************************************** ****************************************** Routing entry for 4.4.4.4/32 Known via "ospf 1", distance 110, metric 21, type intra area Last update from 192.1.12.2 on GigabitEthernet1, 00:04:17 ago Routing Descriptor Blocks: * 192.1.12.2, from 0.0.0.4, 00:04:17 ago, via GigabitEthernet1 Route metric is 21, traffic share count is 1 ****************************************** ================================= IP FRR Configuration ================================= ------ CSR1 ------ router ospf 1 fast-reroute per-prefix enable area 0 prefix-priority high ------ CSR2 ------ router ospf 1 fast-reroute per-prefix enable area 0 prefix-priority high ------ CSR3 ------ router ospf 1 fast-reroute per-prefix enable area 0 prefix-priority high ------ CSR4 ------ router ospf 1 fast-reroute per-prefix enable area 0 prefix-priority high ****************************************** Show ip route 4.4.4.4 ****************************************** Routing entry for 4.4.4.4/32 Known via "ospf 1", distance 110, metric 21, type intra area Last update from 192.1.12.2 on GigabitEthernet1, 00:00:19 ago Routing Descriptor Blocks: * 192.1.12.2, from 0.0.0.4, 00:00:19 ago, via GigabitEthernet1 Route metric is 21, traffic share count is 1 Repair Path: 192.1.13.3, via GigabitEthernet2 ************************************** Lab # 15 - Prefix-suppression ************************************** ------ CSR1 ------ router ospf 1 prefix-suppression ------ CSR2 ------ router ospf 1 prefix-suppression ------ CSR3 ------ router ospf 1 prefix-suppression ------ CSR4 ------ router ospf 1 prefix-suppression ----------------- technet24.ir--------------