Command Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches
Chapter 1 Static Route Configuration Commands
Huawei Technologies Proprietary
1-16
Description
Using
ip route-static
command, you can configure a static route. Using
undo ip
route-static
command, you can delete the configured static route.
By default, the system can obtain the sub-net route directly connected with the router.
When configuring a static route, the default preference is 60. You can change the
default preference value of the static routes to be configured by using the command
ip
route-static default-preference
. If it is not specified as
reject
or
blackhole
, the route
will be reachable by default.
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.
All the following routes are static routes:
z
Reachable route: A normal route is of this type. That is, the IP packet is sent to the
next hop via the route marked by the destination. It is a common type of static
routes.
z
Unreachable route: When a static route to a destination has the "
reject
" attribute,
all the IP packets to this destination will be discarded, and the originating host will
be informed destination unreachable.
z
Blackhole route: If a static route to a destination has the "
blackhole
" attribute, the
outgoing interface of this route is the Null 0 interface regardless of the next hop
address, and any IP packets addressed to this destination are dropped without
notifying the source host.
The attributes "
reject
" and "
blackhole
" are usually used to control the range of
reachable destinations of this router, and help troubleshooting the network.
Precautions when configuring static route:
z
You cannot specify an interface address of the local switch as the next hop
address of an static route.
z
In addition, when the destination IP address and the mask are both 0.0.0.0, it is the
configured default route. If it is failed to detect the routing table, a packet will be
forwarded along the default route.
z
For different configuration of preference level, flexible routing management policy
can be adopted.
For the related commands, see
display ip routing-table
,
delete static-routes all
and
ip route-static default-preference
.
Содержание Quidway S3526
Страница 8: ...Huawei Technologies Proprietary Note Comment Tip Knowhow Thought Means a complementary description ...
Страница 36: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Port ...
Страница 66: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual VLAN ...
Страница 95: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Network Protocol ...
Страница 192: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Routing Protocol ...
Страница 350: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Multicast ...
Страница 399: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual QoS ACL ...
Страница 518: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Integrated Management ...
Страница 556: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual STP ...
Страница 598: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Security ...
Страница 688: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Reliability ...
Страница 699: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual System Management ...
Страница 839: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Auto Detecting ...
Страница 851: ...Huawei Technologies Proprietary HUAWEI Quidway S3500 Series Ethernet Switches Command Manual Appendix ...