迈普交换机基本配置范文
迈普交换机文档

1,配置交换机名称为“Switch ”。
语法描述Switch>enable 进入到Enable模式Switch#config 进入到全局配置模式Switch(config)#hostname Switch 配置交换机名称2,设置enable密码(config 模式下):enable password [0 | 7 ] string 设置enable密码,[0 | 7 ] 一般为0,string为所要配置的密码Switch(config)#enable password 0 vlan510 密码设置成vlan5103,设置账号密码(config 模式下):Switch(config)#username account privilege 15 password 0 rootadmin 设置账号accoun 密码rootadmin4,限制telnet客户端登陆地址设置只有指定IP才可以登陆交换机authentication securityip 200.130.240.1 只有ip为200.130.240.1的主机才能telnet交换机No authentication securityip 200.130.240.1 取消ip为200.130.240.1主机telnet交换机的权限可设置多条让其他ip telnet登陆交换机5,查看交换机配置Show run6,查看vlan划分Show vlan7,设置默认路由ip route 0.0.0.0/0 111.15.31.18,保存当前交换机配置信息writeVlan配置1,vlan [数字] 进入创建vlan 值的范围为1~40942,interface vlan [数字] 进入配置vlan3,添加VLAN描述:description string string为所增加描述的内容4,设置vlan的ipSwitch(Config)#interface vlan 1Switch(Config-if-vlan1)# ip adress 10.1.121.1 255.255.255.0 设置vlan1的ip为10.1.121.1,子掩码为255.255.255.05,给vlan指派端口Switch(Config-vlan1)#Switchport interface Ethernet 1/0/1 给vlan10指派端口1端口配置1,端口设置模式Switch(Config)#interface Ethernet 1/0/1Switch(Config-Ethernet1/0/1)#switchport mode trunk 将端口1设置成trunk模式,access同理2,端口速率限制Switch1(Config)#interface e0/0/1Switch1(Config-Ethernet1-0/0/1)#speed-duplex force100-halfforce10-half 为强制10Mbit/s 速率,半双工模式;force10-full 为强制10Mbit/s 速率,全双工模式;force100-half 为强制100Mbit/s 速率,半双工模式;force100-full 为强制100Mbit/s 速率,全双工模式;force100-fx为强制100Mbit/s 光口模式;force1g-half 为强制1000Mbit/s 速率,半双工模式;force1g-full 为强制1000Mbit/s 速率,全双工模式;nonegotiate 为强制关闭千兆端口自动协商;master 为强制千兆端口为master模式;slave 为强制千兆端口为slav模式。
迈普30xxB交换机vlan配置简例

S3024B(config)#port 0/18-0/20 //修改18-20口的pvid为对应的vlan id,也就是2
S3024B(config-port-range)#pvid 2
S3024B>en
password:
S3024B#
S3024B#
S3024B#
S3024B#conf t
% Enter configuration commands, one per line. End with CNTL+Z.
S3024B(config)#vlan 2 //创建vlan2
login:admin //假定要创建的vlan是vlan2和vlan3,vlan2包括port18-20,vlan3包括port21-23,port0/0作为上联trunk口。
password: 您的设备是3016的话,端口的编号可能有少许不同。
pvid 2
exit
port 0/19
pvid 2
exit
port 0/20
pvid 2
exit
port 0/21
pvid 3
exit
port 0/22
pvid 3
exit
port 0/23
pvid 3
exit
!
最后在#下wr保存配置
user admin privilege 15
enable password OW encrypt
service password-encrypt
service login-secure
vlan 1
迈普交换机基本配置

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

