Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 2 Static Route Configuration
Huawei Technologies Proprietary
2-3
The packets sent to NULL interface, a kind of virtual interface, will be discarded at once.
This can decrease the system load.
z Preference
For different configurations of preference-value, you can flexibly apply the routing
management policy. 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.
z Other parameters
The attributes reject and blackhole respectively indicate the unreachable route and
the blackhole route.
2.2.2 Configuring a Default Route
Perform the following configurations in system view.
Table 2-2 Configuring a default route
Operation Command
Configure a default
route
ip route-static 0.0.0.0 { 0.0.0.0 | 0 } { interface-type
interface-number | gateway-address } [ preference value ]
[ reject | blackhole ]
Delete a default
route
undo ip route-static 0.0.0.0 { 0.0.0.0 | 0 } [ interface-type
interface-number | gateway-address ] [ preference value ]
The meanings of parameters in the command are the same as those of the static route.
2.2.3 Configuring the Default Preference Of Static Routes
The default-preference will be the preference of the static route if its preference is not
specified when configured. You can change the default preference value of the static
routes to be configured by using the following command.
Perform the following configurations in system view.
Table 2-3 Configuring the default preference of static routes
Operation Command
Configure the default preference
value of static routes
ip route-static default-preference
default-preference-value
Restore the default value
undo ip route-static default-preference
By default, its value is 60.