xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
248
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 <value
0-16777214>}(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.
<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.
Example
To configure route redistributions:
Содержание xStack DGS-3620-52P
Страница 1: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide I...
Страница 142: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 137 DGS 3620 28SC admin...
Страница 436: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 431 DGS 3620 28SC admin...
Страница 635: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 630 Success DGS 3620 28SC admin...