xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
599
DGS-3450:admin# show iproute
Command: show iproute
Routing Table
IP Address/Netmask Gateway Interface Cost Protocol
------------------ --------------- ------------ -------- --------
10.1.1.0/24 0.0.0.0 System 1 Local
192.168.1.0/24 0.0.0.0 ip1 1 Local
Total Entries : 2
DGS-3450:admin# show iproute static
Command: show iproute static
Routing Table
IP Address/Netmask Gateway Cost Protocol Backup Status
------------------ --------------- ----- -------- -------- --------
0.0.0.0/0 101.1.1.101 1 Default Backup Inactive
12.1.0.0/16 61.1.1.61 1 Static Backup Inactive
12.1.0.0/16 101.1.1.101 1 Static Primary Inactive
123.0.0.0/8 101.1.1.7 2 Static Primary Active
Total Entries : 4
DGS-3450:admin# show iproute hardware
Command: show iproute hardware
Routing Table
IP Address/Netmask Gateway Interface
------------------ --------------- ------------
0.0.0.0/0 10.1.1.11 ip1
10.1.1.0/24 0.0.0.0 System
100.1.1.0/24 10.1.1.11 ip1
192.168.1.0/24 10.1.1.11 ip1
Total Entries : 4
DGS-3450:admin#
config route preference
Purpose
Used to configure route type preference.
Syntax
config route preference [static | default | rip] <value 1-999>
Description
Use this command to configure route preference. The route with smaller preference has
higher priority. The preference for local routes is fixed to 0.
Parameters
static
- Configure the preference of static route. The default value is 60.
default
- Configure the preference of default route. The default value is 1.
rip
- Configure the preference of RIP route. The default value is 100.
Restrictions
Only Administrator and Operator-level users can issue this command.