Section 11. Ip Routing Commands; Ip Route - D-Link xStack DWS-3200 Series Cli Manual

Layer 2+ stackable gigabit ethernet switches with optional xg uplinks
Hide thumbs Also See for xStack DWS-3200 Series:
Table of Contents

Advertisement

DXS/DWS-3200 series CLI Reference Guide

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
Page 161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dxs-3200 series

Table of Contents