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(月付480元),香港阿里云专线服务器

ZJI是成立于2011年原Wordpress圈知名主机商—维翔主机,2018年9月更名为ZJI,主要提供香港、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册业务。本月商家针对香港阿里云线路独立服务器提供月付立减270-400元优惠码,优惠后香港独立服务器(阿里云专线)E3或者E5 CPU,SSD硬盘,最低每月仅480元起。阿里一型CPU:Intel E5-2630L...

青果云(59元/月)香港多线BGP云服务器 1核 1G

青果云香港CN2_GIA主机测评青果云香港多线BGP网络,接入电信CN2 GIA等优质链路,测试IP:45.251.136.1青果网络QG.NET是一家高效多云管理服务商,拥有工信部颁发的全网云计算/CDN/IDC/ISP/IP-VPN等多项资质,是CNNIC/APNIC联盟的成员之一。青果云香港CN2_GIA主机性能分享下面和大家分享下。官方网站:点击进入CPU内存系统盘数据盘宽带ip价格购买地...

raksmart:香港机房服务器实测评数据分享,告诉你raksmart服务器怎么样

raksmart作为一家老牌美国机房总是被很多人问到raksmart香港服务器怎么样、raksmart好不好?其实,这也好理解。香港服务器离大陆最近、理论上是不需要备案的服务器里面速度最快的,被过多关注也就在情理之中了。本着为大家趟雷就是本站的光荣这一理念,拿了一台raksmart的香港独立服务器,简单做个测评,分享下实测的数据,仅供参考!官方网站:https://www.raksmart.com...

cisco2960配置为你推荐
开启javascript启用javascript是甚么意思重庆网络公司一九互联我重庆2013年7月毕业,报到证上写的是A公司,档案也在A公司,半年后我辞职,到B公司上班,档案也特朗普吐槽iPhone为什么iphone x卖的这么好duplicate500大飞资讯新闻资讯包括什么内容?三友网怎么是“三友”小型汽车网上自主编号申请请问各位大虾,如何在网上选车牌号?oa办公软件价格一套专业版的oa办公系统多少钱?discuz伪静态discuz怎么才能把专题目录也实现伪静态的方法详解dedecms采集织梦后台怎么采集图片
长沙虚拟主机 t楼 香港机房 美国便宜货网站 搜狗12306抢票助手 500m空间 百兆独享 河南移动网 备案空间 什么是web服务器 电信网络测速器 申请免费空间 网站防护 建站技术 websitepanel asp介绍 windowsserver2012 时间同步服务器 iptables 免费php空间申请 更多