新格林耐特.docx

上传人:b****8 文档编号:9322380 上传时间:2023-02-04 格式:DOCX 页数:13 大小:73.73KB
下载 相关 举报
新格林耐特.docx_第1页
第1页 / 共13页
新格林耐特.docx_第2页
第2页 / 共13页
新格林耐特.docx_第3页
第3页 / 共13页
新格林耐特.docx_第4页
第4页 / 共13页
新格林耐特.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

新格林耐特.docx

《新格林耐特.docx》由会员分享,可在线阅读,更多相关《新格林耐特.docx(13页珍藏版)》请在冰豆网上搜索。

新格林耐特.docx

新格林耐特

新格林耐特配置命令

第一部分:

TiNetS2000EI系列配置命令及说明

(红色标识为一些常用命令)

Username(1-32chars):

admin

Password(1-16chars):

******

/登陆交换机,默认密码123456/

TiNet>enable

/进入特权模式/

TiNet#configureterminal

/进入全局模式/

TiNet(config)#

1.TINET#terminallanguage/改变语言模式/

例如:

TINET#terminallanguageChinese

/改成中文模式/

startup-config

/清除配置,恢复出厂默设置/

3.TiNet#copy

running-config

令/

 

5.TiNet(config)#ipaddress192.168.1.5255.255.255.0192.168.1.1

/配置交换机IP地址/

6.TiNet(config)show?

/show命令,后可以打问号/

Showip

Showmac

Showinterface

Showvlan

7.TiNet(config)#vlan3901/建立VLAN3901/

TiNet(config-if-vlan)#switchport

ethernet0/1/把端口1加入该VLAN/

TiNet(config)#ipvlan3901/定义管理vlan为3901

TiNet(config)#noipvlan1/删除默认管理VLAN1/

8.TiNet(config)#vlan1001-1512/批量建立VLAN/

9.TiNet(config-if-vlan)#switchport

ethernet0/2toethernet0/8ethernet0/11ethernet0/16

/

在某一VLAN中或者VLAN段中批量加入端口/

10.TiNet(config-if-ethernet-0/16)#tag

vlan1001,1112-1512,4000

端口下批量打tag/

11.TiNet(config-if-ethernet-0/1)#switchportmodetrunk

改变端口模式,为trunk模式/

12.TiNet(config-if-ethernet-0/1)#switchporttrunkallowedvlanall

/

端口为trunk模式,允许所有VLAN通过/

13.TiNet(config-if-ethernet-0/2)#switchportaccessvlan1001

/改变端口PVID/

14.TiNet(config)#port-isolationethernet?

STRING<3-4>端口号为槽端口号<0-2>/端口号<1-24>

TiNet(config)#port-isolation

ethernet0/2toe0/16添加端口隔离下行端口成功.

 

15.TiNet(config)#interfacerangeethernet0/2toethernet0/16/批量端

口处理命令/

16.

TiNet(config-if-range)#bandwidth-contr

ol?

egress出口带宽控制ingress入口带宽控制/端口限速命令/

17.TiNet(config)#showutilization

interface

/实时查看端口流

量占比/

LinkUtilizationAveragesThuJan100:

43:

201970

portlinkReceivePeakRxTransmitPeakTx

Statuspkts/secpkts/secpkts/secpkts/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

00

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

00

D->pagedownCR->exit====

通过空格键来切换回车

键结束查看

18.TiNet(config)#usernamechange-passwo请输入您的登录密码:

******

请输入用户名(4--15位):

admin请输入新口令(1--15位):

********输入确认口令(1--15位):

********用户admin密码修改成功。

/修改登陆密码/

 

配置案例:

小河区某小区格林耐特设备配置

简要流程

119.1.176.185

/配置ip地

TiNet(config)#ipaddress

255.255.255.0119.1.176.1址/

ConfigIPsuccessfully.

TiNet(config)#showip

Switchconfigurationipobtained:

MANUAL

ipaddress:

119.1.176.185

netmask:

255.255.255.0

gateway:

119.1.176.1

ManageVLAN:

1

MACaddress:

00:

0a:

5a:

11:

ba:

b8/查看交换机ip地址/

TiNet(config)#ex

TiNet#terminallanguage/更改语言模式为中文/TiNet(config)#vlan/建立vlan3901/TiNet(config-if-vlan)#switchport/在vlan3901下添加端口/添加VLAN端口成功!

TiNet(config)#ipaddressvlan

/定义交换机管理vlan/配置管理VLAN成功!

TiNet(config)#showip交换机的配置信息

IP地址获得方式:

MANUALIP地址:

119.1.176.185

子网掩码:

255.255.255.0

网关地址:

119.1.176.1

管理VLAN

/此时管理vlan为1和3901/

MAC地址:

00:

0a:

5a:

11:

ba:

b8

chinese

3901

all

3901

13901

vlan1

TiNet(config)#noipaddress

/删除交换机默认管理vlan1/

删除管理VLAN成功!

