华为[S3526]交换机配置命令
黑白稿首先通过配置线连接电脑与交换机的console口,在电脑上按以下步骤翻开超级终端连接交换机: 开始--程序--附件--通讯--超级终端
连接选择COM口
选择复原默认值,按确定,即可与交换机交互
一、视图设置:
<S3526> ······················· 接入交换机既进入用户视图,可查看交换机运行状态
<S3526> system-view ·························· 进入系统视图
[S3526] ·························· 系统视图,可进行系统参数配置
[S3526]多媒体制作 quit ·························· 返回用户视图
<S3526>
二、复原出厂设置:
只能在用户视图下
<S3526> ret saved-configuration ···························· 去除交换机配置文件
This will delete the configuration in the flash memory.
The switch configurations will be erad to reconfigure.
Are you sure?[Y/N] ······················· 输入Y,按回车确认去除交换机配置
<S3526> reboot ·······················重启交换机
刀叉用法This will reboot Switch. Continue? [Y/N] ················ 输入Y,按回车确认重启
三、保存命令:
<S3526>药流几天可以出门 save ····························只能在用户视图下save保存数据
This will save the configuration in the flash memory.
The switch configurations will be written to flash.
Are you sure?[Y/N] ······························ 输入Y,按回车确认
当完成交换机配置后一定要记得 save 保存
四、交换机命名
<S3526> system-view禾丰网络学院 ·························· 进入系统视图
[S3526] sysname BOSS ····················在系统视图下将交换机名字命名为 BOSS
[BOSS] ························ 交换机名字已更改为 BOSS
五、设置管理ip
[BOSS] int vlan 1 ················· 进入vlan1 端口
[BOSS-Vlan-interface1] ············· 设置管理ip
删除管理vlan和ip
[BOSS] int vlan 1 ················· 进入vlan1 端口
[BOSS-Vlan-interface1] undo
[BOSS] undo int vlan 1
六、查看信息
[BOSS] dis curr ································ 查看全部配置信息
#
sysname Quidway
#
radius scheme system
rver-type huawei
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
ur-name-format without-domain
domain default enable system
#
local-rver 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 trunk permit vlan 1
port trunk permit vlan 18 25 40 101 738 800 995 1042 1116
…………………………………………
…………………………………………
…………………………………………
查看端口信息
[BOSS]dis cur int Ethernet 0/2
#
interface Ethernet0/2
description to lisi ······················· 对此端口的描述,描述为 to 李四
duplex full ······················· 此端口双工模式配置为 全双工
speed 100 ······················· 此端口速率配置为 100M
flow-control ······················· 此端口已配置 流量控制
port access vlan 2 ······················· 此端口属于 VLAN 2
查看vlan信息
[Quidway]dis 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 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 0001
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] ur-interface vty 0 4
[BOSS-ui-vty0-4] authentication-mode password ···· 我的弟弟作文配置资料下载为密码认证模式