D-Link DGS-3620-52T CLI Guide - Page 253
config route redistribute dst ospf src
View all D-Link DGS-3620-52T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 253 highlights
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide Example To add route redistribution to OSPF: DGS-3620-28SC:admin# create route redistribute dst ospf src rip Command: create route redistribute dst ospf src rip Success. DGS-3620-28SC:admin# 18-4 config route redistribute dst ospf src Description This command is used to update the metric to be associated with the redistributed routes from a specific protocol to OSPF protocol. Format config route redistribute dst ospf src [static | rip| bgp | local] {mettype [1 | 2] | metric }(1) Parameters static - To redistribute the static routes to OSPF. rip - To redistribute RIP routes to OSPF bgp - To redistribute 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. Example To configure route redistributions: 248