ZXR10 GER (V2.6.03) General Excellent Router User Manual Volume-I
166
Confidential and Proprietary Information of ZTE CORPORATION
[<
distance-metric
>] [
globle
] [
tag
<
tag
>] command in
global configuration mode as shown in Table 206.
T
A B L E
2 0 6
D
E F A U L T
R
O U T E
C
O M M A N D
Command Format
Command Mode Command
Function
ip route
<prefix>
<net-mask>
{[<interface-
number>]
[<forwarding-
address>]}
[<distance-metric>]
[
globle
] [
tag
<tag>]
global config
This configures
default route
Result:
This sets default route.
Tag is a route label. Two static routes (with different next
hop IP addresses) to same destination network cannot have
same tag value.
Example:
An example is given in the following to describe
the functions and use of the default route.
F
I G U R E
8 2
D
E F A U L T
R
O U T E
C
O M M A N D
R1
R2
R3
192.168.3.1/24
192.168.4.1/24
192.168.4.2/24
211.211.211.1/24
211.211.211.2/24
Internet
As shown in Figure 82, R2 is connected to router R3 in
Internet. R2 does not record addresses of all networks on the
Internet, so it uses a default route to directly send unknown
packets to R3 for proper processing. The configuration of the
default route in R2 is as follows:
ZXR10_R2(config)#ip route 0.0.0.0 0.0.0.0 211.211.211.2
When default route is used in routing protocol configuration,
default route varies with routing protocols.
If default route is configured for a router where an RIP runs, the
RIP will advertise default route 0.0.0.0/0 to its neighbor, and
even route redistribution is not needed in RIP domain.
For OSPF protocol, a router where the OSPF protocol runs will
not inject the default route into its neighbor automatically. For
OSPF to send the default route to OSPF domain, the command
notifies default route must be used. If this is necessary to
redistribute the default route in OSPF domain, such an
advertisement is normally implemented by an ASBR
(Autonomous System Border Router) in OSPF domain.
Default route configuration is completely the same as static
route configuration and only difference is that the network part
RIP Protocol
OSPF Protocol
Содержание ZXR10 GER
Страница 4: ...This page is intentionally blank ...
Страница 14: ...This page is intentionally blank ...
Страница 22: ......
Страница 24: ......
Страница 140: ......
Страница 206: ......
Страница 232: ......
Страница 248: ......
Страница 294: ......
Страница 326: ......
Страница 386: ......
Страница 407: ...Tables Confidential and Proprietary Information of ZTE CORPORATION 385 Table 426 Debug Ip Msdp Command 358 ...
Страница 408: ......