xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
875
DGS-3120-24TC: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-3120-24TC:admin#
89-4
config route preference (RI Mode Only)
Description
This command is used to configure the route 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 | ospfIntra | ospfInter | ospfExt1 | ospfExt2]
<value 1-999>
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.
ospfExt2
- Configure the preference of OSPF external type-2 route. The default value is 115.
<value 1-999>
- Specify the value of the preference.
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-3120-24TC:admin#config route preference static 70
Command: config route preference static 70
Success.
DGS-3120-24TC:admin#
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...