C H A P T E R 17

RRD

RRD allows the exchange of routing information between different routing protocols running on the same router. It enables a routing protocol to advertise routes that are learned by other means, such as another routing protocol, static configuration, or direct connection. While running a single routing protocol throughout an entire IP internetwork may be desirable, multi-protocol routing is widespread for a number of reasons. For example, company mergers, multiple departments managed by different network administrators, and multi-vendor environments create situations where a single routing protocol cannot be used. Running different routing protocols is also often part of a network design. In any case, having a multi protocol environment makes redistribution a necessity.

When multiple routing protocols are used, routers in the same autonomous system (AS) run the same protocol to compute routes within the autonomous system. A router that connects two or more autonomous systems is known as a border router. A border router advertises routing information from one AS to other AS(s). Different routing protocols use different and sometimes incompatible algorithms and metrics. It is only possible to redistribute routing information for compatible metrics.

##

17.1 RRD Commands

The list of CLI commands for the configuration of RRD is as follows:

- as-num

- router-id

- export ospf

- redistribute-policy

- default redistribute-policy

- show ip protocols

- show redistribute-policy

- show redistribute information

### 17.1.1 `as-num`

Sets the AS number for the router.

    as-num 1-65535

Mode | Global Configuration
Default | 0
Example | SEFOS(config)# as-num 5
Notes | The RRD Module must be enabled before any routing protocol module is configured.

#### Related Commands

- show redistribute information - Displays RTM (Route MAP) RRD status for registered protocols

### 17.1.2 `router-id`

Sets the router identifier’s address for the router.

    router-id addr

Mode | Global Configuration
Example | SEFOS(config)# router-id 12.0.0.1
Notes | The `router-id` must be one of the IP addresses of the IP interfaces configured in the switch.

#### Related Commands

- show redistribute information - Displays RTM RRD status for registered protocols

### 17.1.3 `export ospf`

Enables redistribution of OSPF area or external routes to the protocol. The `no` form of the command disables redistribution of OSPF area or external routes to the protocol.

    export ospf {area-route | external-route} {rip}

    no export ospf {area-route | external-route} {rip}

Mode | Global Configuration
Example | SEFOS(config)# export ospf area-route rip

#### Related Commands

- show ip protocols - Displays information about the active routing protocol process

### 17.1.4 `redistribute-policy`

Adds the permit or deny redistribution policy. The `no` form of the command removes the permit or deny redistribution policy.

    redistribute-policy {permit|deny} dest-ip dest-range {connected | static | rip | ospf} {rip | ospf | all}

    no redistribute-policy dest-ip dest-range

Syntax Description | permit - Sets the default rule for all prefixes to `permit`. deny - Sets the default rule for all prefixes to `deny`. dest-ip - Destination IP address. dest-range - Destination range. connected - Connected routes. static - Static routes. rip - Routing information protocol. ospf - Open shortest path first. all - All.
Mode | Global Configuration
Default | Permit all.
Example | SEFOS(config)# redistribute-policy permit 10.0.0.0 0.0.0.255 connected ospf
Notes | The addresses learnt within the specified range through the specified routing protocol will be redistributed to other routing protocols, if permit is used and will not be redistributed to other routing protocols, if deny is used.

#### Related Commands

- show redistribute-policy - Displays route redistribution filters

### 17.1.5 `default redistribute-policy`

Sets the default behavior of RRD control table.

    default redistribute-policy {permit | deny}

Syntax Description | permit - Sets the default rule for all prefixes to `permit` deny - Sets the default rule for all prefixes to `deny`
Mode | Global Configuration
Example | SEFOS(config)# default redistribute-policy permit

#### Related Commands

- show redistribute-policy - Displays route redistribution filters

### 17.1.6 `show ip protocols`

Displays information about the active routing protocol process.

    show ip protocols

Mode | Privileged EXEC
Example | SEFOS# show ip protocols Routing Protocol is rip RIP2 security level is Maximum Redistributing : rip Output Delay is disabled Retransmission timeout interval is 5 seconds Number of retransmission retries is 36 Default metric is 3 Auto-Summarisation of routes is enabled Routing for Networks : 10.0.0.0 30.2.0.0 Routing Information Sources : Interface Specifi Address Summarisation : Interface vlan1 Sending updates every 30 seconds Invalid after 180 seconds Flushed after 120 seconds Send version is 1 2, receive version is 1 2 Authentication type is none Split Horizon with poissoned reverse is enabled Installs default route received Originate default route Interface vlan2 Sending updates every 30 seconds Invalid after 180 seconds Flushed after 120 seconds Send version is 2, receive version is 2 Authentication type is none Split Horizon with poissoned reverse is enabled
| Restrcts default route installation Restricts default route origination Routing Protocol is "ospf" Router ID 0.0.0.0 Number of areas in this router is 0 . 0 normal 0 stub 0 nssa Routing for Networks: Passive Interface(s): Routing Information Sources:
| Gateway Distance Last Update(secs) Distance: (default is 121) Routing Protocol is "bgp 0" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set IGP synchronization is disabled Neighbor(s): Address Routing Information sources: Gateway Last Update
Notes | The information displayed by this command is useful in debugging routing operations.

#### Related Commands

- export ospf - Enables redistribution of OSPF area or external routes to protocol

### 17.1.7 `show redistribute-policy`

Displays route redistribution filters.

    show redistibute-policy

Mode | Privileged EXEC
Example | SEFOS# show redistribute-policy Destination Range SrcProto DestProto Flag ----------- ----- -------- ----------- --- 0.0.0.0 255.255.255.255 none others Deny 10.0.0.0 255.0.0.0 rip all Allow

#### Related Commands

- redistribute-policy - Adds the permit or deny redistribution policy

- default redistribute-policy - Sets the default behavior of RRD control table

### 17.1.8 `show redistribute information`

Displays RTM RRD status for registered protocols.

    show redistribute information

Mode | Privileged EXEC
Example | SEFOS# show redistribute information Router ID is 0.0.0.0 AS Number is 0 Current State is disabled ProtoName OspfAreaRoutes OspfExtRoutes --------- -------------- ------------- other Disable Disable local Disable Disable static Disable Disable rip Disable Disable bgp Disable Disable

#### Related Commands

- as-num - Sets the AS number for the router

- router-id - Sets the router identifier for the router

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.