D-LINK DHS-3026 Ethernet Switch 基本配置

建立帐号,如新建帐号leo
DHS-3026:4#create account admin leo
Command: create account admin leo

Enter a case-sensitive new password:*******
Enter the new password again for confirmation:*******

Success

显示帐号信息:
DHS-3026:4#show account
Command: show account

Current Accounts:
  Username           Access Level
------------------  ------------
leo                Admin

Total Entries : 1

更改用户密码:
DHS-3026:4#config account leo
Command: config account leo

Enter a old password:*******
Enter a case-sensitive new password:*******
Enter the new password again for confirmation:*******

Success

删除一个帐号:
DHS-3026:4#delete account leo
Command: delete account leo

Success

启用Telnet服务:
DHS-3026:4#enable telnet  23
Command: enable telnet 23

Success

启用WWW服务:
DHS-3026:4#enable web 80
Command: enable web 80

Success

建立VLAN
DHS-3026:4#create vlan vlan123 tag 123
Command: create vlan vlan123 tag 123

Success

显示VLAN:
DHS-3026:4#show vlan
Command: show vlan


VID             : 1          VLAN Name       : default
VLAN TYPE       : static
Member ports    : 1-26
Static ports    : 1-26
Untagged ports  : 1-26

VID             : 123        VLAN Name       : vlan123
VLAN TYPE       : static
Member ports    :
Static ports    :
Untagged ports  :


Total Entries  : 2

将端口添加到VLAN
DHS-3026:4#config vlan vlan123 add tagged 4-8
Command: config vlan vlan123 add tagged 4-8

Success

配置管理IP:
DHS-3026:4#config ipif System ipaddress 10.1.1.254/24
Command: config ipif System ipaddress 10.1.1.254/24

Success

设置默认网关:
DHS-3026:4#create iproute default 10.1.1.1 1
Command: create iproute default 10.1.1.1 1

Success

保存信息:
DHS-3026:4#save
Command: save

Saving all configurations to NV-RAM...... Done.

Success