迈普交换配置详细说明-CAL-FENGHAI.-(YICAI)-Company One1一、如何从console进入交换机带外管理即通过Console进行管理,通常情况下,在首次配置交换机或者无法进行带内管理时,用户会使用带外管理方式。
例如:用户希望通过远程Telnet来访问交换机时,必须首先通过Console给交换机配置一个IP地址。
用户用Console管理的步骤如下:第一、搭建环境:通过串口线连接图 1-1 交换机Console管理配置环境按照图 1-1所示,将PC的串口(RS-232接口)和交换机随机提供的串口线连接,下面是连接中用到的设备说明:设备名称说明PC机有完好的键盘和RS-232串口,并且安装了终端仿真程序,如Windows 系统自带超级终端等。
串口线一端与PC机的RS-232串口相连;另一端与交换机的Console相连。
交换机有完好的Console。
第二、进入超级终端:连接成功后,打开Windows 系统自带超级终端。
下面是打开Windows XP 自带超级终端的示例。
1)点击超级终端:图 1-2打开超级终端一2)在“名称”处填入打开超级终端的名称,例如把它定义为“Switch”:图 1-3打开超级终端二3)在“连接时使用”处,选择PC机使用的RS-232串口,如连接的是串口1,则选择串口1,点击确定按钮:图 1-4 打开超级终端三4)出现COM1属性,波特率选择“9600”,数据位选择“8”,奇偶校验选择“无”,停止位选择“1”,数据流控制选择“无”;或者直接点击“还原默认值”后,点击确定按钮:图1-5 打开超级终端四5)出现超级终端的配置界面:图 1-6 打开超级终端五第三、进入交换机CLI界面:打开交换机的电源开关。
在超级终端的配置界面上出现了如下提示,进入到交换机的CLI配置方式:switch>二、配置模式介绍图 1-11 交换机的Shell 配置模式一般用户模式用户进入CLI 界面,首先进入的就是一般用户模式,提示符为“Switch>”,符号“>”为一般用户模式的提示符。
迈普交换机基本配置

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 II进入普通用户模式-只能看看Switch#config terminal II进入全局配置模式Switch(config)#vlan 70 II 新建vlan 70Switch(config-lf-Vlan70)#name guanli II 将vlan70 命名为guanli Switch(config-lf-Vlan70)#ip address 172.17.202.21255.255.255.0II配置交换机管理地址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.1II配置交换机路由Switch(Config)#vlan 338,440 II 新建vlan338,440Switch(config)#int ethernet 0I0I1 II 进入端口Switch(Config- Ethernet- 0I0I1)#no shutdown II 打开端口Switch(Config- Ethernet- 0I0I1)#switch port mode accessII将端口定义为access 口Switch(Config- Ethernet- 0I0I1)#switch port access vlan 388II将vlan338加入该端口Switch(Config- Ethernet- 0I0I1)#exit II 退出Switch(Config)# int ethernet 0I0I12-19;int ethernet 0I0I20 II 进入端口组Switch(Config-Port-Range)#switchport mode access // 将端口组定义为access 口Switch(Config-Port-Range)#switch port access vlan 440II将vlan440加入该端口组Switch(Config-Port-Range)#exit II 退出Switch(Config)# int ethernet 0I0I21 II 进入端口Switch(Config- Ethemet-0/0/21)# switch port mode trunkII将端口定义为trunk 口Switch(Config- Ethernet-0I0I21)#switch port trunk aaowed vlan70;338;440 II该端口允许Vlan70,338,440通过Switch(Config- Ethernet-0I0I21)exit II 退出0/0/21 端口Switch(Config)# exit II 退出.Switch#write II 保存2、迈普设备故障处理基本命令1) 查看交换机端口状态2) 查看交换机端口描述3) 查询mac地址4) 修改交换机配置打开端口no shutdown关闭端口no shutdown迈普路由器配置与维护enable普通用户模式只能看看特权用户模式:filesystem文件系统模式configure 全局配置模式 -——interface接口配置模式router*** 路由配置模式ip sccess-list访问列表配置模式voice-port语音口配置模式dial-peer拨号端口配置模式系统配置系统配置。
迈普交换机配置

