Static Route Configuration - 3Com 4200G 12-Port Configuration Manual

4200g series switch
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

402
C
47: S
HAPTER
TATIC
Static Route
Configuration
Configuring a static
route
R
C
OUTE
ONFIGURATION
Static Route Configuration includes:
Configuring a static route
Configuring a default route
Deleting all the static routes
Perform the following configurations in system view.
Table 344 Configuring a static route
Operation
Add a static route
Delete a static route
The parameters are explained as follows:
IP address and mask
The IP address and mask are in a dotted decimal format. As "1"s in the 32-bit
mask is required to be consecutive, the dotted decimal mask can also be replaced
by the mask-length (which refers to the digits of the consecutive "1"s in the
mask).
Next hop address and NULL interface
When configuring a static route, you can specify the next-hop to decide the next
hop address. In fact, for all the routing items, the next hop address must be
specified. When IP layer transmits a packet, it will first search the matching route
in the routing table according to the destination address of the packet. Only when
the next hop address of the route is specified can the link layer find the
corresponding link layer address, and then forward the packet according to this
address.
You cannot specify an interface address of the local switch as the next hop address
of an static route.
The packets sent to NULL interface, a kind of virtual interface, will be discarded at
once. This can decrease the system load.
Preference
For different configurations of preference-value, you can flexibly apply the routing
management policy. For configuration of multiple routes to the destination, if you
specify the same precedence, load sharing is achieved. If not, the routing backup
takes place achieved.
Other parameters
The attributes reject and blackhole respectively indicate the unreachable route
and the blackhole route.
Command
ip route-static ip-address { mask | mask-length } { interface-type
interface-number | next-hop } [ preference value ] [ reject |
blackhole ]
undo ip route-static ip-address { mask | mask-length } [
interface-type interface-number | next-hop ] [ preference value ] [
reject blackhole ]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents