News Update :

Route Filtering and Redistribution

shows an example for the Zebra redistribution commands. They pretty much work as under Cisco IOS Software. Consult Cisco.com for further information. Note that GateD provides similar route-filter facilities.

Example 9-24. Zebra Redistribution Example

callisto-ospfd# show running-config



Current configuration:

!

hostname callisto-ospfd

password 8 m6eyKycFMHniQ

enable password 8 bjYlnA9YLBWyM

log file /var/log/ospfd.log

service advanced-vty

service password-encryption

!

!

!

interface lo

!

interface eth0

!

interface eth1

ip ospf message-digest-key 1 md5 zebra

!

interface ipsec0

!

interface ipsec1

!

interface ipsec2

!

interface ipsec3

!

interface eth1:1

ip ospf message-digest-key 1 md5 zebra

!

interface lo1

!

interface wp1chdlc

ip ospf network point-to-point

!

router ospf

ospf router-id 192.168.1.1

compatible rfc1583

redistribute connected

redistribute static

redistribute rip route-map REDIMAP

network 192.168.1.0/24 area 0

network 192.168.14.0/24 area 5

network 192.168.45.0/24 area 0

network 192.168.99.0/30 area 0

area 0.0.0.0 authentication message-digest

area 5 virtual-link 192.168.201.4

distribute-list DISTRIMAP out static

capability opaque

!

access-list 1 remark vty-protection

access-list 1 permit 127.0.0.1

access-list 1 permit 192.168.1.0 0.0.0.255

!

route-map DISTRIMAP permit 1

match ip address 1

set metric 10

!

route-map REDIMAP permit 1

match ip address 1

set metric-type type-1

!

line vty

access-class 1

exec-timeout 0 0

!

end
Share this Article on :

0 comments:

Post a Comment

 

© Copyright Cisco elearning 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.