迈普交换机配置完整配置模板:Switch#conf t% Enter configuration commands, one per line. End with CNTL+Z.Switch(config)#vlan 2300 //定义配置的vlan号也就是业务vlan号Switch(config-vlan2300)#port 0/0 tagged //配置级联口也就是trunk口,迈普设备定义为tag口Switch(config-vlan2300)#port 0/5-0/7 untagged //配置业务端口,迈普设备定义为untag 口Switch(config-vlan2300)#exit //退出vlan配置模式Switch(config)#port 0/5-0/7 //进入untag端口下Switch(config-port-range)#pvid 2300 //绑定对应的pvid号也就是vlan号Switch(config-port-range)#exit //退出端口配置模式Switch(config)#igmpsnoop enable //全局开启igmp协议,此配置是针对组播业务开启的Switch(config)#no spanning-tree //全局关闭生成树协议,此配置针对dhcp获得地址慢配置Switch(config)#port 0/0-0/15Switch(config-port-range)#storm-control disable //端口下关闭广播风暴抑制功能,由于默认下端口下只能接收5%的广播包,而组播也是一种广播,如果不关闭此功能的话,组播就会受到限制,导致视频无法接收或视频图像很卡Switch(config-port-range)#exitSwitch(config)#port 0/1-0/15Switch(config-port-range)#keSwitch(config-port-range)#keepalive 100 //此配置为防止单个端口的环路影响到整个交换机的使用Switch(config-port-range)#exitSwitch(config)#logging trap 5 //此配置为开启日志功能,便于后期问题的跟踪Switch(config)#service timestamps log //此配置为给日志打上时间戳Switch(config)#service timestamps debug //此配置为给debug信息打上时间戳Switch(config)#exit //退出配置模式Switch#clock 2010 5 12 14 13 34 //配置交换机的时间,默认时间是1970年Switch#sho clock14:13:38 05/12/2010Switch(config)#interface sw0 //进入sw0端口进行远程管理地址的配置Switch(config)#ip address 1.1.1.1 255.255.255.0 //配置远程管理地址Switch(config)# snmp-server start //启用snmp网管协议Switch(config)# snmp-server community public view default ro //配置团体名为public,默认权限为只读ro,如果使用可读写权限的话,配置是使用rwSwitch#wr //保存配置Are you sure to override /rfa1/startup (Yes|No)?y烽火交换机网管配置SNMP网管配置一、snmp community NAME (ro|rw)配置snmp共同体。
迈普交换机基本配置

迈普交换机配置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系统配。
迈普交换配置详细说明

迈普交换配置详细说明
一、如何从console进入交换机
带外管理即通过Console进行管理,通常情况下,在首次配置交换机或者无法进行带内管理时,用户会使用带外管理方式。
例如:用户希望通过远程T elnet 来访问交换机时,必须首先通过Console给交换机配置一个IP地址。
用户用Console管理的步骤如下:
第一、搭建环境:
图 11 交换机Console管理配置环境
按照图11所示,将PC的串口(RS-232接口)和交换机随机提供的串口线连接,下面是连接中用到的设备说明:
第二、进入超级终端:
连接成功后,打开Windows 系统自带超级终端。
下面是打开Windows XP 自带超级终端的示例。
1)点击超级终端:
图 12打开超级终端一
2)在“名称”处填入打开超级终端的名称,例如把它定义为“Switch”:
图 13打开超级终端二
3)在“连接时使用”处,选择PC机使用的RS-232串口,如连接的是串口1,则选择串口1,点击确定按钮:
图 14 打开超级终端三
4)出现COM1属性,波特率选择“9600”,数据位选择“8”,奇偶校验选择“无”,停止位选择“1”,数据流控制选择“无”;或者直接点击“还原默认值”后,点击确定按钮:。
迈普路由器BGP基本配置示例

