DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-49
Dynamic routing protocol redistribution
On Router B, OSPF will redistribute routes in the RIP routing domain (type-1) and
BGP routes carrying the community attribute of 11:11 in BGP routing domain. RIP
will redistribute a static route of 192.168.10.0/24 in OSPF routing domain, set the
metric to 2 and advertise a default route to RIP domain.
Detailed configuration of routing devices
While redistributing routes between routing protocols, simple route filtering can be
controlled by the distribute list, which, however, cannot configure different
attributes for different routes; it will only be done by the route map. Route map
provides greater control capability than the distribution list, but the configurations
are comparatively complicated as well. Generally, the route map shall be avoided
as best as possible, so that device configurations can be simplified. This example
configures the route map to match the community attribute of BGP routes.
Configurations on Router A:
# Configure network interface
DES-7200(config)# interface gigabitEthernet 0/0
DES-7200(config-if)# ip address 192.168.10.1 255.255.255.0
DES-7200(config)# interface loopback 1
DES-7200(config-if)# ip address 192.168.100.1 255.255.255.0
DES-7200(config-if)# no ip directed-broadcast
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# ip address 192.168.12.55 255.255.255.0
# Configure OSPF
DES-7200(config)# router ospf 12