cisco2960配置思科的交换机怎么配置

cisco2960配置  时间:2021-02-19  阅读:()

cisco2960要配置一个管理IP,需要注意什么些什么,上层设备不用配置吧?

一般就是给vlan1配置IP地址 然后跟他一个子网的计算机就可以它了 你也应该设置一个默认网关 ip default-gateway 192.168.0.1之类的 否则其他子网的计算机就不能这个交换机了

思科2960怎样配置实现端口限速

请参考一下例子 一、网络说明 ?? ??PC1接在Cisco3550 F0/1上,速率为1M; ??PC1接在Cisco3550 F0/2上,速率为2M; ??Cisco3550的G0/1为出口。

?? ??二、详细配置过程 ??注:每个接口每个方向只支持一个策略;一个策略可以用于多个接口。

因此所有PC的下载速率的限制都应该定义在同一个策略(在本例子当中 ??为policy -map user-down),而PC不同速率的区分是在Class-map分别定义。

?? ??1、在交换机上启动QOS ??Switch(config)#mls qos //在交换机上启动QOS ?? ??2、分别定义PC1(10.10.1.1)和PC2(10.10.2.1)访问控制列表 ??Switch(config)#ess-list 10 permit 10.10.1.0 0.0.0.255 //控制pc1上行流量 ??Switch(config)#ess-list 100 permit any 10.10.1.0 0.0.0.255 //控制pc1下行流量 ??Switch(config)#ess-list 11 permit 10.10.2.0 0.0.0.255 //控制pc2上行流量 ??Switch(config)#ess-list 111 permit any 10.10.2.0 0.0.0.255 //控制pc2下行流量 ?? ??3、定义类,并和上面定义的访问控制列表绑定 ??Switch(config)# class-map user1-up //定义PC1上行的类,并绑定访问列表10 ??Switch(config-cmap)# match ess-group 10 ??Switch(config-cmap)# exit ??Switch(config)# class-map user2-up ??Switch(config-cmap)# match ess-group 11 //定义PC2上行的类,并绑定访问列表10 ??Switch(config-cmap)# exit ??Switch(config)# class-map user1-down ??Switch(config-cmap)# match ess-group 100 //定义PC1下行的类,并绑定访问列表100 ??Switch(config-cmap)# exit ??Switch(config)# class-map user2-down ??Switch(config-cmap)# match ess-group 111 //定义PC2下行的类,并绑定访问列表111 ??Switch(config-cmap)# exit ?? ??4、定义策略,把上面定义的类绑定到该策略 ??Switch(config)# policy-map user1-up //定义PC1上行的速率为1M ??Switch(config-pmap)# class user1-up ??Switch(config-pmap-c)# trust dscp ??Switch(config-pmap-c)# police 1024000 1024000 exceed-action drop ??Switch(config)# policy-map user2-up //定义PC2上行的速率为2M ??Switch(config-pmap)# class user2-up ??Switch(config-pmap-c)# trust dscp ??Switch(config-pmap-c)# police 2048000 1024000 exceed-action drop ??Switch(config)# policy-map user-down ??Switch(config-pmap)# class user1-down ??Switch(config-pmap-c)# trust dscp ??Switch(config-pmap-c)# police 1024000 1024000 exceed-action drop ??Switch(config-pmap-c)# exit ??Switch(config-pmap)# class user2-down ??Switch(config-pmap-c)# trust dscp ??Switch(config-pmap-c)# police 2048000 1024000 exceed-action drop ??Switch(config-pmap-c)# exit ?? ??5、在接口上运用策略 ??Switch(config)# interface f0/1 ??Switch(config-if)# service-policy input user1-up ??Switch(config)# interface f0/2 ??Switch(config-if)# service-policy input user2-up ??Switch(config)# interface g0/1 ??Switch(config-if)# service-policy input user-down

谁有CISCO2960配置模板给我一份,谢谢