迈普路由器BGP基本配置示例BGP的基本配置图错误!文档中没有指定样式的文字。
-1 BGP的基本配置图解:1、路由器Router-A的S1/0端口(192.1.1.1)连接到路由器Router-B的S1/0端口(192.1.1.2);路由器Router-B的S2/0端口(193.1.1.1)连接到路由器Router-C的S2/0端口(193.1.1.2)。
2、三台路由器的环回口地址分别是:1.1.1.1(Router-A),2.2.2.2(Router-B),3.3.3.3(Router-C)。
3、Router-A位于AS 100中,Router-B、Router-C位于AS 200中。
A、Router-A的配置:命令描述Router-A#configure terminal 进入全局配置模式Router-A(config)#interface loopback0 进入回环接口Router-A(config-if-loopback0)#ip address 1.1.1.1配置ip地址255.255.255.0Router-A(config-if-loopback0)#interface s1/0 进入接口s1/0 Router-A(config-if-serial1/0)#encapsulation hdlc 封装链路层协议hdlcRouter-A(config-if-serial1/0)#ip address 192.1.1.1配置ip地址255.255.255.0Router-A(config-if-serial1/0)#exitRouter-A(config)#router bgp 100进入BGP配置模式Router-A(config-bgp)#neighbor 192.1.1.2 remote-as指定BGP对等体自治系统号200Router-A(config-bgp)#network 1.1.1.0255.255.255.0配置BGP发送的网络Router-A(config-bgp)#exitB、Router-B的配置:命令描述Router-B#configure terminal 进入全局配置模式Router-B(config)#interface loopback0 进入回环接口Router-B(config-if-loopback0)#ip address 2.2.2.2配置ip地址255.255.255.255Router-B(config-if-loopback0)#interface s1/0 进入配置接口s1/0Router-B(config-if-serial1/0)#encapsulation hdlc 封装链路层协议hdlcRouter-B(config-if-serial1/0)#ip address 192.1.1.2255.255.255.0Router-B(config-if-serial1/0)#clock rate 9600 配置时钟Router-B(config-if-serial1/0)#interface s2/0Router-B(config-if-serial2/0)#encapsulation hdlc 封装链路层协议hdlcRouter-B(config-if-serial2/0)#ip address 193.1.1.1255.255.255.0Router-B(config-if-serial2/0)#clock rate 9600Router-B(config-if-serial2/0)#exitRouter-B(config)#router bgp 200进入BGP配置模式Router-B(config-bgp)#neighbor 192.1.1.1 remote-as指定BGP邻居自治系统号100Router-B(config-bgp)#neighbor 193.1.1.2 remote-as指定BGP邻居自治系统号200Router-B(config-bgp)#neighbor 193.1.1.2 next-hop-self把自己的地址作为下一跳Router-B(config-bgp)#exitC、Router-C的配置:命令描述Router-C#configure terminal 进入全局配置模式Router-C(config)#interface loopback0Router-C(config-if-loopback0)#ip address 3.3.3.3255.255.255.255Router-C(config-if-loopback0)#interface s2/0Router-C(config-if-serial2/0)#encapsulation hdlc 封装链路层协议hdlcRouter-C(config-if-serial2/0)#ip address 193.1.1.2255.255.255.0Router-C(config-if-serial2/0)#exitRouter-C(config)#router bgp 200进入BGP配置模式Router-C(config-bgp)#neighbor 193.1.1.1 remote-as指定BGP邻居的自治系统号200Router-C(config-bgp)#exit。
迈普交换机配置

迈普交换机配置迈普交换机配置1、配置举例2、配置交换机名称为“Switch_1”。
语法描述Switch>enable 进入到Enable模式Switch#configure terminal 进入到全局配置模式Switch(config)#hostname Switch_1 配置交换机名称3、设置enable密码(config t 模式下):enable password [0 | 7 ] string 设置enable密码,string为所要配置的密码4、创建VLAN:vlan [vlan-num]语法描述vlan-num 打开VLAN命令,并进入到VLAN配置模式,值的范围为1~40945、添加VLAN描述:description string string为所增加描述的内容6、在VLAN下添加端口:port port-list untag| tag 配置端口为打标模式或不打标模式7、在端口下绑定PVID号(也就是端口的默认VLAN号):pvid pvid-num 在端口配置模式下配置(port下)8、启用全局的igmpsnoop:igmpsnoop enable9、在端口下禁用广播风暴抑制功能:storm-control disable10、交换机三网合一配置Switch#show run //查看配置vlan 1 //删除vlan 1中的端口description defaultport 0/0-0/7untaggedvlan 20description VLAN 20 /创建上网VLAN 20port 0/0 tagged /tagged为打标也就是trunkport 0/1 untagged /untagged为非打标也就是accessport 0/1 pvid 20 /设置端口1的PVID为20vlan 2103description VLAN2103 /创建电话VLAN 2103port 0/0 tagged /tagged为打标也就是trunkport 0/2 untagged /untagged为非打标也就是accessport 0/2 pvid 2103 /设置端口2的PVID为2103vlan 2104description VLAN2104 /创建IPTV VLAN 2104port 0/0 tagged /tagged为打标也就是trunkport 0/3-0/6 untagged /untagged为非打标也就是accessport 0/3-0/6 pvid 2104 /设置端口3-6的PVID为2104exit /退出igmpsnoop enable /开启IGMP组播功能Spanning-tree disable /关闭生成树协议port 0/0storm-control disable /广播风暴控制抑制功能关闭exit /退出wr /保存11、端口环路配置迈普交换机环路检测功能需要在端口下配置:keepalive ,举例说明比如您要在0/1端口下开启端口环路检测功能的话port0/1keepalive 100 //其中100为时间,单位是秒,此命令的意思是每100秒检测一次端口环路12、清空配置迈普交换机清空配置的命令为:在特权模式下也就是#后输入filesystem 回车,然后 dir 可以看到显示出来的文件有个叫startup的,这个文件就是存储配置的文件,把这个文件删除就可以清空配置,使用命令delete startup 将startup文件删除,然后再关电重新启动交换机即可。
迈普交换机配置

