3com 8807 참조 가이드

다운로드
페이지 1099
Static Route Configuration Commands
395
reject: Indicates an unreachable route. When a static route to a destination has 
the "reject" attribute, all the IP packets to this destination will be discarded, and 
the source host will be informed that the destination is unreachable.
blackhole: Indicates a blackhole route. If a static route to a destination has the 
"blackhole" attribute, the outgoing interface of this route is the Null 0 interface 
regardless of the next hop address, and any IP packets addressed to this 
destination are dropped without notifying the source host.
Description
Use the ip route-static command to configure a static route.
Use the undo ip route-static command to delete the configured static route.
By default, the system can obtain the sub-net route directly connected with the 
router. If it is not specified as reject or blackhole, the route will be reachable by 
default.
Precautions for static route configuration:
When the destination IP address and the mask are both 0.0.0.0, it is the 
configured default route. If it is failed to detect the routing table, a packet will 
be forwarded along the default route.
For different configuration of preference level, flexible routing management 
policy can be adopted.
Related commands: display ip routing-table, and delete static-routes all.
Note that if you configure static routes for the specified interface, you must specify 
the right next hop at the same time.
Example
# Configure the next hop of the default route as 129.102.0.2.
[SW8800] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2 
# Configure static route 129.102.0.2 255.255.255.0 in multiple VPNs.
[SW8800] ip route-static vpn-instance vpn1 vpn2 vpn3 129.102.0.2 255
.255.255.0 null 0