Static routes are manually configured by network administrators.
After static routes are configured, networks can communicate through
these routes. However, the static routes cannot be automatically updated
when one network fails. In this case, only administrators can update
them.
Context
It is recommended that you specify the next hop address
when configuring a static route on the switch. You need to specify
the next hop; otherwise, the next hop cannot be determined because
most physical interfaces of the switch are Ethernet interfaces
of the broadcast type and one outbound interface can be associated
with multiple next hop addresses. If the outbound interface is specified,
you must specify the next hop address of the interface.
Procedure
- Create an IPv4 static route.
- Choose in the navigation tree to open the IPv4 Static
Route page.
- Click New to open the Create an IPv4 Static Route page.
Table 1 describes the parameters
on the Create an IPv4 Static Route page.
Table 1 Create an IPv4 Static Route
Parameter
|
Description
|
Destination
|
Indicates the destination IP address or the destination
network address of an IP packet, for example, 10.10.10.1. This parameter is mandatory.
|
Mask
|
Indicates the network mask that is used with the destination
address to identify the address of the network segment where the destination
host or router resides. The address of the network segment where the
destination host or router resides can be calculated according to
the AND operation on the destination address and network mask, for
example, 255.255.0.0. This parameter is mandatory.
|
Outgoing Interface
|
Indicates the interface on a router from which IP packets
are forwarded, for example, Vlanif10.
|
NextHop
|
Indicates the next-hop router address that IP packets pass
through, for example, 10.10.10.2. This parameter
is mandatory
|
Priority
|
Indicates the priority of a route. Packets may reach the
same destination address through multiple routes. These routes may
be discovered by different routing protocols, or statically configured.
The route with the highest priority (smallest value) is selected as
the optimal route. This parameter is optional.
|
Description
|
Indicates the description of an IPv4 static route. This
parameter is optional.
|
- Set parameters.
- Click OK.
- Modify an IPv4 static route.
- Choose in the navigation tree to open the IPv4 Static
Route page.
- Click
to open the Modify IPv4 Static Route page.
NOTE: - Table 1 describes the parameters on
the Modify IPv4 Static Route page.
- The destination IP address and subnet mask cannot be changed.
- Set parameters.
- Click OK.
- Delete an IPv4 static route.
- Choose in the navigation tree to open the IPv4 Static
Route page.
- Select a record that you want to delete and click Delete.
NOTE: - To select a record, click the check box of the record.
- To delete records in batches, click the check boxes of the records.
- Click OK.
Copyright © Huawei Technologies Co., Ltd.