xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
224
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]}
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.