迈普交换机基本配置讲课教案
- 格式:doc
- 大小:154.00 KB
- 文档页数:5
迈普交换机系统配置基础迈普交换机系统配置基础系统模式系统模式及其相互间切换方法(switch 是设备出厂时缺省的系统名称,用户可以在全局配置模式下运行hostname 命令修改系统名称,并且这种修改是立即生效的)实验一通过配置口(Console)配置交换机实验步骤:1、选择一台终端终端既可以是标准的具有RS-232串口的终端,也可以是一台普通的PC机,更常用的是后者。
如果要从远端配置,则还需两台MODEM。
2、在确认交换机或终端其中至少有一方是关机的情况下,通过配置电缆将终端的RS-232串口与交换机Console口相连。
接线关系如图所示:3、给终端上电。
设置终端通信参数为波特率9600bps、8 位数据位、1 位停止位、无校验和XON/XOFF。
如果是PC 机,运行Win95/98/2000/NT 操作系统,则运行HyperTerminal(超级终端)程序,并按照以上参数设置超级终端程序的串口参数。
下面以WindowsXP的终端超级终端程序为例图示说明:a.为连接填写名称――MP_S3400(可以是其它任意名称),并为所建连接选择一个Windows图标。
b.选择串行通信口c.配置串行通信口参数波特率——9600bps数据位——8位奇偶校验——无停止位——1位流控——xon/xoffd.登录成功后会在终端上显示“switch>”提示符;就可以对交换机进行配置了。
实验二命令行接口命令行接口是shell子系统为用户配置、使用交换机而提供的一个人机交互界面,用户通过命令行接口可以输入、编辑命令来完成相应的配置任务,同时也可以通过该接口查看系统信息,了解系统运行状况。
命令行接口为用户提供了如下功能:●系统帮助信息管理●系统命令输入、编辑●接口历史命令管理●终端显示系统管理实验步骤:a.在任一命令模式下,键入“?”获取该命令模式下所有命令及其简单描述。
实验步骤:b. 键入一命令,后接以空格分隔的“?”,则显示出所有该命令在当前模式下可以执行的子命令。
迈普交换机配置指导书1.通过Console口配置交换机(同HW2016一样)通过配置线将终端的RS-232串口与交换机的Console口相连。
配置用PCPC机串口MyPower S3000B 配置口2.迈普交换机基本配置enacon t 进入配置模式vlan 2 创建vlan 2port 0/0 tagexlayer2-mode disable 关闭2层模式interface sw0 进入SW0接口ip address 192.168.x.x 255.255.255.0 配置管理地址x范围(2-254) vlan-id 2 管理vlanexitip route 0.0.0.0 0.0.0.0 192.168.x.1 静态路由,指向管理地址x网关enable password level 15 admin 为交换机密码igmpsnoop en 打开组播exitwr3.中兴交换机配置实例Switch# show runBuild configration... doneCurrent configration: 1701 bytesuser admin password 7 OWRW[WWW\W user admin privilege 15enable password OWRW[WWW\W encryptservice password-encryptservice login-securelayer2-mode disablevlan 1description defaultport 0/0-0/15 untaggedvlan 2description VLAN0002port 0/0 taggedvlan 1065description VLAN1065port 0/0-0/15 untaggedvlan 2103description VLAN2103port 0/0-0/15 taggedvlan 2104description VLAN2104port 0/0-0/15 taggedexitigmpsnoop enable!slot 0port 0/1pvid 1065storm-control disableexitport 0/2pvid 1065exitport 0/3pvid 1065storm-control disable exitport 0/4pvid 1065storm-control disable exitport 0/5pvid 1065storm-control disable exitport 0/6pvid 1065storm-control disable exitport 0/7pvid 1065storm-control disable exitport 0/8pvid 1065storm-control disable exitport 0/9pvid 1065storm-control disable exitport 0/10pvid 1065storm-control disable exitport 0/11pvid 1065storm-control disable exitport 0/12pvid 1065storm-control disable exitport 0/13pvid 1065exitport 0/14pvid 1065storm-control disableexitport 0/15pvid 1065storm-control disableexitinterface loopback0ip address 127.0.0.1 255.0.0.0exitinterface sw0ip address 192.168.14.2 255.255.255.0vlan-id 2exitip route 0.0.0.0 0.0.0.0 192.168.14.1Switch#3.1 举例说明例:1端口为主端口,2,3端口为下挂交换机端口,4,5端口为普通农带,6-10端口为家庭网关数据,11-12为单个可视电话用户,13端口为网络IP电话用,14端口为带网络IP电话的家庭网关网户,15端口为IP电话用户。
1、迈普设备配置基本命令用户名密码为admin adminSwitch>enableSwith#config terminalSwith(config)#vlan 70 //新建vlan70Switch(Config-If-Vlan70)#name guanli //将vlan70 命名为guanli Switch(Config-If-Vlan70)#ip address 172.17.202.21 255.255.255.0//配置交换机管理地址Switch(Config-If-Vlan70)#no shutdownSwitch(Config-If-Vlan70)#exitSwith(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Swith(config)#vlan 338,440 //新建vlan338,440Switch(Config)# int ethernet 0/0/1 //进入端口Switch(Config-Ethernet1-0/0/1)# no shutdown //打开端口Switch(Config-Ethernet1-0/0/1)# switchport mode access //将端口定义为access口Switch(Config-Ethernet1-0/0/1)# switchport access vlan 338 //将vlan338加入到该端口Switch(Config-Ethernet1-0/0/1)# exitSwitch(Config)# int ethernet 0/0/2-19;ethernet 0/0/20 //进入端口组—Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440 //将vlan440加入到该端口组Switch(Config-Port-Range)#exitSwitch(Config)#int ethernet 0/0/21 //进入端口Switch(Config-Ethernet1-0/0/21)# switchport mode trunk //将端口定义为trunk口Switch(Config-Ethernet1-0/0/21)#switchport trunk allowed vlan 70;338;440 //该端口允许vlan70,338,440通过Switch(Config-Ethernet1-0/0/21)#exitSwitch(Config)#exitSwitch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查寻mac地址4)修改交换机配置—打开端口no shutdown关闭端口shutdown。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置。
交换机配置教案教案标题:交换机配置教案目标:1. 了解交换机的基本概念和功能。
2. 掌握交换机的配置方法和常用命令。
3. 能够根据实际需求进行交换机的基本配置。
教案步骤:一、导入(5分钟)1. 引入交换机的概念和作用,解释为什么需要进行交换机配置。
2. 引导学生思考交换机配置的重要性和影响。
二、交换机基本配置介绍(10分钟)1. 解释交换机的基本配置要素,包括IP地址、VLAN、端口安全等。
2. 介绍交换机配置的常用命令和工具,如Telnet、SSH等。
三、交换机IP地址配置(15分钟)1. 详细讲解交换机的IP地址配置方法,包括静态配置和动态配置(DHCP)。
2. 演示如何使用命令行界面(CLI)进行IP地址配置。
3. 给学生布置一个实践任务,要求他们在实验室环境中配置交换机的IP地址。
四、交换机VLAN配置(15分钟)1. 解释VLAN的概念和作用,以及VLAN的常见应用场景。
2. 介绍交换机的VLAN配置方法,包括创建VLAN、端口划分和VLAN间的互通。
3. 演示如何使用命令行界面进行VLAN配置。
4. 给学生布置一个实践任务,要求他们在实验室环境中配置交换机的VLAN。
五、交换机端口安全配置(10分钟)1. 解释端口安全的概念和作用,以及常见的端口安全措施。
2. 介绍交换机的端口安全配置方法,包括MAC地址过滤、端口绑定等。
3. 演示如何使用命令行界面进行端口安全配置。
4. 给学生布置一个实践任务,要求他们在实验室环境中配置交换机的端口安全。
六、总结和扩展(5分钟)1. 总结交换机配置的要点和步骤。
2. 鼓励学生进一步学习和探索交换机的高级配置和功能。
教案评估:1. 学生在实践任务中的表现和结果。
2. 学生对交换机配置的理解和掌握程度,可以通过小测验或问答形式进行评估。
教案拓展:1. 引导学生学习交换机的其他高级配置和功能,如链路聚合、静态路由等。
2. 鼓励学生进行实际网络环境中的交换机配置和故障排除实践。
交换机配置教案标题:交换机配置教案教案概述:本教案旨在引导学生了解交换机配置的基本原理和步骤。
通过实际配置案例的演示和练习,学生将能够熟练掌握交换机的基本设置和网络管理技能。
教学目标:1. 了解交换机的基本原理和功能。
2. 掌握交换机的基本配置和管理技能。
3. 能够通过命令行界面(CLI)完成基本的交换机配置任务。
4. 能够识别和解决一些常见的交换机配置问题。
教学准备:1. 一台或多台可用进行实际配置的交换机设备。
2. 计算机设备和网络连接,以便通过命令行界面与交换机进行交互。
3. 教师准备好的演示素材和实际配置案例。
教学步骤:引入(5分钟):1. 向学生介绍交换机的基本概念和功能。
2. 激发学生对交换机配置的兴趣和动机。
理论讲解(15分钟):1. 解释交换机的基本配置原理和操作步骤。
2. 讲解交换机的常见配置参数,如IP地址、VLAN、端口安全等。
3. 强调配置时应遵循的最佳实践和安全原则。
演示(15分钟):1. 使用实际的交换机设备进行演示,展示如何通过命令行界面进行基本配置。
2. 重点展示配置IP地址、创建VLAN、配置端口安全等常见操作。
练习(30分钟):1. 学生分组进行实际的交换机配置练习。
2. 提供一些示例场景和问题,学生根据要求进行相应的交换机配置。
讨论和总结(10分钟):1. 学生分享并讨论他们的配置案例和经验。
2. 教师总结并强调重点和易错点。
3. 回答学生可能提出的问题,并解决其疑惑。
作业(5分钟):布置练习作业,要求学生再次运用所学知识进行交换机配置,并提交相关报告。
评估:1. 对学生的配置练习进行评估,包括完成度和准确性。
2. 通过作业报告评估学生对交换机配置知识的理解和应用能力。
延伸活动:1. 鼓励学生进一步探索交换机高级配置和网络管理技能。
2. 提供相关参考资料和学习资源,以供学生自主学习和深入研究。
备注:根据具体教学班级和学生水平的不同,教案中的时间安排和教学步骤可进行适当调整和灵活变动。
1、迈普设备配置基本命令用户名密码为admin adminSwitch>enableSwith#config terminalSwith(config)#vlan 70 //新建vlan70Switch(Config-If-Vlan70)#name guanli //将vlan70 命名为guanli Switch(Config-If-Vlan70)#ip address 172.17.202.21 255.255.255.0//配置交换机管理地址Switch(Config-If-Vlan70)#no shutdownSwitch(Config-If-Vlan70)#exitSwith(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Swith(config)#vlan 338,440 //新建vlan338,440Switch(Config)# int ethernet 0/0/1 //进入端口Switch(Config-Ethernet1-0/0/1)# no shutdown //打开端口Switch(Config-Ethernet1-0/0/1)# switchport mode access //将端口定义为access口Switch(Config-Ethernet1-0/0/1)# switchport access vlan 338 //将vlan338加入到该端口Switch(Config-Ethernet1-0/0/1)# exitSwitch(Config)# int ethernet 0/0/2-19;ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440 //将vlan440加入到该端口组Switch(Config-Port-Range)#exitSwitch(Config)#int ethernet 0/0/21 //进入端口Switch(Config-Ethernet1-0/0/21)# switchport mode trunk //将端口定义为trunk口Switch(Config-Ethernet1-0/0/21)#switchport trunk allowed vlan 70;338;440 //该端口允许vlan70,338,440通过Switch(Config-Ethernet1-0/0/21)#exitSwitch(Config)#exitSwitch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查寻mac地址4)修改交换机配置打开端口no shutdown 关闭端口shutdown。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置。
迈普交换机基本配置 Revised by BLUE on the afternoon of December 12,2020.1、迈普设备配置基本命令用户名密码为 admin adminSwitch>enableSwith#configterminalSwith(config)#vlan 70 //新建vlan70Switch(Config-If-Vlan70)#name guanli //将vlan70 命名为guanliSwitch(Config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(Config-If-Vlan70)#no shutdownSwitch(Config-If-Vlan70)#exitSwith(config)#ip route-static 0.0.0.0 0.0.0.0172.17.202.1//配置交换机路由Swith(config)#vlan 338,440 //新建vlan338,440Switch(Config)# int ethernet 0/0/1 //进入端口Switch(Config-Ethernet1-0/0/1)# no shutdown //打开端口Switch(Config-Ethernet1-0/0/1)# switchport mode access//将端口定义为access口Switch(Config-Ethernet1-0/0/1)# switchport access vlan 338 //将vlan338加入到该端口Switch(Config-Ethernet1-0/0/1)# exitSwitch(Config)# int ethernet 0/0/2-19;ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440 //将vlan440加入到该端口组Switch(Config-Port-Range)#exitSwitch(Config)#int ethernet 0/0/21 //进入端口Switch(Config-Ethernet1-0/0/21)# switchport mode trunk //将端口定义为trunk口Switch(Config-Ethernet1-0/0/21)#switchport trunk allowed vlan 70;338;440 //该端口允许vlan70,338,440通过Switch(Config-Ethernet1-0/0/21)#exitSwitch(Config)#exitSwitch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查寻mac地址4)修改交换机配置打开端口 no shutdown 关闭端口 shutdown。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin admin Switch>enable // 进入普通用户模式 -只能看看Switch#config terminal // 进入全局配置模式 Switch(config)#vlan 70 // 新建 vlan 70 Switch(config-If-Vlan70)#name guanli // 将 vlan70 命名为 guanli Switch(config-If-Vlan70)#ip address172.17.202.21255.255.255.0 // 配置交换机管理地址Switch(config-If-Vlan70)#no shutdown Switch(config-If-Vlan70)#exit Switch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1// 配置交换机路由Switch(Config)#vlan 338 , 440 // 新建 vlan338 , 440Switch(config)#int ethernet 0/0/1 // 进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown // 打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access // 将端口定义为 access 口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388// 将 vlan338 加入该端口Switch(Config- Ethernet- 0/0/1)#exit // 退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 // 进入端口组Switch(Config-Port-Range)#switchport mode access // 将端口组定义为access 口Switch(Config-Port-Range)#switchport access vlan 440 // 将 vlan440 加入该端口组Switch(Config-Port-Range)#exit // 退出Switch(Config)# int ethernet 0/0/21 // 进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk// 将端口定义为 trunk 口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowedvlan70;338;440 // 该端口允许 Vlan70,338,440 通过Switch(Config- Ethernet-0/0/21)exit // 退出 0/0/21 端口Switch(Config)# exit // 退出 .Switch#write // 保存 2、迈普设备故障处理基本命令1) 查看交换机端口状态2) 查看交换机端口描述3) 查询 mac 地址4) 修改交换机配置打开端口 no shutdown关闭端口 no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem文件系统模式COnfigure 全局配置模式 ----interface接口配置模式router*** 路由配置模式ipsccess-list访问列表配置模式VOiCe-POrt语音口配置模式 dial-peer拨号端口配置模式系统配置配置任务命÷命令功能运疔摸式典型例子配置名称hosinunιe改变路由器名称配童模式rtju tt*rf e∣m∏g l#hi uUns*n⅛rm∣ter配置日历IlOCk配置系统日历特权用户模式FoUtrι*do<⅛20D6Ul 15925 LU配置系统用户IIser潘加系统用户配复榄式ΓC)U Ith Cl)TI Hg )⅛usιr∣ EeiPLLTIKIiPUI配置enuble泄码tιnahh?配■超级用户口令配負模式rυukri CUIlfIA L nUbIC PJsSw⅛Kipassword系统配。
迈普交换机配置1、迈普设备配置基本命令用户名密码为:admin adminSwitch>enable //进入普通用户模式-只能看看Switch#config terminal //进入全局配置模式Switch(config)#vlan 70 //新建vlan 70Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0//配置交换机管理地址Switch(config-If-Vlan70)#no shutdownSwitch(config-If-Vlan70)#exitSwitch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1//配置交换机路由Switch(Config)#vlan 338,440 //新建vlan338,440Switch(config)#int ethernet 0/0/1 //进入端口Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口Switch(Config- Ethernet- 0/0/1)#switchport mode access//将端口定义为access口Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388//将vlan338加入该端口Switch(Config- Ethernet- 0/0/1)#exit //退出Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口Switch(Config-Port-Range)#switchport access vlan 440//将vlan440加入该端口组Switch(Config-Port-Range)#exit //退出Switch(Config)# int ethernet 0/0/21 //进入端口Switch(Config- Ethernet-0/0/21)# switchport mode trunk//将端口定义为trunk口Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0/0/21)exit //退出0/0/21 端口Switch(Config)# exit //退出.Switch#write //保存2、迈普设备故障处理基本命令1)查看交换机端口状态2)查看交换机端口描述3)查询mac地址4)修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable 普通用户模式只能看看特权用户模式:filesystem 文件系统模式configure 全局配置模式---- interface 接口配置模式router*** 路由配置模式ipsccess-list 访问列表配置模式voice-port 语音口配置模式dial-peer 拨号端口配置模式系统配置精选文档。
迈普交换机基本配置
迈普交换机配置
1、迈普设备配置基本命令
用户名密码为:admin admin
Switch>enable //进入普通用户模式-只能看看
Switch#config terminal //进入全局配置模式
Switch(config)#vlan 70 //新建 vlan 70
Switch(config-If-Vlan70)#name guanli //将vlan70命名为guanli Switch(config-If-Vlan70)#ip address 172.17.202.21255.255.255.0
//配置交换机管理地址
Switch(config-If-Vlan70)#no shutdown
Switch(config-If-Vlan70)#exit
Switch(config)#ip route-static 0.0.0.0 0.0.0.0 172.17.202.1
//配置交换机路由
Switch(Config)#vlan 338,440 //新建vlan338,440
Switch(config)#int ethernet 0/0/1 //进入端口
Switch(Config- Ethernet- 0/0/1)#no shutdown //打开端口
Switch(Config- Ethernet- 0/0/1)#switchport mode access
//将端口定义为access口
Switch(Config- Ethernet- 0/0/1)#switchport access vlan 388
//将vlan338加入该端口
Switch(Config- Ethernet- 0/0/1)#exit //退出
Switch(Config)# int ethernet 0/0/12-19;int ethernet 0/0/20 //进入端口组
Switch(Config-Port-Range)#switchport mode access //将端口组定义为access口
Switch(Config-Port-Range)#switchport access vlan 440
//将vlan440加入该端口组
Switch(Config-Port-Range)#exit //退出
Switch(Config)# int ethernet 0/0/21 //进入端口
Switch(Config- Ethernet-0/0/21)# switchport mode trunk
//将端口定义为trunk口
Switch(Config- Ethernet-0/0/21)#switchport trunk aaowed vlan70;338;440 //该端口允许Vlan70,338,440通过
Switch(Config- Ethernet-0/0/21)exit //退出 0/0/21 端口
Switch(Config)# exit //退出.
Switch#write //保存
2、迈普设备故障处理基本命令
1)查看交换机端口状态
2)查看交换机端口描述
3)查询mac地址
4)修改交换机配置
打开端口 no shutdown
关闭端口 no shutdown
迈普路由器配置与维护enable 普通用户模式只能看看
特权用户模式:filesystem 文件系统模式
configure 全局配置模式----
interface 接口配置模式
router*** 路由配置模式
ipsccess-list 访问列表配置模式
voice-port 语音口配置模式
dial-peer 拨号端口配置模式
系统配置。