D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
712
DGS-3627: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-3627:admin# show iproute static
Command: show iproute static
Routing Table
IP Address/Netmask Gateway Cost Protocol Backup Weight Status
------------------ ------------- ----- -------- -------- ------ --------
0.0.0.0/0 10.1.1.11 1 Default Primary None Active
100.1.1.0/24 10.1.1.11 1 Static Primary None Active
101.1.1.0/24 10.1.1.12 1 Static Primary None Inactive
Total Entries : 3
DGS-3627: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-3627:admin#
config route preference
Purpose Used to configure route type preference.
Syntax
config route preference [static | default | rip | ospfIntra | ospfInter | ospfExt1 | ospfExt2
| ebgp | ibgp] <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.
ospfIntra - Configure the preference of OSPF intra-area route. The default value is 80.
ospfInter - Configure the preference of OSPF inter-area route. The default value is 90.
ospfExt1 - Configure the preference of OSPF external type-1 route. The default value is 110.