TiNet(config)#showip交换机的配置信息

IP地址获得方式:

MANUAL

IP地址:

119.1.176.185

子网掩码:

255.255.255.0

网关地址:

119.1.176.1

管理VLAN:

3901

MAC地址:

00:

0a:

5a:

11:

ba:

b8

vlan3901

/管理vlan已改为3901/TiNet(config)#interrangeethernet0/1toethernet0/16/批量进入端口1-16

TiNet(config-if-range)#tag/端口1-16tagvlan3901/

TiNet(config-if-range)#ex

TiNet(config)#vlan1001

/建立vlan1001/

TiNet(config-if-vlan)#switchportethernet

0/1/vlan1001中加入端口1/添加VLAN端口成功!

TiNet(config-if-vlan)#showvlan1001

显示VLAN信息

VLANID:

1001

VLANstatus:

static

VLANmember:

e0/1.

Statictaggedports:

StaticuntaggedPorts:

e0/1.

Dynamictaggedports:

TiNet(config)#vlan1015-1030

/批量建立vlan1015-1030/

TiNet(config-if-vlan)#switchportethernet

0/1ethernet0/16

/vlan1015-1030加入端口1-16/

添加VLAN端口成功!

TiNet(config-if-vlan)#showvlan1015

 

显示VLAN信息

VLANID

1015

 

VLANstatus

VLANmember

:

static

:

e0/1,e0/16.

Statictaggedports:

StaticuntaggedPorts:

e0/1,e0/16.

ethernet

Dynamictaggedports:

TiNet(config)#port-isolation

添加端口隔离下行端口成功.

TiNet(config-if-ethernet-0/1)#switchport?

accessaccess端口backup配置备份端口mode端口模式trunktrunk端口

TiNet(config-if-ethernet-0/1)#switchportmodetrunk

/更改端口1模式为trunk/TiNet(config-if-ethernet-0/1)#switchporttrunkallowedvlanall

允许所有vlan通过1口/TiNet(config-if-ethernet-0/1)#switchporttrunknativevlan3901

更改1口pvid为3901/

TiNet(config-if-ethernet-0/1)#ex

TiNet(config)#showutilizationinterface

/查看端口实时流量/

LinkUtilizationAveragesThu

Jan100:

24:

371970

portlinkReceivePeakRxTransmitPeakTx

Statuspkts/secpkts/secpkts/secpkts/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/16down000

D->pagedownCR->exit====

TiNet(config)#username

/修改登录密码/

请输入您的登录密码:

******请输入用户名(4--15位):

admin请输入新口令(1--15位):

******输入确认口令(1--15位):

******

用户admin密码修改成功/

TiNet#copyrunning-configstartup-config/保存配置命令/

第二部分:

交换机实现telnet管理配置步骤第一步:

配置规划好的交换机ip地址例:

TiNet(config)#ipaddress119.1.176.185

255.255.255.0119.1.176.1/配置ip地址/

ConfigIPsuccessfully.TiNet(config)#showipSwitchconfigurationipobtained:

MANUALipaddress:

119.1.176.185netmask:

255.255.255.0gateway:

119.1.176.1ManageVLAN:

1

MACaddress:

00:

0a:

5a:

11:

ba:

b8/查看交换机ip地址/

第二步:

建立规划好的管理vlan,把上行口加入到管理vlan中,然后删除默认的管理vlan1例:

TiNet(config)#vlan3901/建立vlan3901/

TiNet(config-if-vlan)#switchporte0/1/在vlan3901中添加端口1/

添加VLAN端口成功!

TiNet(config)#ipaddressvlan3901

/定义交换机管理vlan/配置管理VLAN成功!

TiNet(config)#showip交换机的配置信息IP地址获得方式:

MANUALIP地址:

119.1.176.185

子网掩码:

255.255.255.0

网关地址:

119.1.176.1

管理VLAN

/此时管理vlan为1和3901/

MAC地址:

00:

0a:

5a:

11:

ba:

b8

TiNet(config)#no

ipaddress

vlan

/删除交换机默认管理

vlan1/

删除管理VLAN成功!

第三步:

进入上行口,给管理vlan打标例:

TiNet(config)#interfaceethernet

/进入到上行口模式/

TiNet(config-if-ethernet-0/1)#tag

3901

1

0/1

vlan

3901/打标/

经过以上三个步骤,如果上层级联交换机配置无误,就可以远程telnet管理交换机。

第三部分:

交换机SNM网管配置

TiNet(config)#snmp-servercommunity

gzgy@))*rwpermit

TiNet(config)#snmp-serverhost

202.98.199.206version2cgzgy@))*

TiNet(config)#snmp-serverhost

202.98.199.209version2cgzgy@))*

TiNet(config)#snmp-serverhost

202.98.199.212version2cgzgy@))*

交换机默认开启SNMP代理功能和默认支持

SNMPv1/v2/v3,无需其他配置,。

汇聚交换机与楼层交换机同样配置

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 高等教育 > 医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1