xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
600
Example usage:
To configure the route preference for static routes to 70:
DGS-3450:admin# config route preference static 70
Command: config route preference static 70
Success.
DGS-3450:admin#
show route preference
Purpose
Used to display the route preference of each route type.
Syntax
show route preference {[local | static | default | rip]}
Description
This command is used to display route preference setting.
Parameters
local
- Display the preference of local route.
static
- Display the preference of static route.
default
- Display the preference of default route.
rip
- Display the preference of RIP route.
Restrictions
None.
Example usage:
To display the route preference for all route types:
DGS-3450:admin# show route preference
Command: show route preference
Route Preference Settings
Protocol Preference
---------- ----------
RIP 100
Static 60
Default 999
Local 0
DGS-3450:admin#
create route redistribute dst rip
Purpose
Used to redistribute routing information from other routing protocols to RIP.
Syntax
create route redistribute dst rip src [local | static] {metric <value 0-16>}
Description
This command is used to redistribute routing information from other routing protocols to RIP.
When the metric is specified as 0, the metric in the original route will become the metric of
the redistributing RIP routes transparently. If the metric of the original routes is greater than
16, the route will be not redistributed.
Parameters
dst
- Specify the target protocol.
src
- Specify the source protocol.
static
- To redistribute static routes to RIP.
local
- To redistribute local routes to RIP.
metric
- Specifies the RIP route metric value for the redistributed routes. The valid value is 0
to 16. The default value is 0.