xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
247
DGS-3620-28SC: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-3620-28SC:admin#
18-3
create route redistribute dst ospf src
Description
This command is used to redistribute the routing information from other routing protocols to OSPF.
Format
create route redistribute dst ospf src [static | rip | bgp | local] {mettype [1 | 2] | metric <value
0-16777214>}
Parameters
static
- To redistribute static routes to OSPF.
rip
- To redistribute the RIP routes to OSPF.
bgp
- To redistribute the BGP routes to OSPF.
(EI Mode Only Parameter)
local
- To redistribute the local routes to OSPF.
mettype
- (Optional) 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.
1
- Specifies that the method type value will be set to 1.
2
- Specifies that the method type value will be set to 2.
metric
- (Optional) Specifies the metric for the redistributed routes. If it is not specified or
specified as 0, the redistributed routes will be associated with the default metric 20.
<value 0-16777214>
- Enter the metric value used here. This value can be between 0 and
16777214.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.