OSPF
distribute list pakai acl standar perlu clear ip ospf process sebelum ber efek
distribute list pake route map langsung ngubah routing table
>>>>
>>OSPF pada router ini akan terima advertise dari neighbornya tentang route ke 1.1.1.1 2.2.2.2 dan 3.3.3.3.
>>>>
>>Konfigurasi pakai route-map sbb
# sh run
!
router ospf 1
router-id 10.1.2.2
log-adjacency-changes
no auto-cost
distribute-list route-map Filter in
!
!
!
ip access-list standard DENY
permit 1.1.1.1
!
route-map Filter permit 10
match ip address DENY
!
!
>>>>
>>karena 1.1.1.1 di permit, maka masuk routing table
R2# sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 10.1.2.1, 00:00:41, FastEthernet0/0
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.2.3.0 is directly connected, FastEthernet1/0
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
>>>>
>>percobaan: permit 2.2.2.2
R2(config)#ip access-list standard DENY
R2(config-std-nacl)#permit 2.2.2.2
R2(config-std-nacl)#exi
R2(config)#exi
>>>>
>> hasilnya 2.2.2.2 masuk routing table
R2#sh ip route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/11] via 10.1.2.1, 00:00:11, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 10.1.2.1, 00:00:11, FastEthernet0/0
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.2.3.0 is directly connected, FastEthernet1/0
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
>>>>
>>percobaan: hilangkan 1.1.1.1
R2(config)#ip access-list standard DENY
R2(config-std-nacl)#no permit 1.1.1.1
R2(config-std-nacl)#exi
R2(config)#exi
R2#sh ip route
Gateway of last resort is not set
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 10.1.2.1, 00:00:09, FastEthernet0/0
10.0.0.0/30 is subnetted, 2 subnets
C 10.1.2.0 is directly connected, FastEthernet0/0
C 10.2.3.0 is directly connected, FastEthernet1/0
R2#