D-link des-3828 配置实例及基础命令
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
用超级连接进入
DES-3828 Fast Ethernet Switch Command Line Interface
Firmware: Build 3.00.B57
Copyright(C) 2004-2005 D-Link Corporation. All rights reserved.
UserName:
PassWord:
---------------------------------------()--------------------------------------------
DES-3800:admin#reset config
Command: reset config
Are you sure to proceed with system reset?(y/n)
Success.
DES-3800:admin#reset system
Command: reset system
Are you sure to proceed with system reset, save and reboot?(y/n)
Loading factory default configuration... Done.
Saving all configurations to NV-RAM..... Done.
Please wait, the switch is rebooting...
(重置三层交换机配置)
---------------------------------------()--------------------------------------------
DES-3800:admin#
DES-3800:admin#create vlan v10 tag 10
Command: create vlan v10 tag 10
Success.
DES-3800:admin#create vlan v20 tag 20
Command: create vlan v20 tag 20
Success.
DES-3800:admin#create vlan v30 tag 30
Command: create vlan v30 tag 30
Success.
(建立10,20,30三个VLAN)
---------------------------------------()--------------------------------------------
---------------------------------------()--------------------------------------------
DES-3800:admin#config vlan default delete 3-24
Command: config vlan default delete 3-24
Success.
(从DEFAULT里删除3-24端口)
DES-3800:admin#config vlan default add untagged 25-26
Command: config vlan default add untagged 25-26
Success.
(为default增加25-26端口)
---------------------------------------()--------------------------------------------
DES-3800:admin#config vlan v10 add untagged 3-12
Command: config vlan v10 add untagged 3-12
Success.
DES-3800:admin#config vlan v20 add untagged 13-20
Command: config vlan v20 add untagged 13-20
Success.
DES-3800:admin#config vlan v30 add untagged 21-24
Command: config vlan v30 add untagged 21-24
Success.
(为10,20,30各分配三段端口例:3-12端口)
---------------------------------------()--------------------------------------------
DES-3800:admin#create ipif if10 192.168.7.1/24 v10
Command: create ipif if10 192.168.7.1/24 v10
Success.
DES-3800:admin#create ipif if20 192.168.0.1/24 v20
Command: create ipif if20 192.168.0.1/24 v20
Success.
DES-3800:admin#create ipif if30 192.168.100.1/24 v30
Command: create ipif if30 192.168.100.1/24 v30
Success.
(设置三个VLAN的IP例:10是192.168.7.1/24)
---------------------------------------()--------------------------------------------
DES-3800:admin#config ipif System ipaddress 172.16.10.3/24 vlan default
Command: config ipif System ipaddress 172.16.10.3/24 vlan default
Note: All configuration on this interface will return to default setting.
Success.
DES-3800:admin#create iproute default 172.16.10.1
Command: create iproute default 1
72.16.10.1
Success.
(设置DES-3800的IP地址及路由地址)
---------------------------------------()--------------------------------------------
DES-3800:admin#enable dhcp_relay
Command: enable dhcp_relay
Success.
DES-3800:admin#config dhcp_relay add ipif if10 172.16.10.1
Command: config dhcp_relay add ipif if10 172.16.10.1
Success.
DES-3800:admin#config dhcp_relay add ipif if20 172.16.10.1
Command: config dhcp_relay add ipif if20 172.16.10.1
Success.
DES-3800:admin#config dhcp_relay add ipif if30 172.16.10.1
Command: config dhcp_relay add ipif if30 172.16.10.1
Success.
(如果有DHCP服务器,可以设置dhcp_relay)
---------------------------------------()--------------------------------------------
save 存储
reboot 重启
reset config (重置设置)
reset system (重置系统)
show switch (查看状态)