Chapter 33 - Route Redistribution Commands
The route redistribution commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
create route redistribute dst ospf src [static | rip | local] {mettype [1 | 2] |metric <value 0-65535>}
create route redistribute dst rip src [local | static | ospf {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2}] {metric <value 0-65535>}
config route redistribute dst ospf src [static | rip | local] {mettype [1 | 2] | metric <value 0-65535>}
config route redistribute dst rip src [local | static | ospf {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2}] {metric <value 0-65535>}
delete route redistribute {dst [rip | ospf] src [rip | local | static | ospf]}
show route redistribute {dst [rip | ospf] | src [rip | static | local | ospf]
Each command is listed, in detail, in the following sections.
create route redistribute dst ospf src
Purpose Used to add route redistribution settings for the exchange of RIP routes to OSPF routes on the Switch.
Syntax create route redistribute dst ospf src [static | rip | local] {mettype [1 | 2] | metric <value
0-65535>}
Description This command will redistribute routing information between the OSPF and RIP routing protocols to all routers
on the network that are running OSPF or RIP. Routing information entered into the Static Routing Table on the
local AT-9724TS switch is also redistributed.
Parameters src [static | rip | local] – Allows for the selection of the protocol for the source device.
mettype [1 | 2] – Allows for the selection of one of two methods of calculating the metric value.
Type-1 calculates (for RIP to OSPF) by adding the destination’s interface cost to the metric entered in
the Metric field.
Type-2 uses the metric entered in the Metric field without change.This field applies only when the
destination field is OSPF.
metric <value 0-65535> – Allows the entry of an OSPF interface cost.This is analogous to a Hop Count in the
RIP routing protocol.
Restrictions Only administrator-level users can issue this command.
Example usage:
To display the contents of the IP routing table:
AT-9724TS:4# show iproute
Command: show iproute
IP Address/Netmask G a t e w a y I n t e r f a c e C o s t P r o t o c o l
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 . 0 . 0 . 0 1 0 . 1 . 1 . 2 5 4 S y s t e m 1 D e f a u l t
1 0 . 0 . 0 . 0 / 8 1 0 . 4 8 . 7 4 . 1 2 2 S y s t e m 1 L o c a l
Total Entries: 2
A T - 9 7 2 4 T S : 4 #
223
Allied Telesyn AT-9724TS High-Density Layer 3 Stackable Gigabit Ethernet Switch • Command Line Interface Reference Manual