文档详情

MP技术培训-交换机基础.ppt

发布:2018-03-09约7.66千字共37页下载文档
文本预览下载声明
交换机管理 1 带外管理(通过CONSOLE口管理) 使用超级终端或者CRT管理软件 相关设置:波特率选择“9600”,数据位选择“8”,奇偶校验选择“无”,停止位选择“1”,数据流控制选择“无”;或者直接点击“还原默认值” 2 带内管理 通过TELNET方式 通过SSH方式 TELNET用户配置 1 打开远程登录功能 Switch#config Switch(Config)# telnet-server enable 注:系统默认(打开) 2 配置登录的管理员名称、密码 Switch(Config)#telnet-user test password 0 test 3 配置登录的安全主机 Switch(Config)# telnet-server securityip Switch(Config)#authentication securityip 4 设置系统连接超时时间 Switch(Config)#exec-timeout 登陆超时时间(单位:分钟) SSH管理配置 1 打开SSH管理服务 Switch(Config)#ssh-server enable 2 设置SSH登录的用户名和密码 Switch(Config)#ssh-user test password 0 test 3 设置SSH认证的超时时间 Switch(Config)#ssh-server timeout 1-600s 认证超时时间(单位:秒),系统默认5分钟 恢复出厂配置 如何将一台配置完成的设备,初始化为出厂配置? Switch# set default Are you sure? [Y/N] = y Switch# wr Switch# show startup-config This is the first time starting up. Switch# reload 忘记密码处理办法 步骤: 1 ctrl+b 进入bootrom模式 2 执行del startup-config 3 断电重启 4 启动后原来的密码和配置被删除 SNMP配置 1 打开网管功能 Switchena Switch#config Switch(Config)# snmp-server enable 2 设置交互的团体名 Switch(Config)# snmp-server community ro public 3 设置网管主机地址 Switch(Config)# snmp-server securityip 4 保存配置 Switch# write 迈普交换机文件系统 boot.rom: 交换机启动时初始化硬件,加载IMG,驱动业务端口 Nos.img: 系统文件 一般指交换机硬件驱动与软件支持程序 Vendor.cfg: 包含厂商信息,存在flash,当系统启动时被加载 交换机升级操作 1 配置一个VLAN接口地址 Switch(Config)#interface vlan 1 Switch(Config-If-Vlan1)#ip address 2 在PC上开启FTP/TFTP服务器 3 升级 boot.rom(引导程序),nos.img(系统程序) Switch# copy ftp://Username: Password@/1.6.3 boot.rom boot.rom Switch# copy t/1.6.3boot.rom boot.rom Switch# copy ftp://Username: Password@/-nos.img nos.img Switch# copy t/-nos.img nos.img 交换机升级操作 4 重启交换机 5 升级vendor.cfg(厂商配置信息) Switch# copy ftp://Username: Password@/1.0.0-vendor.cfg vendor.cfg Switch# copy t/1.0.0-vendor.cfg vendor.cfg 6 重启交换机 常用端口操作 配置实例 1 端口命名 maipu#conf t maipu(config)#int eth 1/10 maipu(config-if-ethernet1/10)#na
显示全部
相似文档