第一范文网 - 专业文章范例文档资料分享平台

华为交换机配置命令全套汇编

来源:用户分享 时间:2025/5/29 4:20:59 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

-`

display saved-configuration #

sysname Quidway #

hgmp enable # qos 10 #

user-interface aux

speed 9600 # vlan 1 #

vlan 2047 #

interface Ethernet0/1

duplex full

speed 10

undo priority #

interface Ethernet0/2

undo priority

-`

#

interface Ethernet0/3

undo priority #

---- More ----

例:显示以太网交换机当前生效的配置参数。

display current-configuration #

sysname Quidway #

hgmp enable # qos 10 #

user-interface aux

speed 9600 # vlan 1 #

vlan 2047 #

interface Ethernet0/1

-`

duplex full

speed 10

undo priority #

interface Ethernet0/2

undo priority #

interface Ethernet0/3

undo priority #

---- More ----

6.2.3 修改和保存当前配置

为了使当前配置能够做为S2000B系列以太网交换机下次上电启动时的起始配置,需要使用以下命令保存当前配置到Flash Memory中。

请在用户视图下进行下列配置。

表6-6 保存当前配置 操作 命令

保存当前配置 save

当完成一组配置并且已经达到预定功能时,建议用户将当前配置文件保存到Flash Memory中。

例:保存当前配置文件到Flash Memory中。

-`

save

This will save the configuration in the flash memory.

The switch configurations will be written to flash.

Are you sure?[Y/N]y

Now saving current configuration to flash memory.

Please wait for a while...

Save current configuration to flash memory successfully.

6.2.4 擦除Flash Memory中配置文件

使用以下命令可以擦除S2000B系列以太网交换机Flash Memory中的配置文件。

通常情况下S2000B系列以太网交换机的配置信息是由HGMP Server端进行设置。如果配置文件被擦除后没有取得HGMP Server端的配置信息,则S2000B系列下次上电启动时,将采用缺省的配置参数进行初始化。

请在用户视图下进行下列配置。

表6-7 擦除Flash Memory中配置文件 操作 命令

擦除Flash Memory中配置文件 reset saved-configuration

请慎重执行该命令,最好在技术支持人员指导下使用。

一般在以下几种情况使用:

l 以太网交换机软件升级之后,Flash Memory中配置文件可能与新版本软件不匹配,这时可以用reset saved-configuration命令擦除旧的配置文件。

-`

l 将一台已经使用过的以太网交换机用于新的应用环境,原有的配置文件不能适应新环境的需求,需要对以太网交换机重新配置,这时可以擦除原配置文件后,恢复出厂配置重新配置。

l 当Flash Memory中的配置文件遭到破坏,如加载了错误的配置文件。

例:擦除Flash Memory中以太网交换机配置文件。

reset saved-configuration

This will erase the configuration in the flash memory.

The switch configurations will be erased to reconfigure.

Are you sure?[Y/N] y(进行确认)

Now erasing the configuration in flash memory.

Please wait for a while...

Erase the configuration in flash memory successfully

6.3 设备管理

S2000B系列以太网交换机提供设备管理功能,包括:显示系统信息、显示当前版本及重新启动以太网交换机。

6.3.1 显示系统信息

当以太网交换机出现故障时,可以使用以下命令一次性地、尽可能全地收集当前设备的运行信息,以便迅速定位问题、解决问题。所收集的信息包括:版本信息、以太网端口信息、VLAN相关信息、当前配置信息、起始配置信息和MAC地址表信息等。此外,系统内存的使用情况也会清晰的显示出来(包括已经分配的内存和空闲的内存空间大小)。

请在所有视图下进行下列操作。

表6-8 显示系统信息 操作 命令

显示系统信息

display diagnostic-information

搜索更多关于: 华为交换机配置命令全套汇编 的文档
华为交换机配置命令全套汇编.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c4aybg3dh7a2cg5h8ins237lyd0yjij015p5_9.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top