D-Link DGS-3620-52P CLI Guide - Page 252
create route redistribute dst ospf src
View all D-Link DGS-3620-52P manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 252 highlights
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide DGS-3620-28SC:admin#show route preference Command: show route preference Route Preference Settings Protocol ---------RIP Static Default Local OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP Preference ---------100 60 1 0 80 90 110 115 70 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 } 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. - 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. 247