![D-Link xStack DWS-3200 Series Скачать руководство пользователя страница 164](http://html1.mh-extra.com/html/d-link/xstack-dws-3200-series/xstack-dws-3200-series_cli-manual_4140557164.webp)
DXS/DWS-3200 series CLI Reference Guide
Page 161
Section 11. IP Routing Commands
All commands in this command group is only available in Switch mode.
ip route
The
ip route
Global Configuration mode command establishes static IP routes. To remove static IP routes, use
the
no
form of this command.
Syntax
ip route prefix
{
mask
|
prefix-length
}
gateway
[
metric
distance
] [
reject-route
]
no ip route
prefix mask
[
gateway
]
Parameters
•
prefix
— The destination IP route prefix.
•
mask
— The IP address network mask.
•
prefix-length
— The number of bits that comprise the IP address prefix. The prefix length must be preceded
by a forward slash (/). (Range: 1-32 characters)
•
gateway
— IP address or IP alias of the next hop that can be used to reach that network.
•
metric
distance
— An administrative distance. (Range: 1-255)
•
reject-route
— Stop routing to the destination network via all gateways.
Default Configuration
The metric default distance is 1.
Command Mode
Global Configuration mode
User Guidelines
This command is only functional if the device is in Router mode.
Example
The following example establishes a static route to 172.16.0.0.
Console (config)#
ip route
172.16.0.0 255.255.0.0 131.16.1.1
Содержание xStack DWS-3200 Series
Страница 2: ......
Страница 3: ......
Страница 17: ...Table of Contents Page 14 Appendix A Troubleshooting 571 Problem Management 572 Troubleshooting Solutions 572 ...
Страница 25: ...Using the CLI Editing Features Page 22 ...
Страница 91: ...Clock Commands show sntp status Page 88 ...
Страница 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Страница 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Страница 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Страница 163: ...IP Address Commands show hosts Page 160 ...
Страница 177: ...LACP Commands show lacp port channel Page 174 ...
Страница 187: ...Line Commands show line Page 184 ...
Страница 195: ...Management ACL Commands show management access class Page 192 ...
Страница 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Страница 217: ...Port Monitor Commands Page 214 ...
Страница 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Страница 395: ...System Management Commands show system mode Page 392 ...
Страница 413: ...User Interface Commands show privilege Page 410 ...
Страница 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Страница 451: ...Web Server Commands show ip https Page 448 ...
Страница 477: ...802 1x Commands show dot1x advanced Page 474 ...
Страница 483: ...Wireless AP BSS Commands data rates Page 480 ...
Страница 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Страница 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Страница 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Страница 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Страница 581: ...Page 578 ...