![Huawei S6700 Series Скачать руководство пользователя страница 24](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517024.webp)
NOTE
If you configure the next hop as the outbound interface, you must specify the next hop address.
----End
1.3.3 (Optional) Setting the Default Preference for IPv4 Static
Routes
Setting the default preference for IPv4 static routes can affect route selection.
Context
Do as follows on the switches that need to be configured with static routes and change the default
preference for static routes:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ip route-static default-preference
preference
The default preference is set for static routes.
By default, the preference of static routes is 60.
When a static route is configured, the default preference is used if no preference is explicitly
specified for the static route. After a default preference is specified, the new default preference
is valid for subsequent rather than existing IPv4 static routes.
----End
1.3.4 Checking the Configuration
After an IPv4 static route is configured, you can check detailed information about the configured
IPv4 static route.
Prerequisites
The configurations for an IPv4 static route are complete.
Procedure
l
Run the
display ip routing-table
command to check brief information about the IPv4
routing table.
l
Run the
display ip routing-table
verbose
command to check detailed information about
the IPv4 routing table.
----End
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
1 IP Static Route Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5