交换机的命令行视图
- 华为交换机的命令行
-用户视图
<Huawei>
-系统视图
<Huawei>system-view
[Huawei]
-接口视图
[Huawei] interface Ethernet0/0/1
[Huawei-Ethernet0/0/1]
- interface: 接口
- Ethernet: 接口类型
- 0/0/1:第一个“0”代表槽位号,第二个“0”代表子卡号,“1”代表接口号
- 修改交换机名称
<Huawei>system-view
[Huawei]sysname sw1
[sw1]
- 查看系统版本vrp(通用路由平台)
[sw1]display version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.110 (S3700 V200R001C00)
Copyright (c) 2000-2011 HUAWEI TECH CO., LTD
Quidway S3700-26C-HI Routing Switch uptime is 0 week, 0 day, 0 hour, 7 minutes
- 查看当前配置
[sw1]display current-configuration
#
sysname sw1
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
authentication-scheme default
authorization-scheme default
accounting-scheme default
domain default
domain default_admin
local-user admin password simple admin
local-user admin service-type http
#
interface Vlanif1
#
interface MEth0/0/1
#
interface Ethernet0/0/1
#
interface Ethernet0/0/2
#
interface Ethernet0/0/3
#