10G Core Routing Switch User Manual
陈泽科技有限公司
- - 32 - -
www.stephen-tele.com
7.3.
Static Route Configuration
7.3.1.
Introduction to Static Route
Attributes and Functions of Static Route
A static route is a special route. You can set up an interconnecting network with the static route configuration. The
problem for such configuration is when a fault occurs to the network, the static route cannot change automatically to
steer away from the node causing the fault, if without the help of an administrator. In a relatively simple network, you
only need to configure the static routes to make the router work normally. The proper configuration and usage of the
static route can improve the network performance and ensure the bandwidth of the important applications.
Default Route
A default route is a static route, too. A default route is a route used only when no suitable routing table entry is
matched and when no proper route is found, the default route is used. In a routing table, the default route is in the
form of the route to the network 0.0.0.0 (with the mask 0.0.0.0). You can see whether it has been set via the output of
the command display ip routing-table. If the destination address of a packet fails in matching any entry of the routing
table, the router will select the default route to forward this packet. If there is no default route and the destination
address of the packet fails in matching any entry in the routing table, this packet will be discarded, and an Internet
Control Message Protocol (ICMP) packet will be sent to the originating host to inform that the destination host or
network is unreachable. Default route is very useful in the networks. Suppose that there is a typical network, which
consists of hundreds of routers. In that network, far from less bandwidth would be consumed if you put all kinds of
dynamic routing protocols into use without configuring a default route. Using the default route could provide an
appropriate bandwidth, even not achieving a high bandwidth, for communications between large numbers of users.
Static Route Configuration
Static Route Configuration includes:
Configuring a static route
Configuring a default route
Configuring a static route
Perform the following configurations in global configuration mode.
Beginning in privileged EXEC mode, follow these steps to configure a static route.
Command
Purpose
Step 1
config terminal
Enter global configuration mode.
Step 2
ip route
ipaddress
netmask
nexthopaddr
[
metric
]
Configuring a static route.
Step 3
exit
Return to privileged EXEC mode.
Step 4
show ip route
Verify your entries.
Step 5
Copy
running-config
startup-config
(Optional) Save your entries in the configuration file.