华为MA配置成普通交换机的方法
- 格式:docx
- 大小:116.10 KB
- 文档页数:10
华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1user-bridging enablecommitquitvlan bind service-profile 1 profile-id 1multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6在敲一遍:multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6save以上配好就可以当交换机去用了。
附图:如果出现的是15 15,则需要再敲一遍该命令。
硬件连接方式首先连接电脑与onu,通过配置线连接图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始—程序—附件---通信—超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置点击确定然后到文件—属性—设置中按下图方式一定要设置ASCII码按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码华为onu 登陆用户名root密码 mduadmin登陆后界面如下登陆onu后输入的命令:enable ---回车erase flash data ---回车Y ---回车reboot system---回车Y---回车回车后等待片刻onu重启后以前所配置的数据即可全部删除查看光功率MA5626>enableMA5626#configMA5626(config)#interface gponnni 0/0/1MA5626(config-if-gponnni-0/0/1)#display port state----------------------------------------------------------------------------F/S/P 0/0/1Laser state AUTOPort state UpWave Length(nm) 1310Identifier Module/connector soldered to motherboardExt.Identifier GBIC/SFP function is defined by serial ID onlyConnector Optical pigtailEncoding NRZBR,Nominal(100Mbps) 13Length(9um)(km) 20.0Length(50um) Not supportLength(62.5um) Not supportLength(Copper) Not supportCc_base 0xaaCC_EXT 0x7bBR,max UnspecifiedBR,min UnspecifiedSFF-8472 Compliance TBDOptions InvalidVendor Rev UnspecifiedVendor PN SFU3424THPCDFIAC Vendor SN C4L2011876 Vendor OUI 000000Manufactured 12-03-21Vendor name SOURCEPHOTONICS TX Bias current(mA) 13.10Supply Voltage(V) 3.20Temperature(C) 43.72TX power(dBm) 2.35RX power(dBm) 1.018口实例MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1{ <cr>|profile-name<K> }:Command:vlan service-profile profile-id 1MA5626(config-vlan-srvprof-1)#user-bridging enableInfo: Please use the commit command to make modifications take effect MA5626(config-vlan-srvprof-1)#commitMA5626(config-vlan-srvprof-1)#quitMA5626(config)#vlan bind service-profile 1 profile-id 1MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please use command idle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1 The number of total service virtual port in this operation: 8 Creating start...Creating end:The number of total service virtual port which need be created: 8 The number of total service virtual port which have been created: 8 MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlan untagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please use command idle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1 The number of total service virtual port in this operation: 8 Creating start...Creating end:The number of total service virtual port which need be created: 8The number of total service virtual port which have been created: 0 MA5626(config)#savePOE功能适用于308版本,后续版本poe命令有些改变,变成port。
华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超等终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan serviceprofile profileid 1 userbridging enablecommitquitvlan bind serviceprofile 1 profileid 1multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6在敲一遍:multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6save以上配好就可以当交换机去用了。
附图:如果呈现的是15 15,则需要再敲一遍该命令。
硬件连接方法首先连接电脑与onu,通过配置线连接图为配置线,“网线头”拔出onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(拔出“网线头”即可)电脑端操纵首先掀开超等终端:开始—法度—附件通信—超等终端掀开超等中断后呈现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定呈现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不成绩2,点击确定,然后依照下图设置点击确定然后到文件—属性—设置中按下图方法此处必须设置一定要设置ASCII码依照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超等终端出点击回车即可呈现要求输入用户名和密码华为onu 登岸用户名root密码 mduadmin登岸后界面如下登岸onu后输入的命令:enable 回车erase flash data 回车Y 回车reboot system回车Y回车回车后等待片刻onu重启后以前所配置的数据即可全部删除。
华为交换机配置方法:华为交换机的配置可以通过Web界面、Telnet命令行和Console命令行进行,下面将介绍常用的三种方法的配置步骤。
Web界面配置1)通过浏览器访问交换机的IP地址或域名。
2)输入用户名和密码,登录Web界面。
3)在Web界面中进行配置,可以通过菜单或搜索进行配置,配置完成后保存并重启生效。
Telnet命令行配置1)通过Telnet协议连接到交换机。
2)输入用户名和密码,登录命令行界面。
3)在命令行界面中输入命令进行配置,配置完成后保存并重启生效。
Console命令行配置1)通过Console串口线连接到交换机。
2)打开串口终端软件,设置好串口参数,连接到交换机。
3)输入用户名和密码,登录命令行界面。
4)在命令行界面中输入命令进行配置,配置完成后保存并重启生效。
常用命令:华为交换机的配置命令分为全局配置和接口配置两种,下面列举一些常用的命令。
全局配置命令命令格式:system-view说明:进入系统视图,进行全局配置。
接口配置命令命令格式:interface 接口类型接口编号说明:进入接口视图,进行接口配置。
VLAN配置命令命令格式:vlan vlan-id说明:创建VLAN。
VLAN接口配置命令命令格式:interface Vlan vlan-id说明:进入VLAN接口视图,进行VLAN接口配置。
静态路由配置命令命令格式:ip route-static 目的网络地址目的网络掩码下一跳地址说明:配置静态路由。
ACL配置命令命令格式:acl number rule-id rule说明:配置ACL。
QoS配置命令命令格式:qos car { inbound | outbound } cir cir-value [ cbs cbs-value ]说明:配置CAR(流量控制)。
STP配置命令命令格式:stp mode stp-mode说明:配置STP(生成树协议)。
以上仅是一些常用命令的示例,具体配置命令还需要根据实际情况进行调整和修改。
(完整版)华为交换机配置命令手册.doc为 QuidWay 交换机配置命令手册:1、开始建立本地配置环境,将主机的串口通过配置电缆与以太网交换机的 Console 口连接。
在主机上运行终端仿真程序(如Windows 的超级终端等),设置终端通信参数为:波特率为 9600bit/s 、8 位数据位、 1 位停止位、无校验和无流控,并选择终端类型为 VT100。
以太网交换机上电,终端上显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如)。
键入命令,配置以太网交换机或查看以太网交换机运行状态。
需要帮助可以随时键入“?“2、命令视图(1)用户视图(查看交换机的简单运行状态和统计信息):与交换机建立连接即进入 (2)系统视图 (配置系统参数 )[Quidway]:在用户视图下键入system- view(3)以太网端口视图(配置以太网端口参数在系统视图下键入(4)VLAN视图 (配置 VLAN参数 )[Quidway-Vlan1]:在系统视图下键入vlan 1(5)VLAN接口视图 (配置 VLAN和 VLAN汇聚对应的 IP 接口参数)[Quidway-Vlan-interface1]:在系统视图下键入interface vlan-interface 1(6)本地用户视图(配置本地用户参数)[Quidway-luser-user1]:在系统视图下键入 local-useruser1(7)用户界面视图 (配置用户界面参数 )[Quidway-ui0]:在系统视图下键入 user-interface3、其他命令设置系统时间和时区 clock time Beijing add 8设置交换机的名称[Quidway]sysname TRAIN-3026-1[TRAIN-3026-1]配置用户登录 [Quidway]user-interface vty 0 4[Quidway-ui-vty0]authentication-mode scheme创建本地用户 [Quidway]local-user huawei[Quidway-luser-huawei]password simple huawei[Quidway-luser-huawei] service-type telnet level3 4、VLAN配置方法『配置环境参数』SwitchA 端口属于 VLAN2,属于 VLAN3『组网需求』把交换机端口加入到VLAN2,加入到 VLAN3数据配置步骤『 VLAN配置流程』(1)缺省情况下所有端口都属于 VLAN 1,并且端口是 access端口,一个access端口只能属于一个 vlan;(2)如果端口是 access端口,则把端口加入到另外一个vlan 的同时,系统自动把该端口从原来的 vlan 中删除掉;(3)除了VLAN1,如果VLAN XX不存在,在系统视图下键入VLAN XX,则创建VLANXX并进入 VLAN视图;如果 VLAN XX已经存在,则进入VLAN视图。
8口MA5626经测试配置成普通交换机,网上搜索的有些步骤不完整,命令有出入。
1.清除原有配置信息
用户名 root
密码 mduadmin
进入配置界面
enable
Switch language-mode
erase flash data
Y
reboot system
Y
回车后等待片刻MA5626重启,原来配置的数据即可全部删除。
2.配置成普通交换机
重启后显示
MA5626>enable
MA5626#config
Switch language-mode
MA5626(config)#vlan service-profile profile-id 1
user-bridging enable
commit
quit
vlan bind service-profile 1 profile-id 1
multi-service-port vlan 1 port 0/1 1-7 user-vlan untagged rx-cttr 6 tx-cttr 6
最后一行命令可能需要两次,显示需要修改7个,成功修改7个。
*网上的配置方法需要一行命令“user-bridging enable”,经测试并不需要,并且经查看MA5626自身没有这个命令,当然也就不会支持,加入这行命令才会有错误提示。
华为交换机配置方法华为交换机是一种高性能网络交换设备,广泛应用于企业、政府机构、教育机构等各种网络环境中。
下面是华为交换机配置的详细方法:登录华为交换机使用终端软件,如SecureCRT或PuTTY,连接到华为交换机的管理口,并输入用户名和密码进行登录。
一般情况下,用户名为admin,密码为admin。
进入系统视图华为交换机采用层级结构的管理视图,系统视图是最高层级的视图。
在登录成功后,可以通过输入system-view命令进入系统视图。
配置基本网络参数在系统视图下,可以配置华为交换机的基本网络参数,包括IP地址、子网掩码、网关和DNS服务器等。
具体命令如下:配置IP地址:interface vlanif 1,ip address 192.168.1.1 24配置网关:ip route-static 0.0.0.0 0.0.0.0 192.168.1.254 配置DNS服务器:ip dns server-address 8.8.8.8其中,vlanif 1是虚拟接口编号,192.168.1.1是华为交换机的IP地址,24是子网掩码的长度,0.0.0.0 0.0.0.0表示默认路由,192.168.1.254是网关的IP地址,8.8.8.8是DNS服务器的IP地址。
配置VLANVLAN是一种虚拟局域网技术,可以将不同的物理端口划分到不同的逻辑网络中。
华为交换机支持IEEE 802.1Q标准的VLAN。
具体命令如下:创建VLAN:vlan batch 10 20配置VLAN接口:interface vlanif 10,ip address 192.168.10.1 24配置端口所属VLAN:interface gigabitethernet 1/0/1,port link-type access,port default vlan 10其中,vlan batch 10 20是批量创建VLAN 10和VLAN 20,interface vlanif 10是VLAN 10的虚拟接口,192.168.10.1是VLAN 10的IP地址,gigabitethernet 1/0/1是物理端口的接口编号。
华为交换教程华为交换路由教程1.切换中⽂模式language-mode Chinese2.进⼊系统视图system-viewEnter system view commands, one per line. End with Ctrl+Z. [Quidway]3.配置某个接⼝(先进⼊接⼝然后才能配置)[Quidway]interface Ethernet 0[Quidway-Ethernet0]4.配置主机名[Quidway]sysname 123[123]5.查看系统⽂件6.保存系统当前配置到flash<123>saveThis will save the configuration in the flash memory.The router configurations will be written to flash.Are you sure?[Y/N]yNow writing current configuration to flash memory.Please wait for a while...Write current configuration to flash memory successfully.再次查看7.设置系统时钟8.初始化设备华为交换机有回收站的概念,如果想恢复彻底删除系统当前配置9.查看系统软硬件版本信息10.查看系统当前运⾏中的配置,也就是内存中的配置display current-configuration#version 5.20, Alpha 1011#sysname H3C 主机名#password-control login-attempt 3 exceed lock-time 120 #undo voice vlan mac-address 00e0-bb00-0000#ipsec cpu-backup enable#undo cryptoengine enable#domain default enable system#vlan 1#domain systemaccess-limit disablestate activeidle-cut disableself-service-url disable#interface Ethernet0/1/0port link-mode route#interface Ethernet0/1/1port link-mode route#interface Ethernet0/1/2port link-mode route##load xml-configuration#user-interface con 0 ⽤户接⼝物理⼝也就是物理终端⼝user-interface vty 0 4 ⽤户接⼝逻辑⼝也就是虚拟终端⼝,就是通过⽹络来连接#Return11.查看保存的配置然后再次display saved-configuration就会看见保存过的配置12.查看端⼝状态13.给端⼝添加描述[123]interface Ethernet 0/1/1[123-Ethernet0/1/1]de[123-Ethernet0/1/1]description ?TEXT Up to 80 characters for description of the interface[123-Ethernet0/1/1]description 502 给0/1/1端⼝添加描述为50214.给aux端⼝添加密码,也就是物理终端的密码[123]user-interface console 0 进⼊到console0⼝[123-ui-console0]set authentication password ?cipher Set the password with cipher text 密⽂密码simple Set the password with plain text 明⽂密码[123-ui-console0]set authentication password cipher h3c然后再查看运⾏中的配置<123>display current-configuration就会看见user-interface con 0set authentication password cipher G`M^B但是华为交换机登陆的时候默认是不要⼝令的所以⼜要进⼊到那aux⼝⾥⾯开启密码认证<123>system-view[123]user-interface console 0[123-ui-console0]authentication-mode ?none Login without checking 不要密码password Authentication use password of user terminal interface 要密码scheme Authentication use AAA ⽤RADIUS服务器来认证然后⼀路推出,按回车的时候就要⼝令如果想取消刚才的设置还是<123>system-view[123]user-interface ?INTEGER<0-70> First user terminal interface number to be configuredaux Aux user terminal interfaceconsole Primary user terminal interfacetty Async serial user terminal interfacevty Virtual user terminal interface[123]user-interface console 0[123-ui-console0]undo set authentication password[123-ui-console0]authentication-mode ?none Login without checkingpassword Authentication use password of user terminal interfacescheme Authentication use AAA[123-ui-console0]authentication-mode n[123-ui-console0]authentication-mode none然后⼀路推出,按回车的时候就不要⼝令给普通⽤户不要密码,切换到管理员要密码<123>system-view[123]user-interface console 0[123-ui-console0]user privilege level ?INTEGER<0-3> Specify privilege level[123-ui-console0]user privilege level 0 0的级别最低然后推出,再次进⼊<123>?User view commands:cluster Run cluster commanddisplay Display current system informationping Ping functionquit Exit from current command viewrsh Establish one RSH connectionssh2 Establish a secure shell client connectionsuper Set the current user priority leveltelnet Establish one TELNET connectiontracert Trace route function就会看见现在的命令少的多,说明⾃⼰现在是个没权利的⽤户,如果想切管理员<123>super ? INTEGER<0-3> Priority level<123>superUser privilege level is 3, and only those commands can be usedwhose level is equal or less than this.Privilege note: 0-VISIT, 1-MONITOR, 2-SYSTEM, 3-MANAGE然后再?就会看见已经切回到管理员,然后给super加密码<123>system-view[123]super password ?cipher Display password with cipher text 密⽂显⽰密码level Specify the entering password of the specified prioritysimple Display password with plain text 明⽂显⽰密码就会给super加密码成功15.给交换机配置IP地址交换机出⼚的时候默认就有⼀个VLAN1。
华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超等终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan serviceprofile profileid 1 userbridging enablecommitquitvlan bind serviceprofile 1 profileid 1multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6在敲一遍:multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6save以上配好就可以当交换机去用了。
附图:如果呈现的是15 15,则需要再敲一遍该命令。
硬件连接方法首先连接电脑与onu,通过配置线连接图为配置线,“网线头”拔出onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(拔出“网线头”即可)电脑端操纵首先掀开超等终端:开始—法度—附件通信—超等终端掀开超等中断后呈现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定呈现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不成绩2,点击确定,然后依照下图设置点击确定然后到文件—属性—设置中按下图方法此处必须设置一定要设置ASCII码依照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超等终端出点击回车即可呈现要求输入用户名和密码华为onu 登岸用户名root密码mduadmin登岸后界面如下登岸onu后输入的命令:enable 回车erase flash data 回车Y 回车reboot system回车Y回车回车后等待片刻onu重启后以前所配置的数据即可全部删除。
华为MA5626如何配置成交换机模式本文以16 口MA5626 为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>e nableMA5626#co nfigMA5626(co nfig)#vla n service-profile profile-id 1user-bridgi ng en ablecommitquitv-anbind service —p 「of=e1 profi-e —id1mum —service —portv-an 1 portoMr —k 5 use7v-anunQrggedrx —cffr6saveMKJ SA匸号f-0Nn LrEzeMO H r o】W1n n r-o r u s'e •ur u二S WF Q F i - e-i二一 【«-r g■気K *rc c e o Tc -d n W M re i c E DrQfild=ro 『二博 id 1h K J s ££n f i c £b n ,J i r v l }l -E,l w U MT b r z «.n c托 Elr rnf2 M-E4”『-e c o ・a =ft o ・*-・s d t 9・r ^fl *o d i F i rl A -i o r才s-p =f『导匚s s d n■沖ru f i r l I M r二 s 316u 6(g h f _'0-u l -Hn-s r v p r o T l s s 二.HJ*5S6(档o H f匚w £呂 bitd^rcice*pro=lBlprdil 年id1 馬 G26ponfi 巳严图为配置线,“网线头”插入onu 的CONSOLE 口,另一端与电脑的 串口接。
ifl-vl iin-sr vprof -1) N u^er-br i d^i ng Mvtblff IrJe: Pledge i 応屮 the can«it coiiH«in<j 1 o nrike wdifice 1 ions idke rff ecI HH6626(confan sruvrof llNcoimil vitin- srvprof D^vtuilH^S626(conribind $eruic« profile 1 prof i 1<* id 1 MRbfc2t(<;onf ifl] Hwn 111 -s^rvicfi-pnr! vLm 1 porl 0/1r 6 tx-ctlr 61 -I S USPT unI rx-c 11 11 Mill tai<e Sfiver^i tomules-. conso l« aav t UEfiM tiM linit flru V4ti sur* Io cr*rftc s*ryiw yirbn] i )or1 (x)?(v<n)1nl :y The riMvbcr oF total bodrd m thic «fierd I tan : Thp n*・bflr af tola] 5ervire virhid) w>r1 in thK wrdtion: 15 O 也胡出匕s1<art … Crpdi ing wf : I he rx ・bw qf t 中 1川1 ^eru i virtue J Ihu n<i«b«F of tohil servict? virVMlf^irl uhidib 啤 cr iwr I uhich h-ivo been (r (?4tod: D3出规这个表示成功如果出现的是15 15,则需要再敲一遍该命令。
华为M A5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1user-bridging enablecommitquitvlan bind service-profile 1 profile-id 1multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6在敲一遍:multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6save以上配好就可以当交换机去用了。
附图:如果出现的是15 15,则需要再敲一遍该命令。
硬件连接方式首先连接电脑与onu,通过配置线连接图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始—程序—附件---通信—超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置点击确定然后到文件—属性—设置中按下图方式此处必须设置一定要设置ASCII码按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码华为onu 登陆用户名root密码 mduadmin登陆后界面如下登陆onu后输入的命令:enable ---回车erase flash data ---回车Y ---回车reboot system---回车Y---回车回车后等待片刻onu重启后以前所配置的数据即可全部删除查看光功率MA5626>enableMA5626#configMA5626(config)#interface gponnni 0/0/1MA5626(config-if-gponnni-0/0/1)#display port state----------------------------------------------------------------------------F/S/P 0/0/1Laser state AUTOPort state UpWave Length(nm) 1310Identifier Module/connector soldered to motherboardExt.Identifier GBIC/SFP function is defined by serial ID onlyConnector Optical pigtailEncoding NRZBR,Nominal(100Mbps) 13Length(9um)(km) 20.0Length(50um) Not supportLength(62.5um) Not supportLength(Copper) Not supportCc_base 0xaaCC_EXT 0x7bBR,max UnspecifiedBR,min UnspecifiedSFF-8472 Compliance TBDOptions InvalidVendor Rev UnspecifiedVendor PN SFU3424THPCDFIACVendor SN C4L2011876Vendor OUI 000000Manufactured 12-03-21Vendor name SOURCEPHOTONICSTX Bias current(mA) 13.10Supply Voltage(V) 3.20Temperature(C) 43.72TX power(dBm) 2.35RX power(dBm) 1.018口实例MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1{ <cr>|profile-name<K> }:Command:vlan service-profile profile-id 1MA5626(config-vlan-srvprof-1)#user-bridging enableInfo: Please use the commit command to make modifications takeMA5626(config-vlan-srvprof-1)#commitMA5626(config-vlan-srvprof-1)#quitMA5626(config)#vlan bind service-profile 1 profile-id 1MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlanuntagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please usecommandidle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1The number of total service virtual port in this operation: 8Creating start...Creating end:The number of total service virtual port which need be created: 8The number of total service virtual port which have been created:8MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlanuntagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please useidle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1The number of total service virtual port in this operation: 8Creating start...Creating end:The number of total service virtual port which need be created: 8The number of total service virtual port which have been created:MA5626(config)#savePOE功能数字光模块版的光口查询光功率MA5626(config-if-eth-0/0)#display port ?---------------------------------------------Command of eth Mode:---------------------------------------------ddm-info Display ddm information of optical moduleoptic-power-threshold Display TX optical power thresholdopticstate Display information of optical modulestate Display port statestatistics Display port statisticstraffic Display port trafficMA5626(config-if-eth-0/0)#display port opticstate{ all<K>|portid<U><1,2> }:Command:display port opticstate^% Incomplete command, the error locates at '^'MA5626(config-if-eth-0/0)#display port opticstate ?---------------------------------------------Command of eth Mode:---------------------------------------------all All portsportid<U><1,2> Port IDMA5626(config-if-eth-0/0)#display port opticstate all-------------------------------------------------------------------------------Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)-------------------------------------------------------------------------------1 - - - - - -2 21 10 55 55 0 M1000BASE_CX-------------------------------------------------------------------------------MA5626(config-if-eth-0/0)#display port opticstate all-------------------------------------------------------------------------------Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)-------------------------------------------------------------------------------1 21 10 55 55 0 M1000BASE_CX2 - - - - - --------------------------------------------------------------------------------MA5626(config-if-eth-0/0)#quitMA5626(config)#display board 0-------------------------------------------------------------------------SlotID BoardName Status SubType0 SubType1 Online/Offline-------------------------------------------------------------------------0 H822EPUB Active_normal UP2A1 H821EPFA Normal2-------------------------------------------------------------------------MA5626(config)#interface eth 0/0MA5626(config-if-eth-0/0)#display port opticstate all-------------------------------------------------------------------------------Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)-------------------------------------------------------------------------------1 21 10 55 55 0 M1000BASE_CX2 - - - - - --------------------------------------------------------------------------------MA5626(config-if-eth-0/0)#display port state all------------------------------------------------------------------------------Port Port Optic MDI Speed Duplex Flow- Active LinkType Status (Mbps) Ctrl State------------------------------------------------------------------------------1 GE normal - auto_1000 auto_full off active online2 GE absence - auto auto off activeoffline------------------------------------------------------------------------------Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI toany value is invalidMA5626(config-if-eth-0/0)#display port ddm-info all^% Parameter error, the error locates at '^'MA5626(config-if-eth-0/0)#display port ddm-info{ portid<U><1,2> }:Command:display port ddm-info^% Incomplete command, the error locates at '^'MA5626(config-if-eth-0/0)#display port ddm-info 1Temperature(C) : 49.700000Supply voltage(V) : 3.300000TX bias current(mA) : 31.290000TX power(dBm) : -4.660000RX power(dBm) : -2.990000MA5626(config-if-eth-0/0)#display port ddm-info 2Failure: The optic module of port is absence, can not do such operation MA5626(config-if-eth-0/0)#display port ddm-info 2Temperature(C) : 58.180000Supply voltage(V) : 3.300000TX bias current(mA) : 31.050000TX power(dBm) : -4.690000RX power(dBm) : -2.940000MA5626(config-if-eth-0/0)#。
华为MA5626配置成普通交换机的方法华为MA5626是一款BRAS(宽带接入服务器),并不是一款普通交换机。
它主要用于接入宽带接入用户,提供接入、认证、计费等功能。
但是,可以通过一些配置来将其使用为普通交换机。
下面是将华为MA5626配置成普通交换机的方法:步骤一:登录设备1. 使用支持Telnet或SSH的终端工具登录MA5626,输入用户名和密码进行登录。
步骤二:配置端口模式1. 进入系统视图:system-view2. 进入端口视图:interface GigabitEthernet/0/03. 配置端口为交换机口模式:port link-type access步骤三:配置VLAN1. 进入系统视图:system-view2. 创建VLAN:vlan 103. 配置VLAN名称:vlan-name VLAN104. 配置端口属于VLAN:interface GigabitEthernet/0/0port default vlan 10步骤四:配置IP地址1. 进入系统视图:system-view2. 配置接口IP地址:interface Vlanif10ip address 192.168.1.1 243. 启用接口:interface Vlanif10undo shutdown步骤五:配置静态路由(可选)1. 进入系统视图:system-view2. 配置静态路由:ip route-static 0.0.0.0 0.0.0.0192.168.1.254步骤六:配置交换机转发1. 进入系统视图:system-view2. 开启交换机转发:ip forwarding步骤七:保存并退出1. 保存配置:save通过以上的配置,我们可以将华为MA5626配置成一个具有交换功能的设备。
注意,MA5626的交换功能有一定的局限性,不如专业交换机灵活和强大。
因此,如果需要高级的交换功能,建议使用专业交换机。
以下为2种交换机的配置方法,有的部分我可能会用简写.所以调测时.可以按TAB键补全. 华三交换机:配置基本与以前HI系列的交换机一样. 假设管理VLAN为2009,业务VLAN为2020.IP为192.168.1.1,网关193,掩码192.sysundo int vlan 1vlan 2020vlan 2009qman vlan 2009int vlan 2009ip add 192.168.1.1 255.255.255.192qip rout 0.0.0.0 0.0.0.0 192.168.1.193int e 1/0/1port acc vlan 2020int e 1/0/2port acc vlan 2020int e 1/0/3port acc vlan 2020int e 1/0/4port acc vlan 2020int e 1/0/5port acc vlan 2020int e 1/0/6port acc vlan 2020int e 1/0/7port acc vlan 2020int e 1/0/8port acc vlan 2020int gig 1/1/1port link truport tru per vlan 2020 2009undo port tru per vlan 1des [** To ***** **]q(在[]模式下打下条命令行设置远程登陆)user vty 0 4auth aaaqaaalocal-user root pass ciph nod&gdi#local-user root service telelocal-user root level 3================================================================================ ==============================================以下为配置华为交换机方法:sysvlan 2020vlan 2009qundo int vlan 1(因为华为系列交换机默认情况下是把VLAN 1做为管理VLAN)int vlan 2009ip add 192.168.1.1 255.255.255.192qip rout 0.0.0.0 0.0.0.0 192.168.1.193int eth0/0/1port def vlan 2020int eth0/0/2port def vlan 2020int eth0/0/3port def vlan 2020int eth0/0/4port def vlan 2020int eth0/0/5port def vlan 2020int eth0/0/6port def vlan 2020int eth0/0/7port def vlan 2020int eth0/0/8port def vlan 2020(如果你把这个交换机作为普通的楼道交换机使用,那一般需要在端口上配置强制10MB的命令,您就需要先在端口上配置undo negotiation auto的命令行.再打speed 10 )int gig 0/0/1undo port def vlan(因为华为交换机的汇聚口在默认情况下是只透穿VLAN 1的.所以你配置的时候必须先取消这条命令.)port link truport tru allow-pass vlan 2009 2020des [** TO ******** **]q(在[]模式下打下条命令行设置远程登陆)local-user rootpass ciph nod&gdi#serv tel le 3quser vty 0 4 auth sche。
华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超等终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan serviceprofile profileid 1userbridging enablecommitquitvlan bind serviceprofile 1 profileid 1multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6在敲一遍:multiserviceport vlan 1 port 0/1 115 uservlan untagged rxcttr 6 txcttr 6save以上配好就可以当交换机去用了。
附图:如果呈现的是15 15,则需要再敲一遍该命令。
硬件连接方法首先连接电脑与onu,通过配置线连接图为配置线,“网线头”拔出onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(拔出“网线头”即可)电脑端操纵首先掀开超等终端:开始—法度—附件通信—超等终端掀开超等中断后呈现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定呈现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不成绩2,点击确定,然后依照下图设置点击确定然后到文件—属性—设置中按下图方法此处必须设置一定要设置ASCII码依照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超等终端出点击回车即可呈现要求输入用户名和密码华为onu 登岸用户名root密码mduadmin登岸后界面如下登岸onu后输入的命令:enable 回车erase flash data 回车Y 回车reboot system回车Y回车回车后等待片刻onu重启后以前所配置的数据即可全部删除。
华为交换机配置教程华为交换机配置教程华为交换机是目前市场上最常用的网络设备之一,它可以提供可靠的网络通信服务。
本教程将向您介绍如何配置华为交换机。
1. 首先,连接华为交换机到电源,并将其连接到本地网络。
确保所有的连接都是正确的,并确保交换机的电源正常工作。
2. 连接到交换机的计算机上,打开一个浏览器,并输入交换机的IP地址。
这个地址通常是192.168.1.1,但也可能因您的网络设置而有所不同。
输入正确的地址后,按下回车键,您会看到华为交换机的登录页面。
3. 在登录页面上,输入正确的用户名和密码。
默认的用户名是admin,密码是admin。
如果您修改了用户名和密码,请使用修改后的凭据登录。
4. 成功登陆后,您将进入华为交换机的控制面板。
在这里,您可以进行各种配置和管理操作。
例如,您可以创建和删除VLAN(虚拟局域网),设置端口安全性,配置子接口等等。
5. 如果您想配置VLAN,在控制面板上找到“VLAN”选项,并点击进入。
在VLAN页面上,您可以创建新的VLAN,并将端口分配给它。
您可以根据需要创建多个VLAN,并将它们与不同的端口进行关联。
6. 如果您想设置端口安全性,找到“安全性”选项,并点击进入。
在这里,您可以配置交换机的端口安全策略,设置允许和禁止连接的MAC地址,以及设置一些其他相关的参数。
7. 如果您想配置子接口,在控制面板上找到“接口”选项,并点击进入。
在接口页面上,您可以配置交换机的子接口参数,如VLAN ID,IP地址等等。
这对于划分不同的网络和实现更高的网络可用性非常有用。
8. 配置完成后,记得保存并应用您的改动。
在控制面板上找到“保存”选项,并点击保存您的配置。
这样,您的配置将被应用到交换机上。
华为交换机的配置教程到此结束。
通过按照以上步骤进行配置,您将能够对华为交换机进行各种操作和管理。
同时,我们也建议您参考华为交换机的用户手册和官方文档,以获取更详细的信息和指导。
希望这个教程能对您有所帮助,并对您在配置华为交换机时更加自信和熟练。
华为MA5620改为交换机设置的具体简单步骤。
准备工作:
1.准备:Com 转网口的数据传输连接线
2.计算机系统是WINxp的话直接使用系统自带的超级终端程序。
Win7及以上的话下载
一个超级终端程序hyper terminal
3.把数据线的串口连接上计算机串口上。
网线端链接Ma5620的Console口上。
4.启动超级终端程序,位调为9600。
链接。
用户名:root ;密码:mduadmin
具体参数设计步骤:
MA5620默认端口是隔离的,要做二层交换机主要是要解决端口隔离的问题。
需要输入的命令如下:
Enable
Config
vlan service-profile profile-id 2
user-bridging enable
commit
quit
vlan 2 smart
vlan bind service-profile 2 profile-id 2
multi-service-port vlan 2 port 0/1 1-24 user-vlan untagged rx-cttr 6 tx-cttr 6
祝你成功。
万事如意。
华为MA5620改为交换机设置的具体简单步骤。
准备工作:
1.准备:Com 转网口的数据传输连接线
2.计算机系统是WINxp的话直接使用系统自带的超级终端程序。
Win7及以上的话下载一个
超级终端程序hyper terminal
3.把数据线的串口连接上计算机串口上。
网线端链接Ma5620的Console口上。
4.启动超级终端程序,位调为9600。
链接。
用户名:root ;密码:mduadmin
具体参数设计步骤:
MA5620默认端口是隔离的,要做二层交换机主要是要解决端口隔离的问题。
需要输入的命令如下:
Enable
Config
vlan service-profile profile-id 2
user-bridging enable
commit
quit
vlan 2 smart
vlan bind service-profile 2 profile-id 2
multi-service-port vlan 2 port 0/1 1-24 user-vlan untagged rx-cttr 6 tx-cttr 6
祝你成功。
万事如意。
精心搜集整。
华为交换机基础配置教程-交换机配置教程1:配置登录⽤户,⼝令等vQuidway> // ⽤户直⾏模式提⽰符,⽤户视图vQuidway>system-view // 进⼊配置视图[Quidway] // 配置视图(配置密码后必须输⼊密码才可进⼊配置视图)[Quidway] sysname xxx // 设置主机名成为xxx这⾥使⽤[Quidway] aaa // 进⼊aaa认证模式定义⽤户账户[Quidway-aaa] local-user wds password cipher wds[Quidway-aaa] local-user wds level 15[Quidway-aaa] local-user wds service-type telnet term inal ssh // 有时候这个命令是最先可以运// ⾏的,上边两个命令像password,level都是定义完vty的// authe nticati on-m ode aaa 后才出现[Quidway-aaa] quit[Quidway] user-i nteface vty 0 4 // 当时很奇怪这个命令就是找不到,最后尝试了⼏次才能运⾏[Quidway-ui-vtyO-4] authe nticati on-m ode aaa[Quidway-ui-vtyO-4] quit2 :华为S9303 VLan设置创建vlan :// ⽤户直⾏模式提⽰符,⽤户视图system-view // 进⼊配置视图[Quidway] vlan 10 // 创建vlan 10,并进⼊vlan10配置视图,如果vlan10存在就直接进⼊vlan10配置视图[Quidway-vla n10] quit // 回到配置视图[Quidway] vlan 100 // 创建vian 100,并进⼊vian100 配置视图,如果vian10 存在就直接进⼊vian100配置视图[Quidway-vla n100] quit // 回到配置视图将端⼝加⼊到vlan中:[Quidway] in terface GigabitEther net2/0/1 (10G 光⼝)[Quidway- GigabitEthernet2/0/1] port lin k-type access // 定义端⼝传输模式[Quidway- GigabitEthernet2/0/1] port default vlan 100 // 将端⼝加⼊vlan100 [Quidway- GigabitEthernet2/0/1] quit [Quidway] in terface GigabitEther net1/0/0 // 进⼊1号插槽上的第⼀个千兆⽹⼝配置视图中。
华为MA5626如何配置成交换机模式本文以16口MA5626为例通过串口线用超级终端登录用户名root密码mduadmin(这是默认的用户名和密码)MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1user-bridging enablecommitquitvlan bind service-profile 1 profile-id 1multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6在敲一遍:multi-service-port vlan 1 port 0/1 1-16 user-vlan untagged rx-cttr 6 tx-cttr 6save以上配好就可以当交换机去用了。
附图:如果出现的是15 15,则需要再敲一遍该命令。
硬件连接方式首先连接电脑与onu,通过配置线连接图为配置线,“网线头”插入onu的CONSOLE口,另一端与电脑的串口接。
图为onu上对应的CONSOLE接口(插入“网线头”即可)电脑端操作首先打开超级终端:开始—程序—附件---通信—超级终端打开超级中断后出现如下提示点否进入如下界面名称随便写,图标选择默认的即可,然后点击确定出现如下界面连接口选择COM1或者COM2根据自己的机器选择,1不行就2,点击确定,然后按照下图设置点击确定然后到文件—属性—设置中按下图方式此处必须设置一定要设置ASCII 码按照图中行延迟和字符延迟都设置为200毫秒,然后点击确定即可在超级终端出点击回车即可出现要求输入用户名和密码华为onu 登陆用户名root密码 mduadmin登陆后界面如下登陆onu后输入的命令:enable ---回车erase flash data ---回车Y ---回车reboot system---回车Y---回车回车后等待片刻onu重启后以前所配置的数据即可全部删除查看光功率MA5626>enableMA5626#configMA5626(config)#interface gponnni 0/0/1MA5626(config-if-gponnni-0/0/1)#display port state----------------------------------------------------------------------------F/S/P 0/0/1Laser state AUTOPort state UpWave Length(nm) 1310Identifier Module/connector soldered to motherboardExt.Identifier GBIC/SFP function is defined by serial ID onlyConnector Optical pigtailEncoding NRZBR,Nominal(100Mbps) 13Length(9um)(km) 20.0Length(50um) Not supportLength(62.5um) Not supportLength(Copper) Not supportCc_base 0xaaCC_EXT 0x7bBR,max UnspecifiedBR,min UnspecifiedSFF-8472 Compliance TBDOptions InvalidVendor Rev UnspecifiedVendor PN SFU3424THPCDFIACVendor SN C4L2011876Vendor OUI 000000Manufactured 12-03-21Vendor name SOURCEPHOTONICSTX Bias current(mA) 13.10Supply Voltage(V) 3.20Temperature(C) 43.72TX power(dBm) 2.35RX power(dBm) 1.018口实例MA5626>enableMA5626#configMA5626(config)#vlan service-profile profile-id 1{ <cr>|profile-name<K> }:Command:vlan service-profile profile-id 1MA5626(config-vlan-srvprof-1)#user-bridging enableInfo: Please use the commit command to make modifications take effectMA5626(config-vlan-srvprof-1)#commitMA5626(config-vlan-srvprof-1)#quitMA5626(config)#vlan bind service-profile 1 profile-id 1MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlanuntagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please use commandidle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1The number of total service virtual port in this operation: 8Creating start...Creating end:The number of total service virtual port which need be created: 8The number of total service virtual port which have been created: 8MA5626(config)#multi-service-port vlan 1 port 0/1 1-8 user-vlanuntagged rx-cttr 6 tx-cttr 6It will take several minutes, and console may timeout, please use commandidle-timeout to set time limitAre you sure to create service virtual port(s)? (y/n)[n]:yThe number of total board in this operation: 1The number of total service virtual port in this operation: 8Creating start...Creating end:The number of total service virtual port which need be created: 8The number of total service virtual port which have been created: 0MA5626(config)#savePOE功能数字光模块版的光口查询光功率MA5626(config-if-eth-0/0)#display port ?---------------------------------------------Command of eth Mode:---------------------------------------------ddm-info Display ddm information of optical moduleoptic-power-threshold Display TX optical power thresholdopticstate Display information of optical modulestate Display port statestatistics Display port statisticstraffic Display port trafficMA5626(config-if-eth-0/0)#display port opticstate{ all<K>|portid<U><1,2> }:Command:display port opticstate^% Incomplete command, the error locates at '^'MA5626(config-if-eth-0/0)#display port opticstate ?---------------------------------------------Command of eth Mode:---------------------------------------------all All portsportid<U><1,2> Port IDMA5626(config-if-eth-0/0)#display port opticstate all-------------------------------------------------------------------------------Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)-------------------------------------------------------------------------------1 - - - - - -2 21 10 55 55 0M1000BASE_CX------------------------------------------------------------------------------- MA5626(config-if-eth-0/0)#display port opticstate all------------------------------------------------------------------------------- Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)------------------------------------------------------------------------------- 1 21 10 55 55 0M1000BASE_CX2 - - - - - -------------------------------------------------------------------------------- MA5626(config-if-eth-0/0)#quitMA5626(config)#display board 0-------------------------------------------------------------------------SlotID BoardName Status SubType0 SubType1 Online/Offline-------------------------------------------------------------------------0 H822EPUB Active_normal UP2A1 H821EPFA Normal2-------------------------------------------------------------------------MA5626(config)#interface eth 0/0MA5626(config-if-eth-0/0)#display port opticstate all------------------------------------------------------------------------------- Port bit 9um length 50um length 62.5um length copper length typerate supported supported supported supported(100M/s) (km) (10m) (10m) (m)------------------------------------------------------------------------------- 1 21 10 55 55 0M1000BASE_CX2 - - - - - -------------------------------------------------------------------------------- MA5626(config-if-eth-0/0)#display port state all------------------------------------------------------------------------------ Port Port Optic MDI Speed Duplex Flow- Active LinkType Status (Mbps) Ctrl State------------------------------------------------------------------------------ 1 GE normal - auto_1000 auto_full off active online2 GE absence - auto auto off active offline------------------------------------------------------------------------------ Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI to any value is invalidMA5626(config-if-eth-0/0)#display port ddm-info all^% Parameter error, the error locates at '^'MA5626(config-if-eth-0/0)#display port ddm-info{ portid<U><1,2> }:Command:display port ddm-info^% Incomplete command, the error locates at '^'MA5626(config-if-eth-0/0)#display port ddm-info 1Temperature(C) : 49.700000Supply voltage(V) : 3.300000TX bias current(mA) : 31.290000TX power(dBm) : -4.660000RX power(dBm) : -2.990000MA5626(config-if-eth-0/0)#display port ddm-info 2Failure: The optic module of port is absence, can not do such operationMA5626(config-if-eth-0/0)#display port ddm-info 2Temperature(C) : 58.180000Supply voltage(V) : 3.300000TX bias current(mA) : 31.050000TX power(dBm) : -4.690000RX power(dBm) : -2.940000MA5626(config-if-eth-0/0)#。