Static Route Configuration; Configuring A Static Route - Huawei Quidway S3900 Series Operation Manual

Hide thumbs Also See for Quidway S3900 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
routing table, the router will select the default route for the packet; in this case, if there
is no default route, the packet will be discarded, and an Internet control message
protocol (ICMP) packet will be returned to inform the source host that the destination
host or network is unreachable.

2.2 Static Route Configuration

2.2.1 Configuration Prerequisites
Before configuring a static route, perform the following tasks:
Configuring the physical parameters of the related interface
Configuring the link layer attributes of the related interface
Configuring an IP address for the related interface

2.2.2 Configuring a Static Route

Table 2-1 Configure a static route
Operation
Enter system view
Add a static route
Delete all static routes
Note:
If the destination IP address and the mask of a route are both 0.0.0.0, the route is
the default route. Any packet for which the router fails to find a matching entry in
the routing table will be forwarded through the default route.
Do not configure the next hop address of a static route to the address of an
interface on the local switch.
The preference can be configured differently to implement flexible route
management policy.
Command
system-view
ip
route-static
{
mask
|
{
interface-number | next-hop }
[ preference value ] [ reject |
blackhole ] [ description text |
detect-group group number ]*
delete static-routes all
Huawei Technologies Proprietary
2-2
Chapter 2 Static Route Configuration
ip-address
Required
mask-length
}
By default, the system
interface-type
can obtain the route to
the
connected
router.
Optional
This
deletes
routes, including the
default route.
Description
subnet
directly
to
the
command
all
static

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents