《2022年2022年华为S交换机配置方 .pdf》由会员分享,可在线阅读,更多相关《2022年2022年华为S交换机配置方 .pdf(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、华为 S2403交换机配置方法1。开始界面Starting. * * * * Quidway S2403H-EI BOOTROM, Version 150 * * * * Copyright(C) 2003-2004 by HUAWEI TECHNOLOGIES CO.,LTD. Creation Date : Sep 1 2005, 11:28:24 CPU Type : ARM CPU Clock Speed : 50MHz Memory Size : 32MB Initialize LS41LTSA .OK! SDRAM selftest.OK! FLASH selftest.OK! S
2、witch chip selftest.OK! Slot 1/1 has no module or get slot type error PHY selftest.OK! Please check port leds.finished! The switch Mac is: 000F-E210-4F7F Press Ctrl-B to enter Boot Menu. 0 Auto-booting. Decompress Image.done! Starting . * * All rights reserved (1997-2004) * * Without the owners prio
3、r written consent, * * no decompiling or reverse-engineering shall be allowed.* * User interface Aux0/0 is available Please Press ENTER. %Apr 2 07:57:40 2000 Quidway SHELL/5/LOGIN: Console login from Aux0/0 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 8 页 - -
4、 - - - - - - - 2把帮助改变为中文模式language-mode chinese Change language mode, confirm? Y/Ny % 改变到中文模式。3进入配置模式system-view 进入系统视图 , 键入 Ctrl+Z退回到用户视图. Quidway 注意: 变为 ,退出到上一级模式的命令为quit ,相当于Cisco 设备的配置命令的exit命令,取消操作的命令为undo,相当于Cisco 设备的配置命令中的no 命令。4配置设备的名称Quidwaysysname HSTLXQ2403 HSTLXQ2403 4配置 vlan Quidwayvlan
5、 10 Quidway-vlan30vlan 170 Quidway-vlan200quit Quidway 5配置管理地址Quidwayint vlan 10 Quidway-Vlan-interface30ip address 10.10.10.31 255.255.255.0 Quidway-Vlan-interface30quit 6配置设备端口为trunk模式Quidwayinterface Ethernet 0/1 Quidway-Ethernet0/1port link-type trunk Quidway-Ethernet0/1port trunk permit vlan al
6、l 请等待 .:. 完成 . 7配置设备端口为access 模式Quidwayinterface Ethernet 0/1 Quidway-Ethernet0/1port access vlan 170 8创建管理用户并配置管理权限和密码Quidwaylocal-user admin Quidway-luser-hgcttpassword simple cttwh.wlzx Quidway-luser-hgcttservice-type telnet level 3 说明: level 3为最高级, level 0为最低级9配置远程登录权限名师资料总结 - - -精品资料欢迎下载 - - -
7、- - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 8 页 - - - - - - - - - Quidwayuser-interface vty 0 4 Quidway-ui-vty0-4authentication-mode scheme 注意 : 必须添加Telnet or SSH用户,否则操作员无法登录系统!说明:最后的注意内容不影响操作10配置串口登录权限Quidwayuser-interface aux 0 Quidway-ui-aux0authentication-mode scheme 注意 : 必须添加Teln
8、et or SSH用户,否则操作员无法登录系统!说明:最后的注意内容不影响操作11查看设备的所有配置Quidwaydisplay current-configuration 12保存设备的配置save 将把当前的配置保存到交换机的 flash memory中. 你确信吗 ?Y/Ny 将运行时的配置写入Flash Memory 中. 请稍侯 . 将运行时的配置写入 Flash Memory 中成功 . 13擦除设备的配置reset saved-configuration 交换机的 flash memory 中的配置将被擦除. 你确信吗 ?Y/Ny 开始擦除 flash memory 中的配置 .
9、 请稍侯 . 擦除配置成功 . 14重启设备reboot 确实要重启交换机吗? Y/N y %2000/4/2 08:04:12 Quidway DEV/5/DEV_LOG: Switch is rebooted. 以上是华为S2403的配置方法,具体配置请根据实际需要,配置相关命令。名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 8 页 - - - - - - - - - User Access Verification Password: CTTWH-WB-35501
10、2G10.10.50.23 Trying 10.10.50.23 . Open * * All rights reserved (1997-2004) * * Without the owners prior written consent, * *no decompiling or reverse-engineering shall be allowed.* * Login authentication Username:admin Password: dis cu # sysname CTTWH-SMXC-S2403H # radius scheme system server-type
11、huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain domain system radius-scheme system access-limit disable state active vlan-assignment-mode integer idle-cut disable self-service-url disable messenger time disable domain default enable syst
12、em # local-server nas-ip 127.0.0.1 key huawei local-user admin password cipher .WNUL_56,DJI4&$EQ! service-type telnet level 3 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 8 页 - - - - - - - - - # queue-scheduler wrr 1 2 4 8 # vlan 1 # vlan 50 # vlan 52 # vlan
13、401 # vlan 402 # vlan 403 # vlan 404 # vlan 405 # vlan 406 # vlan 407 # vlan 408 # vlan 409 # vlan 410 # vlan 411 # vlan 412 # vlan 413 # vlan 414 # vlan 415 # vlan 416 # vlan 918 # interface Vlan-interface50 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 8 页 -
14、 - - - - - - - - ip address 10.10.50.23 255.255.255.0 # interface Aux0/0 # interface Ethernet0/1 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 401 to 404 # interface Ethernet0/2 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 52 402 # inter
15、face Ethernet0/3 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 52 403 # interface Ethernet0/4 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 52 404 # interface Ethernet0/5 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan
16、 50 52 405 to 416 # interface Ethernet0/6 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # interface Ethernet0/7 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # interface Ethernet0/8 port link-type trunk undo po
17、rt trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 8 页 - - - - - - - - - interface Ethernet0/9 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # interface Et
18、hernet0/10 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # interface Ethernet0/11 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 50 52 405 to 416 # interface Ethernet0/12 # interface Ethernet0/13 # interface Ethernet0/14 # inter
19、face Ethernet0/15 # interface Ethernet0/16 # interface Ethernet0/17 # interface Ethernet0/18 # interface Ethernet0/19 # interface Ethernet0/20 # interface Ethernet0/21 port access vlan 408 # interface Ethernet0/22 port access vlan 918 # interface Ethernet0/23 port access vlan 408 # interface Etherne
20、t0/24 port link-type trunk 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 7 页,共 8 页 - - - - - - - - - undo port trunk permit vlan 1 port trunk permit vlan 2 to 4094 # interface Ethernet0/25 port link-type trunk undo port trunk permit vlan 1 port trunk permit vlan 2 t
21、o 4094 # interface NULL0 # ip route-static 0.0.0.0 0.0.0.0 10.10.50.250 preference 60 # snmp-agent snmp-agent local-engineid 800007DB000FE210E9DD6877 snmp-agent community read hbcrc snmp-agent sys-info location BeiJing China snmp-agent sys-info version all snmp-agent trap enable standard snmp-agent trap enable configuration # ntp-service unicast-server 10.10.50.1 # user-interface aux 0 authentication-mode scheme user-interface vty 0 4 authentication-mode scheme # return 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 8 页,共 8 页 - - - - - - - - -
限制150内