迈普交换机配置迈普交换机基本配置一.基本配置进入特权模式:Switch〉enSwitch#进入全局模式:Switch# config terminalSwitch(Config)#退出命令exit举例:SwitchitexitSwitch>帮助命令help举例:Switch>helpenable ― Enable Privileged mode exit — Exit telnet session时钟配置:clock set <HH:MM:SS> <YYYY/MM/DD>功能:设置系统日期和时钟。
参数>为当前时钟,HH取值范围为0、23, MM和SS取值范围为0~59;< YYYY/MM/DD >为当前年、月和日,YYYY取值范围为2000、2035, 取值范围为1、12, DD取值范围为广31。
举例:设置交换机当前日期为2002年8月1日23时0分。
秒。
Switch#clock set 23:0:0 2002. 8. 1 相关命令:show clock超时设置:exec timeout <minutes >功能:设置退出特权用户配置模式超时时间。
参数:< minute >为时间值,单位为分钟,取值范围为0~300。
命令模式:全局配置模式。
缺省情况:系统缺省为5分钟。
使用指南:为确保交换机使用的安全性,防止非法用户的恶意操作,当特权用户在做完最后一项配置后,开始计时,到达设置时间值时,系统就自动退出特are no special instructions below, in this report, the ”1〃mean green town in yingde city middle school, we z means young qingtang town middle school in the Township of yingde city middle school teachers ' professional development study group. ) The actual condition and the specific situation of young teachers ' professional development for young teachers ' College ... (A) (Young teachers of) basic information data analysis 1th problem you of gender () [single topics] option small meter proportion a,. male 14 29. 17% b. female 34 70. 83% beside the effective fill in passengers 48 from survey of data view, I school youngteachers in the, female teachers 34 people, male teachers 14 people,high out 20 people; from by accounted for proportion view, female teachers accounted for than 70. 83%, male teachers 29. 17%, ratio of female teachers account for 41. 66 percent. Young teacher in our school can be seen in the serious imbalance in the sex ratio, obviously there with the current outlooks a greater relationship. This requires the attention of our Administrative Department of education high allocations in education issues. 2nd questions how old you are (a) [form] (A) (Young teachers of) basic information data analysis 1th problem you of gender ()[single topics] option small meter proportion a,. male 14 29. 17% b.female权用户配置模式。
迈普交换机配置指导书

迈普交换机配置指导书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电话用户。
迈普交换配置详细说明

