![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 528](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294528.webp)
IP Routing Protocol-Independent Commands
78-20269-01 Command Line Interface Reference Guide
529
39
39
IP Routing Protocol-Independent Commands
39.1
ip route
Use the ip route Global Configuration mode command to configure static routes.
Use the no form of this command to remove static routes.
Syntax
ip route
prefix
{
mask
|
prefix-length
} {{
ip-address
[metric
distance
]} | reject-route}
no ip route
prefix
{
mask
|
prefix-length
} [
ip-address
]
Parameters
•
prefix—Specifies the IP address that is the IP route prefix for the destination
IP.
•
mask—Specifies the network subnet mask of the IP address prefix.
•
prefix-length—Specifies the number of bits that comprise the IP address
prefix. The prefix length must be preceded by a forward slash (/). (Range:
0–32)
•
ip-address—Specifies the IP address or IP alias of the next hop that can be
used to reach the network.
•
metric
distance
—Specifies an administrative distance. (Range: 1–255)
•
reject-route—Stops routing to the destination network via all gateways.
Default Configuration
The default administrative distance is 1.
Command Mode
Global Configuration mode
User Guidelines
To use this command set the device in router mode with the command
set system
mode router
.
Use the no ip route command without the i
p-address
parameter to remove all
static routes to the given subnet.
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...