Example usage:
To add route redistribution settings:
AT-9724TS:4# create route redistribute dst rip src ospf all
metric 2
Command: create route redistribute dst rip src ospf all
metric 2
S u c c e s s .
A T - 9 7 2 4 T S : 4 #
config route redistribute dst ospf src
Purpose Used configure route redistribution settings for the exchange of RIP routes to OSPF routes on the Switch.
Syntax config route redistribute dst ospf src [static | rip | local] {mettype [1 | 2] | metric <value
0-65535>}
Description Route redistribution allows routers on the network – that are running different routing protocols to exchange
routing information.This is accomplished by comparing the routes stored in the various router’s routing tables
and assigning appropriate metrics.This information is then exchanged among the various routers according to
the individual routers current routing protocol.The Switch can 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 switch is also redistributed.
Parameters src [static | rip | local] – Allows the selection of the protocol of the source device.
mettype – allows the selection of one of the methods for calculating the metric value.
Type-1 calculates the metric (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 #
Routing information source – RIP: the Static Route table, and the Local interface routing information. Routing information will be redistributed to OSPF.The
following table lists the allowed values for the routing metrics and the types (or forms) of the routing information that will be redistributed.
226
Allied Telesyn AT-9724TS High-Density Layer 3 Stackable Gigabit Ethernet Switch • Command Line Interface Reference Manual