



免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Catalyst 3524对于Cisco的交换机和路由器来讲,虽然其不同型号的交换机的实现命令上有着很多的相似之处,但是,不同的交换机命令格式的差异却为网络设备的配置带来了一定的不便,因此,本人根据手头的交换机,进行一些基本操作的命令介绍,同时也有具体的配置实例。希望对网友的实际工作和学习有所帮助。同时也很希望有机会与各位网友一起交流探讨!bluestudy_(都市渔人)Catalyst 3524 switch IP 地址的配置直接进入默认的VLAN 1中进行配置命令如下:interface VLAN1ip address 172.16.1.3 255.255.0.0即可。在Catalyst 中控制对Telnet的访问bluestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定义标准的访问列表)bluestudy_a(config)#line vty 0 15(进入telnet端口,最多允许16个telnet的会话)bluestudy_a(config-line)#access-class 2 in(应用上述定义的访问列表,即只有172.16.0.0/16的网段可以实现对交换机的telnet会话设置交换机的enable 密码bluestudy_a(config)#enable password bluestudybluestudy_a(config)#enable secret bluestudyThe enable secret you have chosen is the same as your enable password.This is not recommended. Re-enter the enable secret.注:对于如上的密码,secret的优先级更高,优先起作用。设置console口密码bluestudy_a(config)#line con 0bluestudy_a(config-line)#password bluestudybluestudy_a(config-line)#设置对telnet的密码:bluestudy_a(config)#line vty 0 15bluestudy_a(config-line)#loginbluestudy_a(config-line)#password bluestudybluestudy_a(config-line)#设置登陆用户名和密码:bluestudy_a(config)#username bluestudy password bluestudybluestudy_a(config)#bluestudy_a#show runningCurrent configuration:!version 12.0no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname bluestudy_a!enable secret 5 $1$b1mb$p6XgV/PY9WqvJy9MrHZFG/enable password bluestudy!username bluestudy password 0 bluestudy!ip subnet-zero!interface FastEthernet0/1!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/24!interface GigabitEthernet0/1!interface GigabitEthernet0/2!interface VLAN1ip address 172.16.1.3 255.255.0.0no ip directed-broadcastno ip route-cache!access-list 2 permit 172.16.0.0 0.0.255.255!line con 0password bluestudytransport input nonestopbits 1line vty 0 4access-class 2 inpassword bluestudyloginline vty 5 15access-class 2 inpassword bluestudylogin!endbluestudy_a#channel 配置port channel 与 Spanning tree连接的区别bluestudy_a(config)#interface fastEthernet 0/1bluestudy_a(config-if)#port group 2bluestudy_a(config-if)#bluestudy_a(config)#interface fastEthernet 0/2bluestudy_a(config-if)#port group 2bluestudy_a(config-if)#bluestudy_b(config)#interface fastEthernet 0/23bluestudy_b(config-if)#port group 2bluestudy_b(config-if)#bluestudy_b(config)#interface fastEthernet 0/24bluestudy_b(config-if)#port group 2bluestudy_a(config-if)#对堆叠端口同样进行trunk封装bluestudy_a#config tEnter configuration commands, one per line. End with CNTL/Z.bluestudy_a(config)#interface gigabitEthernet 0/1(此端口为堆叠端口)bluestudy_a(config-if)#switchport mode trunkbluestudy_a(config-if)#bluestudy_b(config)#interface gigabitEthernet 0/1(此端口为堆叠端口)bluestudy_b(config-if)#switchport mode trunkbluestudy_b(config-if)#bluestudy_c(config)#interface gigabitEthernet 0/2(此端口为堆叠端口)bluestudy_c(config-if)#switchport mode trunkbluestudy_c(config-if)#bluestudy_d(config)#interface gigabitEthernet 0/2(此端口为堆叠端口)bluestudy_d(config-if)#switchport mode trunkbluestudy_d(config-if)#bluestudy_e(config)#interface gigabitEthernet 0/2(此端口为堆叠端口)bluestudy_e(config-if)#switchport mode trunkbluestudy_e(config-if)#Catalyst 3524的高级配置VLAN的设置:首先要进入VLAN的设置模式,有别于 5500等第三层交换机bluestudy_a#vlan databasebluestudy_a(vlan)#命令集如下:bluestudy_a(vlan)#?VLAN database editing buffer manipulation commands:abort Exit mode without applying the changesapply Apply current changes and bump revision numberexit Apply changes, bump revision number, and exit modeno Negate a command or set its defaultsreset Abandon current changes and reread current databaseshow Show database informationvlan Add, delete, or modify values associated with a single VLANvtp Perform VTP administrative functions.bluestudy_a(vlan)#bluestudy_a(vlan)#vlan 10 name bluestudy_10VLAN 10 added:Name: bluestudy_10bluestudy_a(vlan)#bluestudy_a(vlan)#vlan 20 name bluestudy_20VLAN 20 added:Name: bluestudy_20bluestudy_a(vlan)#按照规划将不同的端口加入VLANbluestudy_a(config)#interface fastEthernet 0/1bluestudy_a(config-if)#switchport access vlan 10bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interface fastEthernet 0/2bluestudy_a(config-if)#switchport access vlan 10bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interface fastEthernet 0/3bluestudy_a(config-if)#switchport access vlan 10bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interface fastEthernet 0/4bluestudy_a(config-if)#switchport access vlan 10bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interface fastEthernet 0/5bluestudy_a(config-if)#switchport access vlan 20bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interface fastEthernet 0/6bluestudy_a(config-if)#switchport access vlan 20bluestudy_a(config-if)#exitbluestudy_a(config)#bluestudy_a(config)#interfac
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年合同法与劳动合同法对比
- 钻床夹具的装配说课稿-2025-2026学年中职专业课-机械制造技术-装备制造大类
- 2025企业借款合同范本
- 2025成都市正规劳动合同样本
- Unit 9 Section B 1a-1e 说课稿2025-2026学年七年级英语下册同步教学(人教版)
- 1.2 Arduino 操作基础与开发流程说课稿-2025-2026学年高中信息技术教科版2019选择性必修6 开源硬件项目设计-教科版2019
- 三年级信息技术上册 海底世界图片展 2说课稿 冀教版
- 2025合同管理人员如何审查合同风险
- 居民瓶装液化石油气供用合同
- 第5课 进退有序说课稿-2025-2026学年小学书法练习指导六年级上册华文版
- 幼儿园护学岗职责
- 国开电大《组织行为学》形考任务1-4
- 施工安全生产风险分级管控和隐患排查治理双重预防机制建设实施方案
- 【MOOC】化学与社会-大连理工大学 中国大学慕课MOOC答案
- 精细化工技术-大学专业介绍
- 餐饮财务问题的研究报告
- 慢性疾病运动干预中心服务要求(征求意见稿)
- 林同炎与美洲银行大厦
- (正式版)SH∕T 3548-2024 石油化工涂料防腐蚀工程施工及验收规范
- 人教版八年级历史上册 第一、二单元 单元测试卷( 2024年秋)
- 二次抵押贷款合同
评论
0/150
提交评论