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里头(出厂的缺省设置就是这样)。

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

Gigsgigscloud($9.8)联通用户优选日本软银VPS

gigsgigsCloud日本东京软银VPS的大带宽配置有100Mbps、150Mbps和200Mbps三种,三网都走软银直连,售价最低9.8美元/月、年付98美元。gigsgigscloud带宽较大延迟低,联通用户的好选择!Gigsgigscloud 日本软银(BBTEC, SoftBank)线路,在速度/延迟/价格方面,是目前联通用户海外VPS的最佳选择,与美国VPS想比,日本软银VPS延迟更...

hosteons:10Gbps带宽,免费Windows授权,自定义上传ISO,VPS低至$21/年,可选洛杉矶达拉斯纽约

hosteons当前对美国洛杉矶、达拉斯、纽约数据中心的VPS进行特别的促销活动:(1)免费从1Gbps升级到10Gbps带宽,(2)Free Blesta License授权,(3)Windows server 2019授权,要求从2G内存起,而且是年付。 官方网站:https://www.hosteons.com 使用优惠码:zhujicepingEDDB10G,可以获得: 免费升级10...

月神科技:香港CN2/洛杉矶CN2/华中电信高防vps,月付20元起

月神科技怎么样?月神科技是由江西月神科技有限公司运营的一家自营云产品的IDC服务商,提供香港安畅、香港沙田、美国CERA、华中电信等机房资源,月神科技有自己的用户群和拥有创宇认证,并且也有电商企业将业务架设在月神科技的平台上。目前,香港CN2云服务器、洛杉矶CN2云主机、华中电信高防vps,月付20元起。点击进入:月神科技官方网站地址月神科技vps优惠信息:香港安畅CN2-GIA低至20元核心:2...

cisco2960配置为你推荐
mediawikiMediaWiki的权限及设置中国企业在线如何查询企业是否可靠?字节跳动回应TikTok易主一部电影讲一个小伙子去继承遗产结果是一批雪橇狗男主吹口哨声明不是雪地狂奔什么是支付宝支付宝是什么概念?重庆电信dns重庆电信 路由器连接另一个电脑,本地连接的IP是多少,?DNS首选,备用 服务器是多少?我爱试用网电信爱玩4G定向流量包开通需要交费吗curl扩展linux上怎么操作开启php curl扩展pintang目前世界上最稀有、最珍贵的钱币是什么?佛山海虹海虹好吃吗,我从来没吃过123456hd手机卡上出现符号hd怎么取消
双线服务器租用 绍兴服务器租用 java主机 512m 网站被封 小米数据库 南通服务器 台湾谷歌 七夕快乐英语 网购分享 cxz 免费网络空间 windowsserver2012r2 机柜尺寸 qq空间打开慢 中国最年轻博士 hp存储服务器 联想塔式服务器 邮件服务器是什么 2000元电脑主机配置 更多