Chapter 34 Static Route; Introduction To Static Route; Introduction To Default Route; Static Route Configuration Task List - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

34.1 Introduction to Static Route

As mentioned earlier, the static route is the manually specified path to a network or a host. Static route is
simple and consistent, and can prevent illegal route modification, and is convenient for load balance and route
backup. However, it also has its own defects. Static route, as its name indicates, is static, it won't modify the
route automatically on net work failure, and manual configuration is required on such occasions, therefore it is
not suitable for mid and large-scale networks.
Static route is mainly us ed in the following two conditions: 1) in stable networks to reduce load of route
selection and routing data streams. For example, static route can be used in route to STUB network. 2) For
route backup, configure static route in the backup line, with a lower priority than the main line.
Static route and dynamic route can coexist; layer3 switch will choose the route with the highest priority
according to the priority of routing protocols. At the same time, static route can be introduced (redistribute) in
dynamic route, and change the priority of the static route introduced as required.

34.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 unreac hable.

34.3 Static Route Configuration Task List

1. Static route configuration
1. Static route configuration
Global mode
ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-l ength>} {<gateway-address> |
<gateway-interface>} [<di stance>]
no ip route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-l ength>} [<gateway-address> |
<gateway-interface> ] [<di stance>]

Chapter 34 Static Route

Command
34-1
Explanation
Set static routing; the no ip
route {<ip-prefix> <mask> |
<ip-prefix>/<prefix-l ength>}
[<gateway-address>
<gateway-interface> ]
[<di stance> ] command deletes
a static route entry
|

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents