文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 招聘 专题 新闻
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 思科技术 » 跪求CISCO3560 流量控制配置       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: 跪求CISCO3560 流量控制配置  ( 查看:346  回复:12 )   
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-1-30 10:29   标题:跪求CISCO3560 流量控制配置
上一帖 |
10M带宽接入局域网,最快单机下载速度能到1M多,但是一但下载,其它电脑就无法上网或是上网很慢,求3560交换机上的流量控制配置,谢谢。



网络工程师到底该不该去考CCIE认证?
2008-1-30 10:291楼
[ 顶部 ]
 
真龙官人
新新人类  点击可查看详细



帖子 70
精华 0
无忧币 418
积分 62
阅读权限 20
注册日期 2008-1-28
最后登录 2008-7-21 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-1-30 11:42 
直接WEB登陆界面应该有相应的流量控制选项



网络工程师到底该不该去考CCIE认证?
2008-1-30 11:422楼
[ 顶部 ]
 
小侠唐在飞
助理工程师  点击可查看详细


诚信兄弟  
帖子 1537
精华 2
无忧币 2336
积分 1809
阅读权限 40
来自 (保密)
注册日期 2006-6-15
最后登录 2008-5-20 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2008-1-30 12:12 
10M的宽带,下载1M,就完了。。正常啊。。
1*8啊!
得用QOS,限制每个人的速度不能超过512K或758K,即保证了能看电影,下载在80-100K,
也能保证别人不受影响



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2008-1-30 12:123楼
[ 顶部 ]
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-1-30 13:38 


QUOTE:
原帖由 小侠唐在飞 于 2008-1-30 12:12 发表
10M的宽带,下载1M,就完了。。正常啊。。
1*8啊!
得用QOS,限制每个人的速度不能超过512K或758K,即保证了能看电影,下载在80-100K,
也能保证别人不受影响
==========================
我就是不会配置啊,在网上找了好久,没有介绍怎么做QOS的,您能不能教教我啊!



网络工程师到底该不该去考CCIE认证?
2008-1-30 13:384楼
[ 顶部 ]
 
小侠唐在飞
助理工程师  点击可查看详细


诚信兄弟  
帖子 1537
精华 2
无忧币 2336
积分 1809
阅读权限 40
来自 (保密)
注册日期 2006-6-15
最后登录 2008-5-20 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2008-1-30 14:56 
1. 启动QOS特性
mls qos
2. 定义用户的速度限制
mls qos aggregate-policer Customer-1 1000000 800000 exceed-action drop
3. 定义匹配的流量
class-map match-all egress-group1
match ip dscp 0
4. 匹配流量与速度限制
policy-map 50
class egress-group1
police Customer-1
所有符合egress-group1的流量将实施Customer-1策略
5. 应用至端口
interface FastEthernet0/1
no ip address
service-policy output 50



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2008-1-30 14:565楼
[ 顶部 ]
 
小侠唐在飞
助理工程师  点击可查看详细


诚信兄弟  
帖子 1537
精华 2
无忧币 2336
积分 1809
阅读权限 40
来自 (保密)
注册日期 2006-6-15
最后登录 2008-5-20 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2008-1-30 14:57 
Classification occurs only on a physical interface basis. No support exists for classifying packets at the VLAN or the switched virtual interface level.
We strongly recommend that you disable the IEEE 802.3x flowcontrol on all ports before enabling QoS on the switch. To disable it, use the flowcontrol receive off and flowcontrol send off interface configuration commands.
Only one ACL per class map and only one match command per class map are supported. The ACL can have multiple access control entries, which are commands that match fields against the contents of the packet.
olicy maps with ACL classification in the egress direction are not supported and cannot be attached to an interface by using the service-policy output policy-map-name interface configuration command. Policy maps containing set or trust policy-map class configuration commands cannot be attached to an egress interface; instead, you can use the police policy-map class configuration command to mark down (reduce) the DSCP value at the egress interface

If you want to use set command in the policy map and are using the Layer 3 switch image, you must enable IP routing (disabled by default) and configure an IP default route to send traffic to the next-hop device that is capable of forwarding.

