D-Link DWS/DXS-3200 Switch User Manual


 
Initial Configuration
Configuration Overview
Page 35
After making any configuration changes, the new configuration must be saved before rebooting. To save the con-
figuration, enter the following CLI command:
Initial Configuration
Initial configuration, which starts after the device has booted successfully, includes static IP address and subnet
mask configuration, and setting user name and privilege level to allow remote management. If the device is to be
managed from an SNMP-based management station, SNMP community strings must also be configured. The fol-
lowing configurations are completed:
Static IP Address and Subnet Mask
Static Route Configuration
User Name
SNMP Community strings
Static IP Address and Subnet Mask
IP interfaces can be configured on each port of the device. After entering the configuration command, it is recom-
mended to check if a port was configured with the IP address by entering the “show ip interface” command.
The commands to configure the device are port specific.
To manage the switch from a remote network, a static route must be configured, which is an IP address to where
packets are sent when no entries are found in the device tables. The configured IP address must belong to the
same subnet as one of the device IP interfaces. To use the ip route command, the device mode must be changed
from switch to router.
To configure a static route, enter the command at the system prompt as shown in the following configuration
example where 101.101.101.101 is the specific management station, and 5.1.1.100 is the static route:
Note
100.1.1.33 is the IP address of the next hop that can be used to reach the management network
192.168.2.0.
The above example is for router mode.
Console# copy running-config startup-config
Console# configure
Console(config)# interface vlan 1
Console(config-if)#
ip address 100.1.1.1 255.255.255.0
Console(config-if)#
exit
Console# ip route 192.168.2.0/24 100.1.1.33
Console#
show ip interface
Proxy ARP is disabled
IP Address I/F Type Directed
Broadcast
----------- -------- ----------- -------------
100.1.1.1/24 vlan 1 static disable