3com 3031 Instruccion De Instalación
Static Route Overview
471
A sending interface can be specified in the following cases:
■
For a point-to-point interface, when a sending interface is specified, it
implicates that the next-hop address is also specified. In this case, the peer
interface address connected with the interface is regarded as the next-hop
address of the route. For example, in the case that SERIAL interface is
encapsulated with PPP, the peer IP address can be obtained via PPP negotiation.
It is unnecessary to specify the next-hop address but specifying the sending
interface.
implicates that the next-hop address is also specified. In this case, the peer
interface address connected with the interface is regarded as the next-hop
address of the route. For example, in the case that SERIAL interface is
encapsulated with PPP, the peer IP address can be obtained via PPP negotiation.
It is unnecessary to specify the next-hop address but specifying the sending
interface.
■
For an NBMA interface (such as an ATM interface), which supports
point-to-multipoint, it is necessary to create reroute at link layer, namely the
mapping from an IP address to a link layer address, besides configuring IP
routes. To configure static route in this case, you should configure the next-hop
IP address rather than specify the sending interface.
point-to-multipoint, it is necessary to create reroute at link layer, namely the
mapping from an IP address to a link layer address, besides configuring IP
routes. To configure static route in this case, you should configure the next-hop
IP address rather than specify the sending interface.
3 Precedence
The preference can be configured differently by flexibly applying route
management policies.
management policies.
4 Other parameters
The attributes reject and blackhole respectively indicate the unreachable route and
the blackhole route.
the blackhole route.
Configuring the Default
Route
Perform the following in the System View.
The meanings of parameters in the command are the same as those of the static
route.
route.
Deleting All the Static
Routes
Perform the following in the System View.
This command can be used to delete all the static routes configured, including
default routes.
default routes.
Table 539 Configuring the default route
Operation
Command
Configure the
default route
default route
ip route-static 0.0.0.0 { 0.0.0.0 | 0 }
{interface-name | nexthop-address } [ preference value
] [ reject | blackhole ]
{interface-name | nexthop-address } [ preference value
] [ reject | blackhole ]
ip route-static vpn-instance vpn-instance-name
0.0.0.0 { 0.0.0.0 | 0 } {interface-name |
nexthop-address } [ preference value ] [ reject |
blackhole ]
0.0.0.0 { 0.0.0.0 | 0 } {interface-name |
nexthop-address } [ preference value ] [ reject |
blackhole ]
Delete the
default route
default route
undo ip route-static 0.0.0.0 { 0.0.0.0 | 0 }
{interface-name | nexthop-address} [ preference value
]
{interface-name | nexthop-address} [ preference value
]
undo ip route-static vpn-instance vpn-instance-name
0.0.0.0 { 0.0.0.0 | 0 } {interface-name |
nexthop-address } [ preference value ] [ reject |
blackhole ]
0.0.0.0 { 0.0.0.0 | 0 } {interface-name |
nexthop-address } [ preference value ] [ reject |
blackhole ]
Table 540 Deleting all the static routes
Operation
Command
Delete all the static routes
delete static all