一、如何从console进入交换机带外管理即通过Console进行管理,通常情况下,在首次配置交换机或者无法进行带内管理时,用户会使用带外管理方式。
例如:用户希望通过远程Telnet来访问交换机时,必须首先通过Console给交换机配置一个IP地址。
用户用Console管理的步骤如下:第一、搭建环境:按照图 1-1所示,将PC的串口(RS-232接口)和交换机随机提供的串口线连接,下面是连接中用到的设备说明:第二、进入超级终端:连接成功后,打开Windows 系统自带超级终端。
下面是打开Windows XP 自带超级终端的示例。
1)点击超级终端:2)在“名称”处填入打开超级终端的名称,例如把它定义为“Switch”:图 1-3打开超级终端二3)在“连接时使用”处,选择PC机使用的RS-232串口,如连接的是串口1,则选择串口1,点击确定按钮:图 1-4 打开超级终端三4)出现COM1属性,波特率选择“9600”,数据位选择“8”,奇偶校验选择“无”,停止位选择“1”,数据流控制选择“无”;或者直接点击“还原默认值”后,点击确定按钮:图1-5 打开超级终端四5)出现超级终端的配置界面:图 1-6 打开超级终端五第三、进入交换机CLI界面:打开交换机的电源开关。
在超级终端的配置界面上出现了如下提示,进入到交换机的CLI配置方式:switch>二、配置模式介绍............................图 1-11 交换机的Shell配置模式2.1一般用户模式用户进入CLI界面,首先进入的就是一般用户模式,提示符为“Switch>”,符号“>”为一般用户模式的提示符。
当用户从特权用户模式使用命令exit退出时,可以回到一般用户模式。
2.2特权用户模式在一般用户模式使用enable命令,如果已经配置了进入特权用户的口令,则输入相应的特权用户口令,即可进入特权用户模式“Switch#”。
迈普交换机配置文件

Adminadmin一:24口POE交换机conf t \\进入配置模式hostname LS \\设备名vlan 919,929 \\设备上需要通过的VLANinterface ethernet 1/1-22 \\进入1口至22口switchport mode access \\商品配置成ACCESS模式switchport access vlan 919 \\AP管理VLANexitinterface ethernet 1/23-26 \\进入23至26口switchport mode trunk \\端口配置成TRUN口(用于互联或者上联)switchport trunk allowed vlan all \\允许所有VLAN通过exitinterface vlan 929 \\交换机管理VLANip add 172.16.172.25 255.255.255.0 \\交换机的管理地址exitno int vlan 1ip default-gateway 172.16.172.1 \\交换机网关power inline enable \\开启POE供电exitwr \\保存配置查勘MAC地址show mac-address-table二:8口POE交换机enaconf t \\进入配置模式hostname LS \\设备名vlan 919,929 \\设备上需要通过的VLANinterface ethernet 1/1-7 \\进入1口至7口switchport mode access \\端口配置成ACCESS模式switchport access vlan 919 \\AP管理VLANexitinterface ethernet 1/8-9 \\进入8至9口switchport mode trunk \\端口配置成TRUN口(用于互联或者上联)switchport trunk allowed vlan all \\允许所有VLAN通过exitinterface vlan 929 \\交换机管理VLANip add 172.16.172.25 255.255.255.0 \\交换机的管理地址exitno int vlan 1ip default-gateway 172.16.172.1 \\交换机网关power inline enable \\开启POE供电exitwr \\保存配置在#模式下面,可以用用PING 命令来ping 网关地址看看是否连通。
迈普交换机基本配置

迈普交换机配置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 Jack on December 14,20201、迈普设备配置基本命令用户名密码为 admin adminSwitch>enableSwith#configterminalSwith(config)#vlan 70 //新建vlan70Switch(Config-If-Vlan70)#name guanli //将vlan70 命名为guanliSwitch(Config-If-Vlan70)#ip address//配置交换机管理地址Switch(Config-If-Vlan70)#no shutdownSwitch(Config-If-Vlan70)#exit//配置交换机路由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。
迈普交换机系统配置基础

迈普交换机系统配置基础系统模式系统模式及其相互间切换方法(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、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1、迈普设备配置基本命令用户名密码为admin admin
Switch>enable
Swith#config?terminal
Swith(config)#vlan 70 //新建vlan70
Switch(Config-If-Vlan70)#name guanli //将vlan70 命名为guanli
Switch(Config-If-Vlan70)#ip address
//配置交换机管理地址
Switch(Config-If-Vlan70)#no shutdown
Switch(Config-If-Vlan70)#exit
//配置交换机路由
Swith(config)#vlan 338,440 //新建vlan338,440
Switch(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)# exit
Switch(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)#exit
Switch(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)#exit
Switch(Config)#exit
Switch#write //保存
2、迈普设备故障处理基本命令
1)查看交换机端口状态
2)查看交换机端口描述
3)查寻mac地址
4)修改交换机配置
打开端口no shutdown
关闭端口shutdown。