1-3
z
If there is no default route and the destination address of the packet fails to match any entry in the
routing table, the packet will be discarded and an ICMP packet will be sent to the source to report
that the destination or the network is unreachable.
The network administrator can configure a default route with both destination and mask being 0.0.0.0.
The router forwards any packet whose destination address fails to match any entry in the routing table
to the next hop of the default static route.
Configuring a Static Route
Follow these steps to configure a static route:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a static
route
ip route-static
ip-address
{
mask
|
mask-length
}
{
interface-type
interface-number
|
next-hop
}
[
preference
preference-value
] [
reject
|
blackhole
]
[
description
text
]
Required
Displaying and Maintaining a Routing Table
To do…
Use the command…
Remarks
Display summary
information about the
routing table
display ip routing-table
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Display detailed
information about the
routing table
display ip routing-table verbose
Display the routes leading
to a specified IP address
display ip routing-table ip-address
[
mask
] [
longer-match
] [
verbose
]
Display the routes leading
to a specified IP address
range
display ip routing-table
ip-address1
mask1
ip-address2
mask2
[
verbose
]
Display the routing
information of the specified
protocol
display ip routing-table
protocol
protocol
[
inactive
|
verbose
]
Display the routes that
match a specified basic
access control list (ACL)
display ip routing-table acl
acl-number
[
verbose
]
Display the routes that
match a specified IP prefix
display ip routing-table ip-prefix
ip-prefix-name
[
verbose
]
Display the routing table in
a tree structure
display ip routing-table radix
Optional
Available in any view.
Содержание Switch 4800G PWR 24-Port
Страница 165: ...1 8 4 mac address es found on port GigabitEthernet1 0 2 ...
Страница 214: ...ii Displaying and Maintaining System Guard 4 1 ...
Страница 445: ...ii ...
Страница 727: ...i Table of Contents Appendix A Acronyms A 1 ...
Страница 730: ...A 3 VOD Video On Demand W WRR Weighted Round Robin X XID eXchange Identification XRN eXpandable Resilient Networking ...