-
一、连接方式:
1.
超级连接:开始—程序—附件—
通讯——超级链接——命名—选择端口
COM*
—还原默
认——回车
2.
查看系统运行信息
3.
进入配置管理模式(全命令
system-
view
)
[Quidway]vlan 104
建立
vlan104
[Quidway-vlan104]q
退出
[Quidway]vlan 3008
建立业务
VLAN3008
[Quidway-vlan3008]q
退出
[Quidway]int gi 0/
0/1
进入上联端口(
< br>8
口交换为
9
口,
16
口交换为
17
口
,24
口为
25
口)
[Quidway-
GigabitEthernet0/
0/1]description
shanglian
标记端口
上联
[Quidway-
GigabitEthernet0/
0/1]port link-type
trunk
定义端口类型为
tru
nk
(无法直连电脑)
[Quidway-
GigabitEthernet0/
0/1]port trunk allow-
pass vlan 104 3008
定义可以通关的
vlan
[Quidway-
GigabitEthernet0/
0/1]q
退出上联端口
[Quidway]int Ethernet0/
0/1
进人端口
1
[Quidway-
Ethernet0/
0/1]port link-type access
定义端
口类型为
access
(可以直连电脑)
[Quidway-
Ethernet0/
0/1]port default vlan 3008
定义端口
vlan
标识(上网
vlan
)
[Quidway-Ethernet0/
0/1]int
Ethernet0/
0/
2
进人端口
2
[Quidway-
Ethernet0/
0/
2]port link-type
access
定义端口类型为
ac
cess
(可以直连电脑)
[Quidway-
Ethernet0/
0/
2]port default
vlan 3008
定义端口
vlan
标识(上网
vlan
)
p>
#
省略。
。
。
p>
。
。
。
。
3-24
口配置步骤
[Quidway]int Vlanif 104
p>
定义
vlan104
为远程管理
vlan
[Quidway-Vlanif104]ip
address 10.6.10.40 255.255.254.0
设置交换机远
程管理
IP
,子网)
[Quidway-Vlanif104]q
[Quidway]ip route-static 0.0.0.0
0.0.0.0 10.6.10.1
(
设置交换机远程管理路由
)
[Quidway]aaa
进入系统
aaa
模式(可以管理用户名和密码)
[Quidway-
aaa]local-user admin password simple
12345
(设置本地用户名及密码)
[Quidway-aaa]local-user admin service-
type telnet
允许通过
telnet
管理本交换机
[Quidway]super
password simple lyctt
简单的超级管理员密码
lyctt
(
设置切换用户级别密
码)
[Quidway]super
password level 3 simple lyctt
简单超级管理员密码
消除
3
次
lyctt
[Quidway]user-
interface vty 0 4
进入
vty 0 4
用户创建模式
[Quidway-
ui-vty0-4]authentication-mode aaa
认证方式
aaa
[Quidway-ui-vty0-4]protocol
inbound telnet
认定方式可以
telnet
[Quidway-ui-vty0-4]q
退出
vty 0 4
用户创建模式
[Quidway]q
退出管理模式
保存
The current configuration will be
written to the device.
Are you sure to
continue?[Y/N]y
现在的结构将会被写到装置。
你确定
继续吗?[
Y
/
N
]
y
常出现的错误信息
gnized
command
没有查找到命令
没有查找到关键字
参数类型错
参数值越界
lete command
输入命令不完整
many parameters
输入参数太多
ous command
输入参数不明确
清除以保存的配置
重启
一般得删除
1
次重启后在删除
1
次再重启才能
删除。
backup
Backup electronic elabel
电子
el
abel
备份
cd
Change current
directory
改变当前目录
clear
Clear information
明确的信息
clock
Specify the system clock
指定系统时钟
cluster
Run
cluster command
运行集群命令
cluster-ftp
FTP command of
cluster
命令组
compare
Compare
function
比较功能
copy
Copy from one file to
another
从一个文件到另一个文件
debugging
Enable system debugging functions
使系统的调试功能
delete
Delete a file
删除一个文件
dir
List files on a
file system
名单上的档案文件系统
display
Display current
system information
显示当前系统信息
fixdisk
Recover lost
chains in storage device
恢复丢失的链在存储设备
format
Format the
device
格式的装置
free
Release a user terminal
interface
释放一个用户终端接口
ftp
Establish an FTP connection
建立一个连接
hwtacacs-user
HWTACACS user
用户开关
lldp
Link Layer Discovery Protocol
链路层发现协议
local-user
Add/Delete/Set
user(s)
添加
/
删除
/
设置用户(拧
lock
Lock the current user
terminal interface
锁定当前用户终端接口
mkdir
Create a new
directory
创建一个新目录
more
Display the contents of a
file
显示内容的文件
move
Move the file
移动文件
ntdp
Run NTDP
commands
移动
filerun
ntdp
命令
patch
Patch
subcommands
补丁的命令
ping
Send echo messages
发送回应消息
pwd
Display current working
directory
显示当前的工作目录
quit
Exit from current command
view
退出当前命令查看
reboot
Reboot
system
重新启动系统
rename
Rename a file or directory
重命名一个文件或目录
reset
Reset operation
rmdir
Remove an existing
directory
删除一个现有的目录
save
Save current
configuration
保存当前配置
schedule
schedule system
task
任务计划系统
screen-length
Set the number of lines displayed on a
screen
集数线显示在屏幕上
send
Send information to other
user terminal interfaces
发送信息给其他用户
终端接口
set
Set
stacking
Run command on
stack switch
运行命令堆栈开关
startup
Config paramater for system to
startup
配置参数对系统启动
super
Privilege current user a specified
priority level
特权用户指定的优先级
system-view
Enter the system
view
进入系统视图
telnet
Establish a Telnet
connection
建立一个连接
terminal
Set the terminal line
characteristics
设置线路特点
test-aaa
Accounts
test
客户测试
tftp
Establish a TFTP
connection
建立和连接
trace
Trace route(switch) to host on Data
Link Layer
跟踪路由(开关)主办的
数据链路层
p>
tracert
Trace route to
host
跟踪主机的路由
undelete
Recover a
deleted file
恢复已删除的文件
undo
Cancel current
setting
取消当前设置
unzip
Decompress a
file
解压缩文件
zip
Compress a
file
压缩文件
aaa
AAA view
acl
Specify ACL configuration information
application-
apperceive
Set application-
apperceive information
arp
Specify ARP configuration
information
arp-suppress
Specify arp suppress
configuration information,
default is disabled
autoconfig
AutoConfig configuration information
bootrom
BootRom
bpdu
BPDU message
bpdu-tunnel
bpdu-tunnel
btv
Btv view
burst-mode
Set burst mode