SGS-6340 Series User Manual

Table Of Contents
26.3.2 Introduction to Default Route
Default route is a kind of static route, which is used only when no matching route is found. In
the route table, default route in is indicated by a destination address of 0.0.0.0 and a network
mask of 0.0.0.0, too. If the route table does not have the destination of a packet and has no
default route configured, the packet will be discarded, and an ICMP packet will be sent to the
source address indicate the destination address or network is unreachable.
26.3.3 Static Route Configuration Task List
1. Static route configuration
1. Static route configuration
Command Explanation
Global Mode
ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>} {<gateway-address> |
<gateway-interface>} [<distance>]
no ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>} [<gateway-address> |
<gateway-interface>] [<distance>]
Set static routing; the no ip
route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-length>}
[<gateway-address> |
<gateway-interface>]
[<distance>] command deletes
a static route entry
26-13