D-Link DWS-4000 Series Cli Command Reference page 177

Hide thumbs Also See for DWS-4000 Series:
Table of Contents

Advertisement

ip routing
This command enables the IP Router Admin Mode for the master switch.
Format
ip routing
Mode
Global Config
no ip routing
This command disables the IP Router Admin Mode for the master switch.
Format
no ip routing
Mode
Global Config
ip address
This command configures an IP address on an interface. You can also use this command to configure one or more
secondary IP addresses on the interface.The value for <ipaddr> is the IP address of the interface. The value for
<subnetmask> is a 4-digit dotted-decimal number which represents the subnet mask of the interface. The subnet mask
must have contiguous ones and be no longer than 30 bits, for example 255.255.255.0. This command adds the label IP
address in show ip interface.
Format
ip address <ipaddr> <subnetmask> [secondary]
Mode
Interface Config
no ip address
This command deletes an IP address from an interface. The value for <ipaddr> is the IP address of the interface in a.b.c.d
format where the range for a, b, c, and d is 1-255. The value for <subnetmask> is a 4-digit dotted-decimal number which
represents the Subnet Mask of the interface. To remove all of the IP addresses (primary and secondary) configured on the
interface, enter the command no ip address.
Format
no ip address [{<ipaddr> <subnetmask> [secondary]}]
Mode
Interface Config
ip route
This command configures a static route. The <ipaddr> parameter is a valid IP address, and <subnetmask> is a valid
subnet mask. The <nexthopip> parameter is a valid IP address of the next hop router. Specifying Null0 as nexthop
parameter adds a static reject route. The optional <preference> parameter is an integer (value from 1 to 255) that allows
you to specify the preference value (sometimes called "administrative distance") of an individual static route. Among routes
to the same destination, the route with the lowest preference value is the route entered into the forwarding database. By
specifying the preference of a static route, you control whether a static route is more or less preferred than routes from
dynamic routing protocols. The preference also controls whether a static route is more or less preferred than other static
routes to the same destination. A route with a preference of 255 cannot be used to forward traffic.
IP Routing Commands
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dwl-8600ap

Table of Contents