D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
187
Chapter 17
Common Unicast
Routing Command List
config route preference [static | default | rip] <value 1-999>
show route preference {[local | static | default | rip]}
create route redistribute dst rip src [local | static] {metric <value 0-16>}
config route redistribute dst rip src [local | static] {metric <value 0-16>}
delete route redistribute dst rip src [local | static]
show route redistribute dst rip {src [local | static]}
show route redistribute
17-1 config route preference
Description
This command is used to configure the route type preference. The route with smaller preference
has higher priority. The preference for local routes is fixed to 0.
Format
config route preference [static | default | rip] <value 1-999>
Parameters
static - Configure the preference of static route.
default - Configure the preference of default route.
rip - Configure the preference of RIP route.
<value 1-999> - Enter the route preference value here. This value must be between 1 and 999.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure the route preference for static routes to 70:
DGS-3420-28SC:admin# config route preference static 70
Command: config route preference static 70
Success.
DGS-3420-28SC:admin#
17-2 show route preference
Description
This command is used to display the route preference of each route type.