3Com Switch 8800 Configuration Guide Chapter 17 Static Route Configuration
17-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
Depending on the configuration of preference, you can achieve different route
management policies. For example, to implement load sharing, you can specify the
same preference for multiple routes to the same destination network. To implement
route backup, you can specify different preferences for them.
z Other parameters
The attributes reject and blackhole respectively indicate the unreachable route and
the blackhole route.
17.2.2 Configuring a Default Route
Perform the following configurations in system view.
Table 17-2 Configure 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.
17.2.3 Deleting All the Static Routes
You can use the undo ip route-static command to delete one static route. The Switch
8800 also provides a special command for you to delete all static routes at one time,
including the default routes.
Perform the following configuration in system view.
Table 17-3 Delete all static routes
Operation Command
Delete all static routes delete static-routes all
Delete all static routes
of the VPN delete vpn-instance vpn-instance-name static-routes
all