欢迎来到千学网!
您现在的位置:首页 > 实用文 > 其他范文

华为手册中的华为交换机典型配置收集

时间:2025-09-23 07:58:41 其他范文 收藏本文 下载本文

以下是小编收集整理的华为手册中的华为交换机典型配置收集,本文共6篇,仅供参考,希望对大家有所帮助。

篇1:华为手册中的华为交换机典型配置收集

华为手册中的华为交换机典型配置收集汇总,熟练掌握下面的华为交换机典型配置知识点,你只需花几分钟的时间就能学会华为交换机典型配置,以及VLAN的设置,本地连接也将在文中提到。

华为交换机典型配置开始

华为交换机典型配置环境,将主机的串口通过配置电缆与以太网交换机的Console口连接。在主机上运行终端仿真程序(如Windows的超级终端等),设置终端通信参数为:波特率为96 00bit/s、8位数据位、1位停止位、无校验和无流控,并选择终端类型为VT100。

以太网交换机上电,终端上显示以太网交换机自检信息,自检结束后提示用户键入回车,之后将出现命令行提示符(如)。键入命令,配置以太网交换机或查看以太网交换机运行状态。需要帮助可以随时键入“?”

华为交换机典型配置命令视图

◆用户视图(查看交换机的简单运行状态和统计信息):与交换机建立连接即进入

◆系统视图(配置系统参数):在用户视图下键入system-view

◆以太网端口视图(配置以太网端口参数):在系统视图下键入interface ethernet 0/1

◆VLAN视图(配置VLAN参数):在系统视图下键入vlan 1

◆VLAN接口视图(配置VLAN和VLAN汇聚对应的IP接口参数):在系统视图下键入interface vlan-interface 1

◆本地用户视图(配置本地用户参数):在系统视图下键入local-useruser1

◆用户界面视图(配置用户界面参数):在系统视图下键入user-interface

华为交换机典型配置其他命令

设置系统时间和时区clock time Beijing?add 8

clock datetime 12:00:00 /01/23

设置交换机的名称sysname TRAIN-3026-1

配置用户登录user-interface vty 0 4

authentication-mode scheme

创建本地用户local-user huawei

password simple huawei

service-type telnet level 3

华为交换机典型配置VLAN配置方法

『配置环境参数』

SwitchA端口E0/1属于VLAN2,E0/2属于VLAN3

『组网需求』

把交换机端口E0/1加入到VLAN2 ,E0/2加入到VLAN3

数据配置步骤

『VLAN配置流程』

◆缺省情况下所有端口都属于VLAN 1,并且端口是access端口,一个access端口只能属于一个vlan;

◆如果端口是access端口,则把端口加入到另外一个vlan的同时,系统自动把该端口从原来的vlan中删除掉;

◆除了VLAN1,如果VLAN XX不存在,在系统视图下键入VLAN XX,则创建VLAN XX并进入VLAN视图;如果VLAN XX已经存在,则进入VLAN视图,

【SwitchA相关配置】

◆创建(进入)vlan2vlan 2

◆将端口E0/1加入到vlan2port ethernet 0/1

◆创建(进入)vlan3vlan 3

◆将端口E0/2加入到vlan3port ethernet 0/2

篇2:探讨华为交换机配置手册中有关以太信道的重要性

探讨华为交换机配置手册中关于以太信道的重要性,在华为交换机配置手册的第一章里有关于“华为交换机配置手册在基于IOS的交换机上调整根路径成本”的讲解,本文摘自华为交换机配置手册上面的内容,方便大家对华为交换机配置手册这一问题做一个更专注的了解。

华为交换机配置手册在基于IOS的交换机上启动VTP剪裁:

switch# vlan database

switch(vlan)# vtp pruning

在基于CL I 的交换机上启动VTP剪裁:

switch(enable) set vtp pruning enable

华为交换机配置手册在基于IOS的交换机上配置以太信道:

switch(config-if)# port group group-number

在基于CLI的交换机上配置以太信道:

switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}

华为交换机配置手册在基于IOS的交换机上调整根路径成本:

switch(config-if)# spanning-tree cost cost

在基于CLI的交换机上调整根路径成本:

switch(enable) set spantree portcost moudle/port cost

switch(enable) set spantree portvlancost moudle/port

华为交换机配置手册在基于IOS的交换机上调整端口ID:

