Chapter 30 commands for static route, 1 ip route, Ip route – PLANET XGS3-24040 User Manual
Page 403
30-116
Chapter 30 Commands for Static Route
30.1 ip route
Command:
ip route {<ip-prefix> <mask> | <ip-prefix>/<prefix-length>} {<gateway-address> |
<gateway-interface>} [<distance>]
no ip route {
Function:
Configure the static route. The “no ip route {
[
Parameter: The
shown in dotted decimal notation;
IP address and the length of prefix;
decimal notation;
distance of route management, ranging between 1~255.
Default:
The management distance of static routing is defaulted at 1.
Command Mode:
Global Mode.
Usage Guide:
When configuring the next-hop of static routing, both by specifying the next-hop IP address of the
route data packet and the exit interface are available.
The default distance values of each route type in the layer 3 switch of our company are listed below:
Route Type
Distance Value
Direct Route
0
Static Route
1
OSPF
110
RIP
120
IBGP
200
EBGP
20