cisco交换机配置培训

上传人:痛*** 文档编号:252274499 上传时间:2024-11-14 格式:PPTX 页数:18 大小:83.54KB
返回 下载 相关 举报
cisco交换机配置培训_第1页
第1页 / 共18页
cisco交换机配置培训_第2页
第2页 / 共18页
cisco交换机配置培训_第3页
第3页 / 共18页
点击查看更多>>
资源描述
,*,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,第三级,第四级,第五级,*,CISCO,catalyst,系列,交换机产品常用维护命令,郑州嘉通公司制作,2007,年,11,月,1.,在基于,IOS,的交换机上设置主机名,/,系统名,:,switch(config)#hostname hostname,在基于,CLI,的交换机上设置主机名,/,系统名,:,switch(enable)set system name name-string,2.,在基于,IOS,的交换机上设置登录口令,:,switch(config)#enable password level 1 password,在基于,CLI,的交换机上设置登录口令,:,switch(enable)set password,switch(enable)set enalbepass,3.,在基于,IOS,的交换机上设置远程访问,:,switch(config)#interface vlan 1,switch(config-if)#ip address ip-address netmask,switch(config-if)#ip default-gateway ip-address,在基于,CLI,的交换机上设置远程访问,:,switch(enable)set interface sc0 ip-address netmask broadcast-address switch(enable)set interface sc0 vlan switch(enable)set ip route default gateway,常用配置命令,4.,在基于,IOS,的交换机上启用和浏览,CDP,信息,:,switch(config-if)#cdp enable,switch(config-if)#no cdp enable,为了查看,Cisco,邻接设备的,CDP,通告信息,:,switch#show cdp interface type modle/port,switch#show cdp neighbors type module/port detail,在基于,CLI,的交换机上启用和浏览,CDP,信息,:,switch(enable)set cdp enable|disable module/port,为了查看,Cisco,邻接设备的,CDP,通告信息,:,switch(enable)show cdp neighborsmodule/port vlan|duplex|capabilities|detail,5.,基于,IOS,的交换机的端口描述,:,switch(config-if)#description description-string,基于,CLI,的交换机的端口描述,:,switch(enable)set port name module/number description-string,6.,在基于,IOS,的交换机上设置端口速度,:,switch(config-if)#speed10|100|auto,在基于,CLI,的交换机上设置端口速度,:,switch(enable)set port speed moudle/number 10|100|auto,switch(enable)set port speed moudle/number 4|16|auto,7.,在基于,IOS,的交换机上设置以太网的链路模式,:,switch(config-if)#duplex auto|full|half,在基于,CLI,的交换机上设置以太网的链路模式,:,switch(enable)set port duplex module/number full|half,8.,在基于,IOS,的交换机上配置静态,VLAN:,switch#vlan database,switch(vlan)#vlan vlan-num name vlan,配置案例,Catalyst 3560G-24ts-e,配置,center_1#show run,Building configuration.,Current configuration:1789 bytes,!,version 12.2,no service pad,service timestamps debug uptime,service timestamps log uptime,no service password-encryption,!,hostname center_1 /,交换机命名为,center_1,!,no logging console,enable password cisco /enable,密码:,cisco,!,no aaa new-model,ip subnet-zero,!,no file verify auto,!,spanning-tree mode pvst /,起用生成树,spanning-tree extend system-id,spanning-tree vlan 1 priority 0 /,根桥优先级设置成,0 *,越小越好,!,vlan internal allocation policy ascending,!,!,interface Port-channel1 /,建立以太网通道,switchport trunk encapsulation dot1q /,定义封装类型为,dot1q,switchport mode trunk /,定义为干道,!,interface GigabitEthernet0/1,interface GigabitEthernet0/2,!,interface GigabitEthernet0/3,!,interface GigabitEthernet0/4,switchport trunk encapsulation dot1q /,定义封装类型为,dot1q,switchport mode trunk,channel-group 1 mode on /,放入以太网通道组,1,模式为无条件捆绑,!,interface GigabitEthernet0/24,switchport trunk encapsulation dot1q /,定义封装类型为,dot1q,channel-group 1 mode on /,放入以太网通道组,1,模式为无条件捆绑,!,interface GigabitEthernet0/25,spanning-tree portfast /,起用,portfast,!,interface GigabitEthernet0/26,spanning-tree portfast,!,interface GigabitEthernet0/27,interface GigabitEthernet0/28,spanning-tree portfast,!,interface Vlan1,ip address 192.168.42.1 255.255.255.0 /vlan 1,管理,IP,!,ip classless,ip http server,!,control-plane,!,line con 0,password cisco /enable,密码:,cisco,login,line vty 0 4,password cisco /vty,密码:,cisco,login,line vty 5 15,no login,!,End,常用,show,命令,1.show version -,显示当前交换机上运行的,IOS,版本,连同关于可以使用的硬件、,RAM,和闪存、交换机正常运行时间、当前运行的,IOS,映像文件、最后一次再次加载的原因以及配置注册的内容的 许多细节。,show ver,Cisco IOS Software,C3560 Software(C3560-IPBASE-M),Version 12.2(25)SEE2,RELEASE SOFTWARE(fc1),Copyright(c)1986-2006 by Cisco Systems,Inc.,Compiled Fri 28-Jul-06 07:19 by yenanh,Image text-base:0 x00003000,data-base:0 x00EB0F14,ROM:Bootstrap program is C3560 boot loader,BOOTLDR:C3560 Boot Loader(C3560-HBOOT-M)Version 12.2(25r)SEC,RELEASE SOFTWARE(fc4),Switch uptime is 1 hour,14 minutes,System returned to ROM by power-on,System image file is flash:c3560-ipbase-mz.122-25.SEE2/c3560-ipbase-mz.122-25.SEE2.bin,cisco WS-C3560-24TS(PowerPC405)processor(revision D0)with 118784K/12280K bytes of memory.,Processor board ID CAT1042ZJU0,Last reset from power-on,2 Virtual Ethernet interfaces,24 FastEthernet interfaces,2 Gigabit Ethernet interfaces,The password-recovery mechanism is enabled.,512K bytes of flash-simulated non-volatile configuration memory.,Base ethernet MAC Address :00:19:E7:A0:83:80,Motherboard assembly number :73-9897-06,Power supply part number :341-0097-02,Motherboard serial number :CAT10415V3H,Power supply serial number :DCA103881LV,Model revision number :D0,Motherboard revision number :A0,Model number :WS-C3560-24TS-S,System serial number :CAT1042ZJU0,Top Assembly Part Number :800-26160-02,Top Assembly Revision Number :C0,Version ID :V02,CLEI Code Number :COMMG00ARB,Hardware Board Revision Number :0 x01,Switch Ports Model SW Version SW Image,-,*1 26 WS-C3560-24TS 12.2(25)SEE2 C3560-IPBASE-M,Configuration register is 0 xF,Show running-config ,interface,type mod/num|,vlan,vlan-id|,module,mod,显示,running-config,配置文件 的 内容。可以跳到接口、,vlan,或者交换机的 模块的相关配置,Show startup-config,显示,startup-config,配置文件的 内容,Show tech-support,为,Cisco TAC,支
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!