service timestamps debug datetime localtime 配置 debug 记录时间戳为每日时间,本地时钟 service timestamps log datetime localtime 配置 loggin 日志 记录时间戳为每日时间,本地时钟 service password-encryption 加密明文密码 ! hostname xxxx-XXXX-C2960-01 给设备命名 ! enable secret xxxx 配置特权密码为 xxxx ! username xxxx pass xxxx 配置本地数据库用户名xxxx 密码 xxxx aaa new-model system mtu routing 1500 vtp mode transparent 定义此设备VTP 模式为透明模式 ip -zero ! no ip domain-lookup 关闭域名自动查找 ! no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! vlan xxxx 设置本交换机的接入VLAN ID和名字 name xxxx vlan 300 定义暂时的管理VLAN ID 和名字 name xxx vlan xxxx 定义割接后的VLAN ID 和名字 name xxxx ! interface 0/1 进入F0/1口 switchport ess vlan xxx 把这个口划入XXX vlan switchport mode ess 定义这个口为访问端口 (连接终端设备的接口) spanning-tree portfast 定位这个口为快速转发口 (减少生成树的计算30秒左右) ! interface 0/2 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/3 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/4 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/5 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/6 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/7 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/8 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/9 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/10 switchport ess vlan xxx switchport mode ess spanning-tree portfast ! interface 0/1 进入G0/1接口 switchport trunk encapsulation dot1q 定义此接口的协议 switchport mode trunk 定义此接口模式为trunk口 ! interface 0/2 switchport trunk encapsulation dot1q switchport mode trunk ! interface Vlan1 no ip address no ip route-cache ! interface VlanXXX 定义管理VLAN的地址 ip address X.X.X.X X.X.X.X 定义此管理VLAN的ip,掩码 no ip route-cache ! line con 0 进入CONSOLE 口 CONSOLE 编号只能为0 exec-timeout 5 5 设置CONSOLE 口 超时时间 logging synchronous 关闭CONSOLE 口 日志信息与光标同步 login local 注册本地用户名密码生效 line vty 0 4 开启 远程TELNET 线程 0-6 最多允许7个用户同时远程登录 logging synchronous 同CONSOLE口 login local 同CONSOLE口 line vty 5 同上 logging synchronous 同上 login local 同上 #号下 clock set 配置设备时钟 conf t 下 clock timezone GMT + 8 配置时区 本单位的C2960配置清单

思科的交换机怎么配置

当傻瓜交换机用就是不需要设置的,实际上就是所有的交换机口都在vlan 1里头(出厂的缺省设置就是这样)。

交换机互相连接起来就可以,有可能要用交叉线,只要网线接的口灯亮就应该可以。

ZJI:香港物理服务器,2*E5-2630L/32G/480G SSD/30Mbps/2IP/香港BGP,月付520元

zji怎么样?zji是一家老牌国人主机商家,公司开办在香港,这个平台主要销售独立服务器业务,和hostkvm是同一样,两个平台销售的产品类别不一平,商家的技术非常不错,机器非常稳定。昨天收到商家的优惠推送,目前针对香港邦联四型推出了65折优惠BGP线路服务器,性价比非常不错,有需要香港独立服务器的朋友可以入手,非常适合做站。zji优惠码:月付/年付优惠码:zji 物理服务器/VDS/虚拟主机空间订...

欧路云(22元/月),美国CERA弹性云服务器!香港弹性云服务器15元/月起;加拿大高防vps仅23元/月起

欧路云怎么样?欧路云主要运行弹性云服务器,可自由定制配置,可选加拿大的480G超高防系列,也可以选择美国(200G高防)系列,也有速度直逼内地的香港CN2系列。所有配置都可以在下单的时候自行根据项目 需求来定制自由升级降级 (降级按天数配置费用 退款回预存款)。2021年7月14日美国 CERA 弹性云服务器 上新 联通CUVIP 线路!8折特惠中!点击进入:欧路云官方网站地址付款方式:PayPa...

欧路云:美国200G高防云-10元/月,香港云-15元/月,加拿大480G高防云-23元/月

欧路云 主要运行弹性云服务器,可自由定制配置,可选加拿大的480G超高防系列,也可以选择美国(200G高防)系列,也有速度直逼内地的香港CN2系列。所有配置都可以在下单的时候自行根据项目 需求来定制自由升级降级 (降级按天数配置费用 退款回预存款)。由专业人员提供一系列的技术支持!官方网站:https://www.oulucloud.com/云服务器(主机测评专属优惠)全场8折 优惠码:zhuji...

cisco2960配置为你推荐
现有新的ios更新可用请从ios14be苹果总是提醒:现有新的ios可用,请从ios13bate版更新,怎么关闭啊?重庆网络公司一九互联重庆网络公司,重庆网络优化,重庆页面制作性价比高且便宜的网络公司有哪些?internetexplorer无法打开电脑的Internet Explorer打不开?支付宝注册网站支付宝申请流程是怎么样的??北京大学cuteftp抢米网怎么样才能在小米官方网站抢到手机?刚刚网女友刚开始用震动棒很舒服身上抽搐时,她说疼不让用了,是真的疼还是太刺激她受不了?12306.com注册12306邮箱地址怎么写开源网店开源网店系统 独立网店系统 淘宝 有什么区别?discuz7.0discuz6.1和discuz7.0哪个好用?
根域名服务器 域名论坛 域名投资 域名备案网站 3322动态域名 仿牌空间 香港主机 10t等于多少g 轻博客 双12活动 godaddy优惠券 英文站群 ca4249 申请个人网站 域名转接 ebay注册 什么是web服务器 iki 深圳主机托管 .htaccess 更多