-
第一部分:
TiNetS2000EI
系列配置
命令及说明
(红色标识为一些常用命令)
Username(1-32 chars):admin
Password(1-16 chars):******
/
登陆交
换机,默认密码
123456/
TiNet>enable
模式
/
TiNet#configure terminal
局模式
/
TiNet(config)#
1.
TINET#terminal language
语言模式
/
例如:
TINET#terminal
language
Chinese
中文模式
/
2. TiNet#clear startup-
config
除配置,恢复出厂默设置
/
3.
TiNet#copy running-config startup-
config
存配置命令
/
4.
TiNet#load
?
application
下载应用程序
/
进入特权
/
进入全
/
改变
/
改成
/
清
/
保
configur
ation
下载配置文件
keyfile
下载
SSH
密钥文件
whole-
bootrom
下载全部的
bootrom
/
设
备升级命令
/
5.
TiNet(config)#ipaddress
/
配置交换机
IP
地址
/
6.
TiNet(config)show
?
命令,后可以打问号
/
Show ip
Show mac
Show interface
Show vlan
7.
TiNet(config)#vlan 3901
立
VLAN3901/
TiNet(config-if-vlan)#switchport
ethernet 0/1
把端口
1
加
入该
VLAN/
TiNet(config)#ip
vlan
3901
管理
vlan
为
3901
TiNet(config)#no ip vlan 1
/ show
/
建
/
/
定义
/
删除默认管理
VLAN 1/
8.
TiNet(config)#vlan
1001-1512
/
批量建立
VLAN
/
9.
TiNet(config-if-vlan)#switchport
ethernet 0/2 to ethernet
0/8 ethernet
0/11 ethernet 0/16
/
在某一
VLAN
中或者
VLA
N
段中批量加入端口
/
10.
TiNet(config-if-ethernet-0/16)#tag
vlan
1001,1112-1512,4000
< br>/
端
口下批量打
tag/
11.
T iNet(config-if-
ethernet-0/1)#switchport mode trunk
/
改变端口
模式,为
trunk
模式
/
12.
TiNet(config-if-
ethernet-0/1)#switchport
trunk
allowed
vlan all
/
端口为
trunk
模式,
允许所有
VLAN
通过
/
13.
TiNet(config-if-
ethernet-0/2)#switchport
access
vlan
1001
/
改变端
口
PVID/
14.
TiNet(config)#port-isolation ethernet ?
STRING<3-4>
端口号为槽端口号
<0-2>/
端口号
<1-24>
TiNet(config)#port-
isolation ethernet 0/2 to e 0/16
添加端口隔离下行端口成功
.
/
一
步
隔
p>
离
,
一
条
命
令
隔
离
除
上
行
口
< br>以
外
所
有
端
口
/
15.
TiNet(config)#interface range ethernet 0/2 to
ethernet
0/16
/
批量端口处理命令
/
16.
TiNet(config-if-range)#bandwidth-control
?
egress
出口带宽控制
ingress
p>
/
端口限速命令
/
17.
TiNet(config)#show utilization
interface
/
入
口
p>
带
宽
控
制
实时查看端口流量占比
/
Link
Utilization
Averages Thu
Jan
1
00:43:20
1970
port link
Receive Peak Rx Transmit Peak Tx
Status
pkts/sec
pkts/sec
pkts/sec
pkts/sec
========
============================================
==============
e0/1
down 0 0 0 0
e0/2 down 0 0 0
0
e0/3 down 0 0
0 0
e0/4 down 0
0 0 0
e0/5
down 0 0 0 0
e0/6 down 0 0 0
0
e0/7 down 0 0
0 0
e0/8 down 0
0 0 0
e0/9
down 0 0 0 0
e0/10 down 0 0 0
0
e0/11 down 0 0
0 0
e0/12 down 0
0 0 0
e0/13
down 0 0 0 0
e0/14 down 0 0 0
0
e0/15 down 0 0
0 0
e0/16 down 0
0 0 0
e1/1
down 0 0 0 0
====spacebar->toggle
screen
U->page
up
D->page
down
CR->exit====
通过空格键来切换
回车键结束查看
18.
TiNet(config)#username change-
passwo
请输入您的登录密码
:
******
请输入用户名
(4--
15
位
):admin
请输入新口令
(1--
15
位
):********
输入确认口令
(1--
15
位
):********
用
/
修改登陆密码
/
p>
户
admin
密
码
修
改
成
功
p>
。
配置案例:
小河区某小区格林耐特设
备配置
简要流程
TiNet(config)#ipaddress
Config IP successfully.
TiNet(config)#show
ip
Switch
configuration
ip obtained
: MANUAL
配置
ip
地址
/
/
ip address
: : : : 1
MAC address : 00:0a:5a:11:ba:b8
/
查看交换机
ip
地址
/
TiNet(config)#ex
TiNet#terminal language chinese
/
更改语言模式为中文
/
TiNet(config)#vlan
/
p>
建立
vlan3901/
TiNet(config-if-vlan)#switchport
/
在
vlan3901
下添
加端口
/
添加
VLAN
端口成功
!
TiNet(config)#ipaddress vlan 3901
定义交换机管理
vlan/
配置管理
VLAN
成功
!
TiNet(config)#show
ip
交换机的配置信息
IP
地址获得方式
:
MANUAL
IP
地
址
:
子
网
掩码
址
:
管
理
VLAN
p>
/
此时管理
vlan
为
1
和
3901/
< br>
MAC
地址
: 00:0a:5a:11:ba:b8
TiNet(config)#no ipaddress vlan 1
3901
all
/
:
网
关
地
1
3901
/
删除交
:
-
-
-
-
-
-
-
-
-
上一篇:现代汉语(下)试题[1]
下一篇:华为交换机配置命令手册