H3C交换机,企业无线网,机架式服务器
[h3c-vlan-interface20]ip address dhcp-alloc 管理vlan接口通过dhcp方式获取---
[h3c-vlan-interface20]undo ip address dhcp-alloc 取消
debugging dhcp-alloc 开启dhcp调试功能
undo debugging dhcp-alloc
h3c网络交换机配置命令-端口配置
[h3c]interface ethernet0/3
[h3c-ethernet0/3]shutdown
[h3c-ethernet0/3]speed 100 速率,可为10,100,1000和auto(缺省)
[h3c-ethernet0/3]duplex full 双工,可为half,full和auto(缺省) 光口和汇聚后不能配置
[h3c-ethernet0/3]flow-control 开启流控,默认为关闭
[h3c-ethernet0/3]broadcast-suppression 20 设置抑制广播百分比为20%,可取5,10,大模型服务器,20,100,缺省为100,北京大模型服务器,同时组播和未知单播也受此影响
[h3c-ethernet0/3]loopback internal 内环测试
[h3c-ethernet0/3]loopback external 外环测试,需插接自环头,必须为全双工或者自协商模式
[h3c-ethernet0/3]port link-type trunk 设置链路的类型为trunk,可为access(缺省),trunk
[h3c-ethernet0/3]port trunk pvid vlan 20 设置20为该trunk的缺省vlan,默认为1
(trunk线路两端的pvid必须一致)
[h3c]i----snooping 启用i--- snooping功能,大模型服务器代理,默认为关闭
[h3c]i----snooping router-aging-time 500 配置路由器端口老化时间为500s,默认为105s
[h3c]i----snooping host-aging-time 300 配置组播组成员端口老化时间为300s,默认为260s
[h3c-ethernet0/3]i----snooping fast-leave 配置快速离开,若收到离开报文,则立即删除端口,不询问
reset i----snooping statistics 清楚统计信息
debugging i----snooping
1. 定义一个acl,将所有要限速的网段或主机ip定义进来
acl number 3020
rule 0 permit ip source 10.2.199.0 0.0.0.255 源上传
rule 1 permit ip destination 10.2.199.0 0.0.0.255 目的导出
2. 在内网接口上做限速设置
nt g0/9
qos car inbound acl 3020 cir 5000 cbs 5000 ebs 0 green pass red discard
qos car outbound acl 3020 cir 5000 cbs 5000 ebs 0 green pass red discard
将acl3020里定义的网络或主机,限速为500kb/s左右
|
|||
|
北京 上海 天津 重庆 河北 山西 内蒙古 辽宁 吉林 黑龙江 江苏 浙江 安徽 福建 江西 山东 河南 湖北 湖南 广东 广西 海南 四川 贵州 云南 西藏 陕西 甘肃 青海 宁夏 物流信息 全部地区... |
|||
| 本站图片和信息均为用户自行发布,用户上传发布的图片或文章如侵犯了您的合法权益,请与我们联系,我们将及时处理,共同维护诚信公平网络环境! | |||
| Copyright © 2008-2026 云商网 网站地图 ICP备25613980号-1 | |||
| 当前缓存时间:2025/12/17 12:57:37 |