D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
715
create route redistribute dst rip
Purpose Used to redistribute routing information from other routing protocols to RIP.
Syntax
create route redistribute dst rip src [local |static | bgp | ospf [all | internal | external |
type_1 | type_2 | inter+e1 | inter+e2]] {metric <value 0-16>}
Description This command is used to redistribute routing information from other routing protocols to RIP.
When the metric is specified as 0, the metric in the original route will become the metric of
the redistributing RIP routes transparently. If the metric of the original routes is greater than
16, the route will be not redistributed.
Parameters
dst - Specify the target protocol.
src - Specify the source protocol.
static - To redistribute static routes to RIP.
local - To redistribute local routes to RIP.
bgp - To redistribute BGP routes to RIP.
ospf - To redistribute OSPF routes to RIP.
all - To redistribute both OSPF AS-internal and OSPF AS-external routes to RIP.
internal - To redistribute only the OSPF AS-internal routes.
external - To redistribute only the OSPF AS-external routes, including type-1 and
type-2 routes.
type_1 - To redistribute only the OSPF AS-internal type-1 routes.
type_2 - To redistribute only the OSPF AS-internal type-2 routes.
inter+e1 - To redistribute only the OSPF AS-internal type-1 and OSPF AS-internal
routes.
inter+e2 - To redistribute only the OSPF AS-internal type-2 and OSPF AS-internal
routes.
metric - Specifies the RIP route metric value for the redistributed routes. The valid value is 0
to 16. The default value is 0.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To add route redistribution settings:
DGS-3627:admin# create route redistribute dst rip src ospf all metric 2
Command: create route redistribute dst rip src ospf all metric 2
Success.
DGS-3627:admin#
create route redistribute dst bgp
Purpose Used to redistribute routing information from other routing protocols to BGP.
Syntax
create route redistribute dst bgp src [static | rip | local | ospf [all | internal | external |
type_1 | type_2 | inter+e1 | inter+e2]] {metric <uint 0-4294967295> | route_map
<map_name 16>}
Description This command is used to redistribute routing information from other routing protocols to BGP.
Parameters
dst - Specify the target protocol.
src - Specify the source protocol.
static - To redistribute static routes to BGP.
local - To redistribute local routes to BGP.
rip - To redistribute RIP routes to BGP.