昨晚上UC有一网络高手发给我这一段命令,本来想让他本人来贴。大家看看是不是有效,大家可以探讨一下看看,这对增加速度有效吗。 第一步。 找到ADSL局端设备的IP地址。比如:10.10.10.1 用命令:telnet 10.10.10.1 第二步输入用户名与密码 Login: admin Password:harbour center_77345_H10K> enable 进入配置模式 Password: 输入进入配置模式的密码 center_77345_H10K(config)# 配置模式 第三步 找到要修改ADSL的端口号 center_77345_H10K(config)# show arp 查看自己对应的IP的mac地址 Begin to show arp table information Physics Address Ip Address Type Total 9 information 00:05:3b:72:05:3f 10.10.10.1 dynamic 00:00:00:00:00:00 10.10.10.254 dynamic 00:0a:eb:dc:ce:1b 10.10.20.51 dynamic 00:e8:4c:0f:48:0a 10.10.20.57 dynamic 00:0a:eb:e4:ac:7f 10.10.20.103 dynamic 00:30:f1:cf:47:4d 10.10.20.122 dynamic 00:5e:3b:00:10:b7 10.10.20.147 dynamic 00:e0:4c:3b:07:1c 10.10.20.169 dynamic 00:104d:5c:34 10.10.20.201 dynamic Total 9 information showed End to show arp table information center_77345_H10K(config)# show fdb 查看对应的MAC地址的端口 mac Show FDB entry information by MAC address. vlan Show FDB entry information by Vlan. agingtime Show the FDB aging time. permanent Show permanent FDB entry information. port Show FDB entry infomation by port. slot Show FDB entry infomation by slot. <cr> Just Press Enter to Execute command! center_77345_H10K(config)# show fdb mac <macaddr> Please input MAC address as the format : 00053b000490. center_77345_H10K(config)# show fdb mac 0010b54d5c34 查看对应的MAC地址的端口
vlan Show FDB entry information by Vlan. <cr> Just Press Enter to Execute command! center_77345_H10K(config)# show fdb mac 0010b54d5c34 ------- Begin of Mac Address Table Information (macaddr:[0010b54d5c34])-------
Total 1 MAC address entry showed. MAC地址 端口 Mac address Port Vlan name Flags ------------------ ------ ------------------------------ --------------------- 00:104d:5c:34 < 8:8 > dsl2439 Age ------------------ ---- ------------------------------ --------------------- ---------- End of Mac Address Table Information ---------- center_77345_H10K(config)# crea adsl-profile 8m 创建一个名为6m adsl-profile管理文件
center_77345_H10K(config-Aprofile)# downmaxr 255 设下载速度最大255,计算公式为255*32K=8160K 就是8M了 <value> Downstream-rate range is 1~255(1~48 in g.lite), the unit is 32Kbps.
center_77345_H10K(config-Aprofile)# upmaxr 设上行速度 <upmaxratevalue> Upstream-rate range is 1~32(1~16 in g.lite), the unit is 32Kbps. center_77345_H10K(config-Aprofile)# upmaxr 32
center_77345_H10K(config-Aprofile)# show 显示adsl-porfile 文件的内容 dsl-profile Show DSL line profile. history Show the session command history. center_77345_H10K(config-Aprofile)# show 6m % Unknown command. center_77345_H10K(config-Aprofile)# show dsl <name> Please input the profile's name you want to show. <cr> Just Press Enter to Execute command! center_77345_H10K(config-Aprofile)# show dsl 6m Profile Name : 6m Profile Type : ADSL line profile Relation Port : Mode : MultiMode Channel mode : Interleaved Upstream max rate : 1024 上行带宽 Upstream min rate : 32 Downstream max rate : 8160 下行带宽 Downstream min rate : 32 Upstream Interdelay : 16 Downstream Interdelay : 32 Downstream max noise margin : 12 Downstream target noise margin : 6 Upstream target noise margin : 6 center_77345_H10K(config-Aprofile)# show dsl <name> Please input the profile's name you want to show. <cr> Just Press Enter to Execute command! center_77345_H10K(config-Aprofile)# show dsl Dsl-Profile summary information, Total 4 entries: -------------------------------------------------------------------- Profile Name : daikuan_4M Profile Type : ADSL line profile Relation Port : 2:1-2:32,3:2-3:12,3:14-3:32,4:1-4:19,4:21-4:32, 5:1-5:32,6:1-6:32,7:1,7:3-7:32,8:1-8:7,8:9-8:32, 9:1-9:32,10:1-10:32,11:1-11:32,12:1-12:32, 13:1-13:32,14:1-14:32,15:1-15:32 Mode : MultiMode Channel mode : Fast Upstream max rate : 640 Upstream min rate : 32 Downstream max rate : 3200 Downstream min rate : 32 Downstream max noise margin : 12 Downstream target noise margin : 6 Upstream target noise margin : 6
Profile Name : daikuan_2M Profile Type : ADSL line profile Relation Port : 4:20,7:2 Mode : MultiMode Channel mode : Fast Upstream max rate : 640 Upstream min rate : 32 Downstream max rate : 1024 Downstream min rate : 32 Downstream max noise margin : 12 Downstream target noise margin : 6 Upstream target noise margin : 6 Profile Name : 8m Profile Type : ADSL line profile Relation Port : 3:13,8:8 Mode : MultiMode Channel mode : Interleaved Upstream max rate : 1024 Upstream min rate : 32 Downstream max rate : 8064 Downstream min rate : 32 Upstream Interdelay : 16 Downstream Interdelay : 32 Downstream max noise margin : 12 Downstream target noise margin : 6 Upstream target noise margin : 6 Profile Name : 6m Profile Type : ADSL line profile Relation Port : Mode : MultiMode Channel mode : Interleaved Upstream max rate : 1024 Upstream min rate : 32 Downstream max rate : 8160 Downstream min rate : 32 Upstream Interdelay : 16 Downstream Interdelay : 32 Downstream max noise margin : 12 Downstream target noise margin : 6 Upstream target noise margin : 6 -------------------------------------------------------------------- center_77345_H10K(config-Aprofile)# exit 退出文件编辑模式 center_77345_H10K(config)# config por 3:13 de dsl 8m 删除原端口与portfile关联 <cr> Just Press Enter to Execute command! center_77345_H10K(config)# config por 3:13 de dsl 8m center_77345_H10K(config)# config por 3:13 att dsl 6m 将端口与POrtfile 关联起来。 center_77345_H10K(config)# sav config 保存配好的系统,下次重启也能。存在。 Are you sure to save the current configuration?[Y/N]y 回答y确定要保存 Trying save configuration to flash, please wait ...... Preparing configuration data to save...Done. Starting write configuration data to flash...Done. Configuration save to flash successfully. center_77345_H10K(config)#logout 退出
|