ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
164 Confidential and Proprietary Information of ZTE CORPORATION
If there are multiple paths to same destination, a router can be
configured with multiple static routes with different tag. However,
routing table only displays information about route with
minimum distance.
Parameter <distance-metric> in static route configuration
command in ip route can be used to change administrative
distance value of a static route. Suppose there are two different
routes from R1 to network section 192.168.6.0/24, the
configuration is as follows:
ZXR10_R1(config)#ip route 192.168.6.0 255.255.255.0 192.168.4.2
ZXR10_R1(config)#ip route 192.168.6.0 255.255.255.0 192.168.3.2
25 tag 10
Above two commands configure two different static routes to
same network. First command does not configure administrative
distance, so default value “1” is used. Second command
configures administrative distance of 25.
Since administrative distance of first route is less than that of
the second route, only information about first route appears in
routing table, that is to say, the router arrives at destination
network 192.168.6.0/24 through next-hop address 192.168.4.2.
The second route appears in routing table only when first route
fails and disappears from routing table.
Static Route Summary
A summary static route is a special kind of static route, which
can summarize two or multiple special route expressions into
one expression to reduce entries of routing table but to reserve
the all the original links. The detailed description of static route
summary is shown in
Figure 81.
FIGURE 81 STATIC ROUTE SUMMARY
R1 R2 R3
192.168.3.1/24
192.168.4.1/24
192.168.4.2/24
192.168.5.1/24
192.168.5.2/24
10.2.0.0/16
10.1.0.0/16
10.1.0.1/16
10.2.0.1/16
As shown in
Figure 81, R3 has two networks: 10.1.0.0/16 and
10.2.0.0/16. For R1 to access these networks, normally R1 must
be configured with following two static routes.
ZXR10_R1(config)#ip route 10.1.0.0 255.255.0.0 192.168.4.2
ZXR10_R1(config)#ip route 10.2.0.0 255.255.0.0 192.168.4.2
Suppose that R3 has been configured normally, and the above
configuration can be used to complete IP connection. However,
static route summary can be used to optimize the routing table
Multiple Static
Routes
Parameter
Administrative
Distance
One
Expression
Example