You are on page 1of 3

ospf ccnp

neighbor table
topology road map of hte network
routing gosse the best route best of the best

the larger the area the less efficient

r1
s0/0
172.16.1.1
conf t
int loo 0
ip add 10.1.0.0 255.255.255.255
ex
int loo 1
ip add 10.1.1.0 255.255.255.255
ex
int loo 2
ip add 10.1.2.0 255.255.255.255
ex
int loo 3
ip add 10.1.3.0 255.255.255.255
ex
int loo 4
ip add 10.1.4.0 255.255.255.255
ex
int loo 5
ip add 10.1.5.0 255.255.255.255
ex
int loo 6
ip add 10.1.6.0 255.255.255.255
ex
int loo 7
ip add 10.1.7.0 255.255.255.0
ex

r2 s0/0 172.16.1.2
s0/0 172.16.2.2

r3
s0/0
172.16.2.3

router ospf
router id 1.1.1.1
network 10.

R3#show ip ro
R3#show ip ro 10.1.0.0 255.255.0.0 longer-prefixes

r2
show run | s router ospf
to summarize
conf t
router ospf 1
area 0 range 10.1.0.0 255.255.248.0
area 1 range 10.2.0.0 255.255.248.0

redis
R3
no router ospf 1
router rip version 2
no auto-summ
network

R2
router rip version 2
no auto-summ
network

router ospf 1
redis rip metric 20

summ-add 10.2.0.0 255.255.248.0

PBR

create acl
conf t
ip access-list standard SLACKER
permit host 192.168.1.20
ex
ip access-list extended PROD
permit tcp host 192.168.1.21 any eq 23
permit tcp host 192.168.1.21 any eq 443
exit

pag inenter ibig sabihin by def permit10
route-map CORP_POLICY
match ip-add Slacker
set ip next-hop 201.1.1.2
do show route-map
exit
route-map CORP_POLICY permit 20
match ip add PROD
set ip next-hop 200.1.1.2

conf t
route-map CORP_POLICY permit 30
set ip next-hop 200.1.1.2
ex
int fa0/0
ip policy route-map CORP_POLICY

debug ip policy

cl
def gateway 192.168.1.1
ping 200.1.1.2

#2
SLA: Measurement-based routing