《2022年2022年华为基本配置 .pdf》由会员分享,可在线阅读,更多相关《2022年2022年华为基本配置 .pdf(5页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、华为 3928基本配置 ( 现作) This will reboot device. Continue? Y/N y #Apr 2 00:01:15:484 2000 Quidway COMMONSY/5/REBOOT:- 1 - Reboot Fabric by command. %Apr 2 00:01:19:486 2000 Quidway DEV/5/DEV_LOG:- 1 - Switch is rebooted.Starting. * * Quidway S3928TP-SI BOOTROM, Version 223 * * Copyright(C) 2003-2005, Hang
2、zhou Huawei-3Com Tech. Co., Ltd. All rights reserved. Creation date : Sep 14 2005, 21:32:57 CPU type : BCM4704 CPU Clock Speed : 200MHz BUS Clock Speed : 33MHz Memory Size : 64MB Mac Address : 000fe22090ff Press Ctrl-B to enter Boot Menu. 1 0 Auto-booting. Decompress Image. . . .OK! Starting at 0 x8
3、0100000. Configuration file is not used. User interface aux0 is available. Press ENTER to get started. %Apr 1 23:55:36:35 2000 Quidway SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login #Apr 1 23:55:36:205 2000 Quidway L2INF/2/PORT LINK STATUS CHANGE:- 1 - Trap 1.3.6.1.6.3.1.1.5.4: portIndex is 422763
4、4, ifAdminStatus is 1, ifOperStatus is 1 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 5 页 - - - - - - - - - %Apr 1 23:55:36:400 2000 Quidway L2INF/5/PORT LINK STATUS CHANGE:- 1 - Ethernet1/0/2: is UP sys System View: return to User View with Ctrl+Z. 1. 首先,建立V
5、LAN Quidwayvlan 254 Quidway-vlan254quit 2. 进入 VLAN 接口,进行各种配置Quidwayint vlan 254 Quidway-Vlan-interface254ip address 192.168.1.100 24 Quidway-Vlan-interface254quit 3. 在系统视图下,配置交换机的名字Quidwaysysname IDC 4. 进入 VLAN ,将端口加入VLAN 此步基本用不到IDC vLAN 254 IDC-vlan254port Ethernet 1/0/24 IDC-vlan254 %Apr 2 00:05:1
6、6:632 2000 IDC L2INF/5/VLANIF LINK STATUS CHANGE:- 1 - Vlan- interface254: is UP %Apr 2 00:05:16:748 2000 IDC IFNET/5/UPDOWN:- 1 -Line protocol on the interface Vlan-interface254 is UP IDC-vlan254quit 5. 进入端口,将端口加入VLAN IDCint Ethernet 1/0/1 IDC-Ethernet1/0/1 IDC-Ethernet1/0/1 port access vlan 254 ID
7、C-Ethernet1/0/1quit 6. 设置超级密码IDCsuper password si IDCsuper password simple ? STRING Plain text password string IDCsuper password simple huawei 7. 进行用户配置,这里的是辅助用户和虚拟用户IDCuser-interface ? INTEGER First user terminal interface number to be configured aux Aux user terminal interface 名师资料总结 - - -精品资料欢迎下载
8、 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 5 页 - - - - - - - - - vty Virtual user terminal interface 8. 配置虚拟用户终端接口IDCuser-interface vty 0 4 IDC-ui-vty0-4set authentication password ? cipher Display the current password with cipher text simple Display the current password with
9、plain text 设置认证密码IDC-ui-vty0-4set authentication password simple huawei 设置认证模式IDC-ui-vty0-4authentication-mode ? none Login without checking password Authentication use password of user terminal interface scheme Authentication use RADIUS scheme IDC-ui-vty0-4authentication-mode password IDC-ui-vty0-4
10、quit 9. 端口的相关配置IDCint e1/0/24 IDC-Ethernet1/0/24port ? access Specify current access ports characteristics hybrid Specify current hybrid ports characteristics isolate Port isolate link-aggregation Link aggregation group link-type Specify port link-type trunk Specify current trunk ports characteristi
11、cs IDC-Ethernet1/0/24port link-type ? access Access link-type hybrid Hybrid VLAN link-type irf-fabric Fabric-port link-type trunk VLAN trunk link-type IDC-Ethernet1/0/24port link-type trunk IDC-Ethernet1/0/24 %Apr 2 00:03:52:358 2000 IDC L2INF/5/VLANIF LINK STATUS CHANGE:- 1 - Vlan- interface254: is
12、 DOWN %Apr 2 00:03:52:482 2000 IDC IFNET/5/UPDOWN:- 1 -Line protocol on the interface Vlan-interface254 is DOWN 10. 在为 TRUNK 端口时,允许通过的VLAN 设置IDC-Ethernet1/0/24port trunk ? 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 5 页 - - - - - - - - - permit Specify VLAN
13、which can pass trunk port pvid Specify current trunk ports PVID VLAN characteristics IDC-Ethernet1/0/24port trunk permit vlan ? INTEGER VLAN ID all All the VLANs IDC-Ethernet1/0/24port trunk permit vlan 1 2 254 Please wait. Done. IDC-Ethernet1/0/24 %Apr 2 00:04:17:305 2000 IDC L2INF/5/VLANIF LINK ST
14、ATUS CHANGE:- 1 - Vlan- interface254: is UP %Apr 2 00:04:17:415 2000 IDC IFNET/5/UPDOWN:- 1 -Line protocol on the interface Vlan-interface254 is UP IDC-Ethernet1/0/24quit 11. 建立本地用户IDClocal-user ? STRING Local user name password-display-mode Specify password display mode IDClocal-user cst ? IDClocal
15、-user cst New local user added. 设置次本地用户的服务模式IDC-luser-cstservice-type ? ftp FTP service type lan-access LAN-ACCESS service type ssh Secure Shell service type telnet TELNET service type terminal TERMINAL service type IDC-luser-cstservice-type terminal telnet level 3 配置此本地用户的密码IDC-luser-cstpassword si
16、mple huawei IDC-luser-cstquit 13. 设置 SNMP V3 IDC snmp-agent sys-info version v3 IDC snmp-agent mib-view included wnmview internet IDCsnmp-agent ? 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 5 页 - - - - - - - - - community Set a community for the access of SN
17、MPv1&SNMPv2c group Set an SNMP group based on USM local-engineid Set the engineID of local SNMP entity mib-view Set SNMP MIB view information packet Set SNMP packets parameters sys-info Set system information of the node target-host Set the target hosts to receive SNMP notification/traps trap Set th
18、e parameters of SNMP trap/notification usm-user Set a new user for access to SNMP entity IDCsnmp-agent group v3 wnmview ? acl Set access control list for this group authentication Specify a securityLevel of AuthNoPriv for this group name notify-view Set a notify view for this group name privacy Spec
19、ify a securityLevel of AuthPriv for this group name read-view Set a read view for this group name write-view Set a write view for this group name IDC snmp-agent group v3 wnmgroup authentication read-view wnmview write-view wnmview notify-view wnmview IDC snmp-agent usm-user v3 wnm wnmgroup authentication-mode md5 123456 IDC snmp-agent trap enable standard IDC snmp-agent target-host trap address udp-domain 192.168.1.1 udp-port 5000 params securityname wnm v3 IDC 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 5 页 - - - - - - - - -