D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
714
DGS-3627:admin# show route preference
Command: show route preference
Route Preference Settings
Protocol Preference
---------- ----------
RIP 100
Static 60
Default 1
Local 0
OSPF Intra 80
OSPF Inter 90
OSPF ExtT1 110
OSPF ExtT2 115
EBGP 70
IBGP 130
DGS-3627:admin#
create route redistribute dst ospf
Purpose Used to redistribute routing information from other routing protocols to OSPF.
Syntax
create route redistribute dst ospf src [static | rip | local | bgp] {mettype [1 | 2] | metric
<value 0-16777214>}
Description This command is used to redistribute routing information from other routing protocols to
OSPF.
Parameters
dst - Specify the target protocol.
src - Specify the source protocol.
static - To redistribute static routes to OSPF.
local - To redistribute the local routes to OSPF.
rip - To redistribute the RIP routes to OSPF.
bgp - To redistribute the BGP routes to OSPF.
mettype - Allows the selection of one of two methods for calculating the metric value. 1
calculates the metric (for other routing protocols to OSPF) by adding the destination’s
interface cost to the metric entered in the Metric field. 2 uses the metric entered in the Metric
field without change. This field applies only when the destination field is OSPF. If the metric
type is not specified, it will be type 2.
metric - Specifies the metric for the redistributed routes. The range is 0 to 16777214.
If it is not specified or specified as 0, the redistributed routes will be associated with the
default metric 20.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To add route redistribution to OSPF:
DGS-3627:admin# create route redistribute dst ospf src rip
Command: create route redistribute dst ospf src rip
Success.
DGS-3627:admin#