93
DWS-1008 User’s Manual
D-Link Systems, Inc.
Configuring and Managing IP Interfaces and Services
To add two default routes and configure MSS to always use the route through 10.2.4.69
when the switch interface to that gateway router is up, type the following commands:
DWS-1008#
set ip route default 10.2.4.69 1
success: change accepted.
DWS-1008#
set ip route default 10.2.4.17 2
success: change accepted.
To add an explicit route from an Switch to any host on the 192.168.4.
x
subnet through the
local router 10.5.4.2, and give the route a cost of 1, type the following command:
DWS-1008#
set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1
success: change accepted.
Removing a Static Route
To remove a static route, use the following command:
clear ip route
{
default
|
ip-addr mask
|
ip-addr
/
mask-length
}
gateway
Note:
After you remove a route, traffic that uses the route can no longer reach its estination.
For example, if you are managing the Switch with a Telnet session and the session needs
the static route, removing the route also removes the Telnet connection to the switch.
The following command removes the route to 192.168.4.69/24 that uses gateway router
10.2.4.1:
DWS-1008#
clear ip route 192.168.4.69/24 10.2.4.1
success: change accepted.
The following command removes the default route that uses gateway router 10.5.5.5:
DWS-1008#
clear ip route default 10.5.5.5
success: change accepted.
Managing the Management Services
MSS provides the following services for managing an Switch over the network:
Secure Shell (SSH) SSH provides a secure connection to the
CLI through TCP port 22.
Telnet
Telnet provides a nonsecure connection to
the CLI through TCP port 23.
HTTPS
HTTPS provides a secure connection to the
Web management application through TCP
port 443.
SSH is enabled by default. Telnet and HTTPS are disabled by default.
A Switch can have up to eight Telnet or SSH sessions, in any combination, and one Console
session.
Summary of Contents for DWS-1008
Page 1: ......