版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、华为S3526交换机配置命令首先通过配置线连接电脑与交换机的console口,在电脑上按以下步骤打开超级终端连接交换机: 开始-程序-附件-通讯-超级终端 连接选择COM口选择还原默认值,按确定,即可与交换机交互 一、 视图设置:<S3526> ······················· 接入交换机既进入用户视图,可查看交换机运行状态<S3526
2、> system-view ·························· 进入系统视图S3526 ···················
3、······· 系统视图,可进行系统参数配置S3526 quit ·························· 返回用户视图<S3526>二、 还原出厂设置:只能在用户视图下<S3526> reset saved-configuratio
4、n ···························· 清除交换机配置文件This will delete the configuration in the flash memory.The switch configurations will be erased to reconfigure.Are you s
5、ure?Y/N ······················· 输入Y,按回车确认清除交换机配置<S3526> reboot ···················
6、183;···重启交换机This will reboot Switch. Continue? Y/N ················ 输入Y,按回车确认重启三、保存命令:<S3526> save ················
7、3;···········只能在用户视图下save保存数据This will save the configuration in the flash memory.The switch configurations will be written to flash.Are you sure?Y/N ················
8、;·············· 输入Y,按回车确认当完成交换机配置后一定要记得 save 保存四、交换机命名<S3526> system-view ·························
9、· 进入系统视图S3526 sysname BOSS ····················在系统视图下将交换机名字命名为 BOSSBOSS ····················
10、83;··· 交换机名字已更改为 BOSS五、设置管理ipBOSS int vlan 1 ················· 进入vlan1 端口BOSS-Vlan-interface1 ip address 192.168.1.175 255.255.255.0 ···········&
11、#183;· 设置管理ip删除管理vlan和ipBOSS int vlan 1 ················· 进入vlan1 端口BOSS-Vlan-interface1 undo ip address 192.168.1.175 255.255.255.0 BOSS undo int vlan 1 六、查看信息BOSS dis curr ······
12、·························· 查看全部配置信息# sysname Quidway # radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 use
13、r-name-format without-domain domain default enable system # local-server nas-ip 127.0.0.1 key huawei # queue-scheduler wrr 1 2 4 8#vlan 1#vlan 25 description boss#description cmnet#interface Vlan-interface1#interface Aux0/0#interface Ethernet0/1 description up-to-608 port link-type trunk undo port t
14、runk permit vlan 1 port trunk permit vlan 18 25 40 101 738 800 995 1042 1116查看端口信息BOSSdis cur int Ethernet 0/2#interface Ethernet0/2 description to lisi ······················· 对此端口的描述,
15、描述为 to 李四 duplex full ······················· 此端口双工模式配置为 全双工 speed 100 ···················
16、···· 此端口速率配置为 100M flow-control ······················· 此端口已配置 流量控制 port access vlan 2 ·············
17、·········· 此端口属于 VLAN 2查看vlan信息Quidwaydis vlan all VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0001 Name: VLAN 0001 Tagged Ports: none Untagged Ports: Ethernet0/15 Ethernet0/16 Ethernet0/19 Ethernet0/20 Ethernet0/21
18、 Ethernet0/22 Ethernet0/24 Ethernet0/25 VLAN ID: 25 VLAN Type: static Route Interface: not configured Description: boss Name: VLAN 0025 Tagged Ports: Ethernet0/1 Untagged Ports: Ethernet0/17 Ethernet0/18 BOSS dis vlan 1 VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0
19、001 Name: VLAN 0001 Tagged Ports: none Untagged Ports: Ethernet0/15 Ethernet0/16 Ethernet0/19 Ethernet0/20 Ethernet0/21 Ethernet0/22 Ethernet0/24 Ethernet0/25七、Telnet配置密码认证模式,需要输入password登录交换机BOSS user-interface vty 0 4 BOSS-ui-vty0-4 authentication-mode password ···· 配置为密码认证模式BO
20、SS-ui-vty0-4 set authentication password simple huawei ···· 设置明文密码为huaweiBOSS-ui-vty0-4 user privilege level 3 ··············· 设telnet权限等级为最高级3级配置本地TELNET用户认证模式,需要输入username和password才可以登陆交换机BOSS user-inter
21、face vty 0 4 BOSS-ui-vty0-4 authentication-mode scheme ···· 配置为本地TELNET用户BOSS-ui-vty0-4 quit ······················· 返回系统视图BOSS local-user boss ···
22、83;·················· 建立本地用户,名字为bossBOSS-luser-boss password simple 111 ··········· 设置明文密码为 111BOSS-luser-boss service-type telnet level 3 ··
23、3;······设telnet权限等级为最高级3级 (注意:若不是等级3,可以登录到交换机,但无法对交换机进行配置)设置以上命令后,从电脑连根网线到交换机以太网口(注意:接入的网口必须是属于管理vlan的,可通过 dis vlan all 查看哪些网口属于管理vlan), 即可通过 telent 192.168.1.175 管理交换机,telnet后需要输入用户名boss和密码 111 才可与交换机交互。管理ip,用户名和密码可通过console口的连接使用 dis cur 命令来查看BOSS dis cur# sysname BOS
24、S#radius scheme system server-type huawei primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domainlocal-user boss ·······················&
25、#183;···用户名 password simple 111 ··························密码 service-type telnet level 3 ···········
26、···············telnet权限等级#vlan 1 description manage-vlan name admin#vlan 2#vlan 3#interface Vlan-interface1 ···················
27、83;···· vlan 1 ip address 192.168.1.175 255.255.255.0 ·············· 管理ip七、交换机端口配置BOSS int Ethernet 0/2 ·················
28、3;·········· 进入端口Ethernet 0/2关闭端口与开启端口BOSS-Ethernet0/2 shutdown ······················· 关闭Ethernet0/2 端口BOSS-Ethernet0/2 undo shutdown
29、·················· 重新开启Ethernet0/2 端口端口描述BOSS-Ethernet0/2 description to lisi ···········对端口进行描述,例如,此端口是连接到李四的电脑上,可描述为 to lisi 配置交换机速率与双工模式BOSS-Ethernet0/2
30、speed ? ································· 设置端口速率 10 Specify speed of current port 10Mb/s ·······
31、3;········ 10M 100 Specify speed of current port 100Mb/s ················ 100M auto Enable port's speed negotiation automatically ·······
32、3;··· 自动协商BOSS-Ethernet0/2duplex ? ································· 设置端口双工模式 auto Enable port's duplex negotiation
33、automatically ········ 自动协商 full Full-duplex ································· 全双工 half Half-du
34、plex ································· 半双工配置端口的链路类型,默认为 accessBOSS-Ethernet0/2 port link-type ? access Access link-type ··
35、83;················· 一般情况下使用access hybrid Hybrid VLAN link-type trunk VLAN trunk link-type ················· 交换机级联的端口采用trunk查看全接口状
36、态BOSS dis brief intInterface : EEthernet , G-GigabitEthernet , VlanIF-Vlan-interfaceLink : ADMDOWN-ADMINISTRATIVELY DOWN Speed : a-auto Duplex : a-autoInterface Description Link Speed Duplex Link-type PVID Port-typeAux0/0 HUAWEI, Quidway UP - - - - -E0/1 DOWN a a access 1 100BASE-TXE0/2 to lisi DOWN
37、 a a access 2 100BASE-TXE0/3 DOWN a a access 2 100BASE-TXE0/4 DOWN a a access 2 100BASE-TXE0/5 DOWN a a access 3 100BASE-TXE0/6 DOWN a a access 3 100BASE-TXE0/7 DOWN a a access 3 100BASE-TXE0/8 DOWN a a trunk 1 100BASE-TX.E0/21 DOWN a a access 1 100BASE-TXE0/22 UP a100M afull access 1 100BASE-TXE0/2
38、3 DOWN a a access 1 100BASE-TXE0/24 DOWN a a access 1 100BASE-TX查看全接口配置dis cur int#interface Vlan-interface1 ip address 192.168.1.175 255.255.255.0#interface Aux0/0#interface Ethernet0/1#interface Ethernet0/2 description to lisi port access vlan 2#interface Ethernet0/3 port access vlan 2#interface E
39、thernet0/4 port access vlan 2#interface Ethernet0/5 port access vlan 3#interface Ethernet0/6 port access vlan 3#interface Ethernet0/7 port access vlan 3#interface Ethernet0/8 port link-type trunk port trunk permit vlan all#.#interface Ethernet0/23#interface Ethernet0/24#查看单个接口配置BOSS-Ethernet0/2 dis
40、cur int e0/2#interface Ethernet0/2 description to lisi port access vlan 2八、交换机VLAN配置首先划分vlanBOSS vlan 2 ································
41、3;······ 创建vlan 2,并进入vlan 2BOSS-vlan2 port Ethernet 0/2 ·························· 把端口0/2放入vlan2BOSS-vlan2 port Ethernet 0/3 to Ethernet 0/4
42、 ············ 把端口0/3到0/4放入vlan2BOSS vlan 3 ·································
43、;····· 创建vlan 3,并进入vlan 3BOSS-vlan3 port Ethernet 0/5 to Ethernet 0/7 ············ 把端口0/5到0/7放入vlan2接下来把交换机级联端口设为trunk 模式BOSS int Ethernet 0/8BOSS-Ethernet0/8 port link-type trunk BOSS-Ethernet0/8 port trunk permit
44、vlan all查看vlanBOSSdis vlan all ··············· 查看每一个VLAN里包含哪些端口 VLAN ID: 1 ·························
45、············ 此VLAN 为VLAN 1 VLAN Type: static ARP proxy disabled. Route Interface: configured IP Address: 192.168.1.175 Subnet Mask: 255.255.255.0 Description: manage-vlan Name: admin Tagged Ports: none Untagged Ports: Ethernet0/1 Ethernet0/
46、8 Ethernet0/9 Ethernet0/10 Ethernet0/11 Ethernet0/12 Ethernet0/13 Ethernet0/14 Ethernet0/15 Ethernet0/16 Ethernet0/17 Ethernet0/18 Ethernet0/19 Ethernet0/20 Ethernet0/21 Ethernet0/22 Ethernet0/23 Ethernet0/24 VLAN ID: 2 ·············
47、183;······················· 此VLAN 为VLAN 2 VLAN Type: static ARP proxy disabled. Route Interface: not configured Description: VLAN 0002 Name: VLAN 0002 Tagged Ports: Ethernet0/8 Untagged Ports: Ethernet0/2 Ethernet0/3 Ethernet0/4 VLAN ID: 3 ·······
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 隧道工程施工设备管理方案
- 工程施工质量回访方案
- 2026贵州六盘水市盘州市煤炭开发总公司招聘4人备考题库【基础题】附答案详解
- 2026云南玉溪市文化馆城镇公益性岗位招聘3人备考题库【综合卷】附答案详解
- 2026山东省新动能基金管理有限公司校园招聘8人备考题库必考附答案详解
- 2026河南郑外集团郑开学校附中教师招聘1人备考题库及答案详解【夺冠】
- 2026浙江丽水市第二人民医院第一批引进高层次人才14人备考题库及答案详解1套
- 2026上海复旦大学化学系舒校坤课题组招聘全职博士后备考题库及完整答案详解【网校专用】
- 2026春季建信基金管理有限责任公司校园招聘2人备考题库【培优】附答案详解
- 2026河北邯郸市第一医院医疗健康集团选聘53人备考题库附参考答案详解(黄金题型)
- 三级 模块二 项目六 功能促进 任务三 指导或协助老年人使用安全防护性辅助器具
- 2026年安徽工贸职业技术学院单招职业技能测试题库附答案详解ab卷
- 2026贵州省气象部门第二批公开招聘应届毕业生22人考试参考题库及答案解析
- 2026年咸宁职业技术学院单招职业倾向性测试题库及答案详解(网校专用)
- 浙江省名校协作体2024-2025学年高三下学期联考英语试题+答案
- 2026年上饶职业技术学院单招职业技能测试模拟测试卷附答案解析
- 2026年浙江机电职业技术学院单招综合素质考试模拟试题含详细答案解析
- 黑龙江2025年黑龙江省疾病预防控制中心招聘27人笔试历年参考题库附带答案详解
- (2025年)室内装修三级安全教育试卷及答案
- 器材仓库制度规范
- 电厂设备刷漆制度规范
评论
0/150
提交评论