switch(config-if)# spanning-treeport-priority port-priority

在基于CLI的交换机上调整端口ID:

switch(enable) set spantree portpri {mldule/port}priority

switch(enable) set spantree portvlanpri {module/port}priority

华为交换机配置手册在基于IOS的交换机上修改STP时钟:

switch(config)# spanning-tree hello-time seconds

switch(config)# spanning-tree forward-time seconds

` switch(config)# spanning-tree max-age seconds

在基于CLI的交换机上修改STP时钟:

switch(enable) set spantree hello interval

switch(enable) set spantree fwddelay delay

switch(enable) set spantree maxage agingtiame

华为交换机配置手册在基于IOS的交换机端口上启用或禁用Port Fast 特征:

switch(config-if)#spanning-tree portfast

在基于CLI的交换机端口上启用或禁用Port Fast 特征:

switch(enable) set spantree portfast {module/port}{enable|disable}

华为交换机配置手册在基于IOS的交换机端口上启用或禁用UplinkFast 特征:

switch(config)# spanning-tree uplinkfast

在基于CLI的交换机端口上启用或禁用UplinkFast 特征:

switch(enable) set spantree uplinkfast {enable|disable}

篇3:全面体验华为交换机配置手册常用命令举例

全面介绍华为交换机配置手册常见命令举例,在华为交换机配置手册的章节里里有关于“为了在路由处理器上进行动态路由配置,可以用华为交换机配置手册IOS命令来进行”的讲解,本文选自于手册上面的内容,方便大家对不同的ATM子接口上问题做一个更专注的了解。

华为交换机配置手册将每个LEC配置到一个不同的ATM子接口上.命令如下:

ATM(config)# interface atm number.subint multipoint

ATM(config)# lane client ethernet vlan-num elan-num

华为交换机配置手册用show lane server 显示LES的状态.

华为交换机配置手册用show lane bus显示bus的状态.

华为交换机配置手册用show lane database显示LECS数据库可内容.

华为交换机配置手册用show lane client显示LEC的状态.

华为交换机配置手册用show module显示已安装的模块列表.

华为交换机配置手册用物理接口建立与VLAN的连接:

router# configure terminal

router(config)# interface media module/port

router(config-if)# description description-string

router(config-if)# ip address ip-addr subnet-mask

router(config-if)# no shutdown

华为交换机配置手册用中继链路来建立与VLAN的连接:

router(config)# interface module/port.subinterface

router(config-ig)# encapsulation vlan-number

router(config-if)# ip address ip-address subnet-mask

华为交换机配置手册用LANE 来建立与VLAN的连接:

router(config)# interface atm module/port

router(config-if)# no ip address

router(config-if)# atm pvc 1 0 5 qsaal

router(config-if)# atm pvc 2 0 16 ilni

router(config-if)# interface atm module/port.subinterface multipoint

router(config-if)# ip address ip-address subnet-mask

router(config-if)# lane client ethernet elan-num

router(config-if)# interface atm module/port.subinterface multipoint

router(config-if)# ip address ip-address subnet-name

router(config-if)# lane client ethernet elan-name

router(config-if)# …

为了在路由处理器上进行动态路由配置,可以用华为交换机配置手册IOS命令来进行:

router(config)# ip routing

router(config)# router ip-routing-protocol

router(config-router)# network ip-network-number

router(config-router)# network ip-network-number

篇4:讲述华为交换机配置中HTTP访问和vty访问命令

讲述华为交换机配置中HTTP访问和vty访问命令,有很多热心的网友对华为交换机配置问题给出了答复,不知道是不是提问者想要的答案,感谢网友对HTTP访问和vty访问命令命令的详细解答,

华为交换机配置标志设置与显示:

R1(config)# banner motd ‘unauthorized access will be prosecuted!’

华为交换机配置设置vty访问:

R1(config)# access-list 1 permit 192.168.2.5

R1(config)# line vty 0 4

R1(config)# access-class 1 in

华为交换机配置配置HTTP访问:

Router3(config)# access-list 1 permit 192.168.10.7

Router3(config)# ip http sever

Router3(config)# ip http access-class 1

Router3(config)# ip http authentication local

Router3(config)# username student password cisco

华为交换机配置要启用HTTP访问,请键入以下命令:

switch(config)# ip http sever

在基于set命令的交换机上用setCL1启动和核实端口安全:

switch(enable) set port security mod_num/port_num…enable mac address

switch(enable) show port mod_num/port_num

在基于CiscoIOS命令的交换机上启动和核实端口安全:

switch(config-if)# port secure

switch# show mac-address-table security

用命令access-list在标准通信量过滤表中创建一条记录:

Router(config)# access-list access-list-number {permit|deny} source-address

用命令access-list在扩展通信量过滤表中创建一条记录:

Router(config)# access-list access-list-number {permit|deny{protocol|protocol-keyword}}{source source-wildcard|any}{destination destination-wildcard|any}

对于带内路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name in

对于带外路由更新,配置路由更新的最基本的命令格式是:

R1(config-router)#distribute-list access-list-number|name out routing-process| autonomous-system-number

华为交换机配置set snmp命令选项:

set snmp community {read-only|ready-write|read-write-all}

华为交换机配置set snmp trap 命令格式如下:

set snmp trap {enable|disable}

set snmp trap rvcr_addr rcvr_community

华为交换机配置启用SNMP chassis 陷阱:

Console>(enable) set snmp trap enable chassis

华为交换机配置启用所有SNMP chassis 陷阱:

Console>(enable) set snmp trap enable

篇5:浅析华为交换机配置备份在特权模式中的相当命令

浅谈华为交换机配置备份在特权模式中的相当命令,关于华为交换机配置备份的问题,将向大家介绍一款TFTP Server 软件,运用它能够在备份的时候起到很好的作用,

首先在一台计算机上运行TFTP Server 软件,这里使用的是SolarWindsTFTP Server 8.0 ,在设置中配置好Root目录;在安全中配置好文件的传送方向(接收、发送、发送\\ 接收);华为交换机配置备份在高级中可以配置允许通过的IP地址段,这里不做配置;之后就可以登录交换机进行配置文件的传送了。

通过Telnet登录到SMC 交换机,在特权模式下输入华为交换机配置备份如下命令:

◆Vty-0#copy startup-config tftp \\\\ 该命令是将startup-config文件上传到TFTP服务器

◆TFTP server ip address: 172.20.34.2 \\\\ 在红字的地方输入TFTP服务器的IP地址

◆Destination configuration file name : startup-config \\\\在红字的地方输入要保存的文件名

◆TFTP completed. \\\\看到下面两行说明复制成功了!

◆Success.

华为交换机配置备份下来的startup-config文件就保存在第1 步所设置的Root目录中,

篇6:华为三层交换机(5328)DHCP中继应用配置实例

之前有人提出华为交换机关于DHCP中继配置方面的问题,我做了一个简单的测试,将测试结果分享给大家,

测试拓扑结构:

sys #进入系统视图

sysname dhcptest #设备重命名

dhcp enable #启用DHCP功能

Vlan 2 #创建vlan 2

port GigabitEthernet 0/0/1 to 0/0/10 #批量添加端口

quit #退出接口视图

Vlan 5 #创建vlan 5

port GigabitEthernet 0/0/11 to 0/0/20 #批量添加端口

quit #退出接接口视图

interface vlanif 2 #进入VLANIF 接口视图

ip address 192.168.1.1 24 #增加VLANIF 接口的IP 地址

dhcp select relay #通过中继分配IP 地址

quit #退出接接口视图

interface vlanif 5 #进入VLANIF 接口视图

ip address 192.168.5.1 24 #配置VLANIF 接口的IP地址

ip relay address 192.168.1.5 #增加VLANIF 接口的IP 中继地址

dhcp select relay #通过中继分配IP 地址

quit #退出接口视图

System-view #进入系统视图

ip relay address 192.168.1.5 vlan 2 #配置DHCP服务器地址和所属vlan

---结束

检查配置结果

查看DHCP 中继的相关统计信息

display dhcp relay statistics

查看接口的DHCP 中继地址配置

display dhcp relay address vlan vlan-id

通过以上正确配置后,将测试笔记本插入相应的vlan内,即可获得正确网段地址,

本文出自 “康建华” 博客

华为策划书

华为读后感

《华为工作法》读后感

华为认证考试指南

华为面试经过

华为品牌形象口号

华为公司口号含义

华为员工个人工作总结

华为公司人员岗位职责

华为手机推销策划书

《华为手册中的华为交换机典型配置收集(精选6篇).doc》
将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档

文档为doc格式

点击下载本文文档