Displaying and Debugging the Routing Table
411
IP address to the link layer address (such as
dialer route ip, x.25 map ip
or
fr map ip
commands, and so on). In this case, you cannot specify the
transmitting interface for the static route and must configure the IP address of the
next hop.
Actually, all the route items must mark the address of the next hop. According to
the destination address of packets, an IP router searches for the matching route in
the routing table. Only when the address of next hop is specified in the route, can
the link layer find a corresponding address through this address and transfer
packets.
However, in certain cases (such as PPP encapsulated in link layer), the address of
the node on the other end may be unknown when the router is configured so that
the sending interface has to be specified. In addition, if the sending interface has
been specified, it is not necessary to change the router's configuration when the
address of the node connected on the other end is changed
■
Preference
Different preference configurations can achieve flexible route management. For
example, when configuring multiple routes to the same destination, if the
same preference is designated, load balancing can be realized. If different
preferences are designated, route standby can be realized.
■
Other parameters
The
reject
and
blackhole
attributes refer to unreachable routes and black
hole routes respectively.
Configuring a Default
Route
Perform the following configurations in system view.
Table 467
Configure a Default Route
The parameters of this command mean the same as those in static route
configuration.
Displaying and
Debugging the
Routing Table
Table 468
Displaying and Debugging the Routing Table
Operation
Command
Configure a default
route
ip route-static 0.0.0.0 { 0.0.0.0 | 0 } {
interface
-
type
interface-number
|
nexthop-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
|
nexthop-address
] [ preference
value
]
Operation
Command
Display the abstract information of the
routing table
display ip routing-table
Display the information of specific route
display ip routing-table
ip-address
Display the detailed information of the
routing table
display ip routing-table verbose
Display the radix information of the
routing table
display ip routing-table radix
Display the static routing table
display ip routing-table static
Summary of Contents for 3036
Page 1: ...http www 3com com 3Com Router Configuration Guide Published March 2004 Part No 10014299 ...
Page 4: ...VPN 615 RELIABILITY 665 QOS 681 DIAL UP 721 ...
Page 6: ...2 ABOUT THIS GUIDE ...
Page 7: ...I GETTING STARTED Chapter 1 3Com Router Introduction Chapter 2 3Com Router User Interface ...
Page 8: ...4 ...
Page 16: ...12 CHAPTER 1 3COM ROUTER INTRODUCTION ...
Page 34: ...30 ...
Page 60: ...56 CHAPTER 3 SYSTEM MANAGEMENT ...
Page 98: ...94 CHAPTER 6 DISPLAY AND DEBUGGING TOOLS ...
Page 110: ...106 ...
Page 114: ...110 CHAPTER 8 INTERFACE CONFIGURATION OVERVIEW ...
Page 158: ...154 CHAPTER 10 CONFIGURING WAN INTERFACE ...
Page 168: ...164 ...
Page 188: ...184 CHAPTER 13 CONFIGURING PPPOE CLIENT ...
Page 192: ...188 CHAPTER 14 CONFIGURING SLIP Router ip route static 0 0 0 0 0 0 0 0 10 110 0 1 ...
Page 248: ...244 CHAPTER 16 CONFIGURING LAPB AND X 25 ...
Page 320: ...316 ...
Page 330: ...326 CHAPTER 20 CONFIGURING IP ADDRESS ...
Page 362: ...358 CHAPTER 21 CONFIGURING IP APPLICATION ...
Page 374: ...370 CHAPTER 23 CONFIGURING IP COUNT ...
Page 406: ...402 CHAPTER 25 CONFIGURING DLSW ...
Page 408: ...404 ...
Page 452: ...448 CHAPTER 29 CONFIGURING OSPF ...
Page 482: ...478 CHAPTER 30 CONFIGURING BGP ...
Page 494: ...490 CHAPTER 31 CONFIGURING IP ROUTING POLICY ...
Page 502: ...498 ...
Page 508: ...504 CHAPTER 33 IP MULTICAST ...
Page 514: ...510 CHAPTER 34 CONFIGURING IGMP ...
Page 526: ...522 CHAPTER 36 CONFIGURING PIM SM ...
Page 528: ...524 ...
Page 532: ...528 CHAPTER 37 CONFIGURING TERMINAL ACCESS SECURITY ...
Page 550: ...546 CHAPTER 38 CONFIGURING AAA AND RADIUS PROTOCOL ...
Page 590: ...586 CHAPTER 40 CONFIGURING IPSEC ...
Page 599: ...IX VPN Chapter 42 Configuring VPN Chapter 43 Configuring L2TP Chapter 44 Configuring GRE ...
Page 600: ...596 ...
Page 638: ...634 CHAPTER 43 CONFIGURING L2TP ...
Page 649: ...X RELIABILITY Chapter 45 Configuring a Standby Center Chapter 46 Configuring VRRP ...
Page 650: ...646 ...
Page 666: ...662 ...
Page 670: ...666 CHAPTER 47 QOS OVERVIEW ...
Page 700: ...696 CHAPTER 49 CONGESTION MANAGEMENT ...
Page 706: ...702 CHAPTER 50 CONGESTION AVOIDANCE ...
Page 707: ...XII DIAL UP Chapter 51 Configuring DCC Chapter 52 Configuring Modem ...
Page 708: ...704 ...
Page 762: ...758 CHAPTER 52 CONFIGURING MODEM ...