![Cisco Sx350 Скачать руководство пользователя страница 524](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_2609320524.webp)
IP Routing Protocol-Independent Commands
523
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
25
25.3 ip route
To establish static routes, use the ip route command in global configuration mode.
To remove static routes, use the no form of this command.
Syntax
ip route
prefix
{
mask
| /
prefix-length
} {{
ip-address
[metric
value
]} | reject-route}
no ip route
prefix
{
mask
| /
prefix-length
} [
ip-address
]
Parameters
•
prefix
—IP route prefix for the destination.
•
mask
—Prefix mask for the destination.
•
/
prefix-length
—Prefix mask for the destination.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
—IP address of the next hop that can be used to reach that
network.
•
metric
value
—Metric of the route. The default metric is 6. Range: 1–255.
•
reject-route—Stopping routing to the destination network.
Default Configuration
No static routes are established.
Command Mode
Global Configuration mode
User Guidelines
Use the no ip route comamnd without the i
p-address
parameter to remove all
static routes to the given subnet.
Use the no ip route comand with the
ip-address
parameter to remove only one
static route to the given subnet via the given next hop.
Содержание Sx350
Страница 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Страница 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Страница 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Страница 503: ...IGMP Snooping Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 502 23 1000 239 255 0 7 ...
Страница 532: ...IP Routing Protocol Independent Commands 531 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 25 ...
Страница 736: ...IPv6 Prefix List Commands 735 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 31 ...
Страница 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...
Страница 1297: ...Virtual Local Area Network VLAN Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1296 67 4086 802 1x ...