华为交换机的基本命令

华为交换机的基本命令

配置模式

system-view   (从用户模式切换到配置)

Enter system view, return user view with Ctrl+Z.

[Huawei]

[Huawei]quit       
(从配置模式切换到用户模配置)

基本配置命令:

display interface brief

交换机常用的物理接口类型:

Ethernet:10m

FastEthernet:100m

GigabitEthernet:1000m

如何进入一个接口:

[Huawei]interface Ethernet 0/0/1   #进入端口模式

[Huawei-Ethernet0/0/1]

[Huawei-Ethernet0/0/1]display this   #只显示当前模式的配置

[Huawei-Ethernet0/0/1]description link-switch01         #对端口进注释

[Huawei-Ethernet0/0/1]display this

interface Ethernet0/0/1

description
link-switch01

[Huawei-Ethernet0/0/1]display current-configuration

查看交换机上所有的配置信息。

save    #对配置信息进行保存

The current configuration will be written to the device.

Are you sure to continue?[Y/N]y

Now saving the current configuration to the slot 0.

Jul 25 2019 10:47:48-08:00 Huawei
%%01CFM/4/SAVE(l)[50]:The user chose Y when dec

iding whether to save the configuration to the device.

Save the configuration successfully.

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值