D-Link xStack DGS-3610 Series Configuration Manual page 390

Hide thumbs Also See for xStack DGS-3610 Series:
Table of Contents

Advertisement

Chapter 30 Protocol-Independent Configuration
30.2.3
Configuration Examples:
30.2.3.1 Example of Static Route Redistribution
Configuration requirements:
One device exchanges route information with other devices via the RIP. In addition, there are
three static routes. The RIP is only allowed to redistribute the two routes of 172.16.1.0/24
and 192.168.1.0/24.
Configuration of the Routers:
This is a common route filtering configuration example in practice, by configuring the
distribute list. Additionally, note that the following configuration does not specify the metric
for the redistributed route, so the redistributed route is a static route. The RIP will
automatically distribute the metric. In the RIP configuration, the version must be specified
and the route summary must be disabled, since the access list allows the 172.16.1.0/24
route. If the RIP is to advertise this route, it must first support the classless routes, and the
route cannot be summarized to the 172.16.0.0/16 network when doing so.
DGS-3610(config)# ip route 172.16.1.0 255.255.255.0 172.200.1.2
DGS-3610(config)# ip route 192.168.1.0 255.255.255.0 172.200.1.2
DGS-3610(config)# ip route 192.168.2.0 255.255.255.0 172.200.1.4
!
DGS-3610(config)# router rip
DGS-3610(config-router)# version 2
DGS-3610(config-router)# redistribute static
DGS-3610(config-router)# network 192.168.34.0
DGS-3610(config-router)# distribute-list 10 out static
DGS-3610(config-router)# no auto-summary
!
DGS-3610(config)# access-list 10 permit 192.168.1.0
DGS-3610(config)# access-list 10 permit 172.16.1.0
30.2.3.2 Example of RIP&OSPF Redistribution
Configuration requirements:
There are three routers. Figure 30-1 shows the connection of the equipment. Router A
belongs to the OSPF routing area, router C belongs to the RIP routing area, and router B is
connected to two routing areas. Router A also advertises the two routers of 192.168.10.0/24
and 192.168.100.1/32, and router C also advertises the network routers of 200.168.3.0/24
and 200.168.30.0/24.
30-8
DGS-3610 Series Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents