迈普交换机基本配置讲课教案

合集下载

迈普交换机系统配置基础培训课件

迈普交换机系统配置基础培训课件

迈普交换机系统配置基础迈普交换机系统配置基础系统模式系统模式及其相互间切换方法(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 拨号端口配置模式系统配置。

第01章 系统基础

第01章 系统基础

版权所有©2010,迈普通信技术股份有限公司,保留所有权利 .
1
Shell 子系统当前为配置命令的运行提供以下多种模式,不同的模式对应于不同的系统提示符,用以提 示用户当前所处的系统模式。可能的一些模式如下: z 普通用户模式(user EXEC) z 特权用户模式(privileged EXEC) z 全局配置模式(global configuration) z 接口配置模式(interface configuration) z 路由配置模式(route configuration) z 文件系统模式(file system configuration) z 访问列表配置模式(access list configuration) z DHCP 配置模式(dhcp configuration)
·配置 DHCP
该模式,同时制定相
应的参数
注: switch 是设备出厂时缺省的系统名称,用户可以在全局配置模式下运行 hostname 命令修改系统名称, 并且这种修改是立即生效的。
版权所有©2010,迈普通信技术股份有限公司,保留所有权利 .
3
·? ? ? ? ? ? enable ·? ? ? ? ? ? filesystem configure
4
从远端配置,则还需两台 MODEM。 2、在确认交换机或终端其中至少有一方是关机的情况下,通过配置电缆将终端的 RS-232 串口与交换
机 Console 口相连。接线关系如图 1-2 所示:
图 1-2 本地配置交换机连接图
3、给终端上电,设置终端通信参数为波特率 9600bps、8 位数据位、1 位停止位、无校验和无流控, 并选择终端类型为 VT100。如果是 PC 机,运行 Win95/98/2000/NT 操作系统,则运行 HyperTerminal(超 级终端)程序,并按照以上参数设置超级终端程序的串口参数。下面以 Windows NT 的终端超级终端程序 为例图示说明:

迈普交换机基本配置

迈普交换机基本配置

迈普交换机配置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 拨号端口配置模式系统配置。

迈普公司交换机培训资料

迈普公司交换机培训资料

端口监控 (四)
• show monitor forward-packet • --------------------------------------------------------------------------------------------------• Entry Port Type Count DropCount Amount DropAmount • --------------------------------------------------------------------------------------------------• 1 0/3 Forward 3952 0 16952 0 • 2 0/2 Forward 247 0 1104 0 • Step2:通过对比上面的统计信息可以知道port0/3受到了攻击。在 port0/3上启动主机级监控,并将每个主机转发报文在一个周期内 上CPU报文的上限值设置为300个。
地址过滤功能简介
• 地址过滤功能具有全局性,作用于整台 交换机。如果某个地址被配置为过滤地 址,那么具有该地址的主机将被禁止通 过本交换机访问网络。 • MyPower系列以太网交换机支持MAC地 址过滤和IP地址过滤。
地址过滤功能配置
• 配置命令如下: • (config)# address-filter ip-address 11.11.11.11 • 【配置模式】全局配置模式。 • 撤消配置命令为: • (config)#no address-filter ip-address 11.11.11.11 | all. • 【配置模式】全局配置模式。 • 显示配置命令为: • (config)#show address-filter ip-address • 【配置模式】Enable模式,全局配置模式。

交换机配置 教案

交换机配置 教案

交换机配置教案教案标题:交换机配置教案目标: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. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

迈普交换机基本配置
迈普交换机配置
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 拨号端口配置模式
系统配置。

相关文档
最新文档