By default, QoS is disabled on the switch, which means that the switch offers best-effort service to each packet regardless of the packet contents or size. All packets pass through the switch without modification; all CoS values map to egress queue 1 with both tail-drop thresholds set to 100 percent of the total queue size.

Beginning in privileged EXEC mode, follow these steps to enable QoS:


   Command  Purpose  
Step 1
configure terminal
Enter global configuration mode.

Step 2
interface range gi0/1 -12
Enter interface configuration mode, and execute a command on multiple interfaces.

Step 3
flowcontrol receive off

flowcontrol send off
Disable flowcontrol on all interfaces.

Step 4
exit
Return to global configuration mode.

Step 5
mls qos
Enable QoS globally.

Step 6
end
Return to privileged EXEC mode.

Step 7
show mls qos
Verify your entries.

Step 8
copy running-config startup-config
(Optional) Save your entries in the configuration file



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2008-1-30 14:576楼
[ 顶部 ]
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-1-30 15:25 
版主,以上的配置是基于端口的配置是嘛,我不知道我理解的是不是正确,假如说,我把端口流量限制到512K,那么这个端口再接一个交换机,交换机下面再接N台电脑,那么是不是说,交换机下面的N台电脑共用512K的流量,还是每台电脑都可以用512K的流量呢,很白的问题,请赐教!



网络工程师到底该不该去考CCIE认证?
2008-1-30 15:257楼
[ 顶部 ]
 
小侠唐在飞
助理工程师  点击可查看详细


诚信兄弟  
帖子 1537
精华 2
无忧币 2336
积分 1809
阅读权限 40
来自 (保密)
注册日期 2006-6-15
最后登录 2008-5-20 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2008-1-30 15:35 
把这个配置到每个接PC的端口上,就可以了



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2008-1-30 15:358楼
[ 顶部 ]
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-1-31 09:05 
哦,就是说,接交换机的端口,配置此策略是没有用的是吧!



网络工程师到底该不该去考CCIE认证?
2008-1-31 09:059楼
[ 顶部 ]
 
小侠唐在飞
助理工程师  点击可查看详细


诚信兄弟  
帖子 1537
精华 2
无忧币 2336
积分 1809
阅读权限 40
来自 (保密)
注册日期 2006-6-15
最后登录 2008-5-20 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2008-1-31 10:21 
我是说要把这个QOS配置到接口上啊。。可以限制当前接口通过的流量



【欢迎访问小侠唐在飞技术博客http://xiaoxia.blog.51cto.com】
2008-1-31 10:2110楼
[ 顶部 ]
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-2 15:10 
这两天没敢动网络,今晚再试试,如果还有问题,再请教您,谢谢!



网络工程师到底该不该去考CCIE认证?
2008-2-2 15:1011楼
[ 顶部 ]
 
linfeng1127
新新人类  点击可查看详细



帖子 45
精华 0
无忧币 22
积分 73
阅读权限 20
注册日期 2007-8-22
最后登录 2008-7-15 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 13:34 


QUOTE:
原帖由 小侠唐在飞 于 2008-1-30 14:56 发表
1. 启动QOS特性
mls qos
2. 定义用户的速度限制
mls qos aggregate-policer Customer-1 1000000 800000 exceed-action drop
3. 定义匹配的流量
class-map match-all egress-group1
match ip dscp  ...
============================
只能做INPUT,不能做OUTPUT,为何原因啊,交换机不支持嘛,这两个有什么区别啊!



网络工程师到底该不该去考CCIE认证?
2008-2-13 13:3412楼
[ 顶部 ]
 
iuiely
新新人类  点击可查看详细



帖子 31
精华 0
无忧币 7
积分 35
阅读权限 20
注册日期 2007-3-8
最后登录 2008-5-27 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2008-2-13 16:51 
首先要搞清楚入端口和出端口的概念,
这与我们正常思维基本上是刚好相反的,



网络工程师到底该不该去考CCIE认证?
2008-2-13 16:5113楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号