222
C
HAPTER
16: IP R
OUTING
P
ROTOCOL
O
PERATION
The parameters are explained as follows:
■
IP address and mask
The IP address and mask use a decimal format. Because the 1s in the 32-bit mask
must be consecutive, the dotted decimal mask can also be replaced by the
mask-length which refers to the digits of the consecutive 1s in the mask.
■
Next hop address and NULL interface
When configuring a static route, you can specify the
gateway_address
to decide
the next hop address, depending on the actual conditions.
For all the routing items, the next hop address must be specified. When the IP
layer transmits a packet, it first searches the matching route in the routing table,
depending on 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.
The packets sent to the NULL interface, which is a virtual interface, are discarded
at once. This can decrease system load.
You cannot specify an interface address of the local Switch as the next hop
address of an static route.
■
Preference
For different configurations of
preference_value
, you can flexibly apply the
routing management policy.
■
Other parameters
The attributes
reject
and
blackhole
indicate the unreachable route and the
blackhole route, respectively.
Configuring a Default Route
Perform the following configurations in System View.
The parameters for the default route are the same as those for the static route.
Deleting All The Static Routes
You can use the
undo ip route-static
command to delete a static route. The
Switch 5500 also provides the
delete static-routes all
command for you to
delete all static routes at one time, including the default routes.
Perform the following configuration in System View.
Table 199
Configuring a default route
Operation
Command
Configure a
default route
ip route-static
0.0.0.0 { 0.0.0.0 | 0 } {
interface_type
interface_number
|
gateway_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
|
gateway_address
] [
preference value
] [
reject
|
blackhole
]
Table 200
Deleting all static routes
Operation
Command
Delete all static routes
delete static-routes all
Содержание 5500 SI - Switch - Stackable
Страница 24: ...24 ABOUT THIS GUIDE...
Страница 30: ...30 CHAPTER 1 GETTING STARTED Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection...
Страница 50: ...50 CHAPTER 1 GETTING STARTED...
Страница 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Страница 78: ...78 CHAPTER 3 PORT OPERATION...
Страница 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Страница 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Страница 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Страница 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Страница 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Страница 349: ...349...
Страница 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Страница 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Страница 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Страница 614: ...614 CHAPTER 32 CLUSTERING...
Страница 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...