新格林耐特配置命令_第1页
新格林耐特配置命令_第2页
新格林耐特配置命令_第3页
新格林耐特配置命令_第4页
新格林耐特配置命令_第5页
已阅读5页,还剩8页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

本文格式为Word版,下载可任意编辑——新格林耐特配置命令新格林耐特

第一部分:TiNetS2000EI系列配置命令及说明

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

Username(1-32chars):admin

Password(1-16chars):******/登陆交换机,默认密码123456/TiNet>enable/进入特权模式/TiNet#configureterminal/进入全局模式/TiNet(config)#

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

例如:TINET#terminallanguageChinese/改成中文模式/

2.TiNet#clearstartup-config/清除配置,恢复出厂默设置/

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

4.TiNet#load?

application下载应用程序configuration下载配置文件

keyfile下载SSH密钥文件

whole-bootrom下载全部的bootrom/设备升级命令/

5.TiNet(config)#ipaddress192.168.1.5255.255.255.0192.168.1.1/配置交换机IP地址/

6.TiNet(config)show?/show命令,后可以打问号/

ShowipShowmacShowinterface

Showvlan

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

TiNet(config-if-vlan)#switchportethernet0/1/把端口1参与该VLAN/TiNet(config)#ipvlan3901/定义管理vlan为3901TiNet(config)#noipvlan1/删除默认管理VLAN1/

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

9.TiNet(config-if-vlan)#switchportethernet0/2toethernet0/8ethernet0/11ethernet0/16

/在某一VLAN中或者VLAN段中批量参与端口/

第1页共8页

新格林耐特

10.TiNet(config-if-ethernet-0/16)#tagvlan1001,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端口号为槽端口号/端口号TiNet(config)#port-isolationethernet0/2toe0/16

添加端口隔离下行端口成功./一步隔离,一条命令隔离

除上行口以外所有端口/

15.TiNet(config)#interfacerangeethernet0/2toethernet0/16/批量端口处理命令/

16.TiNet(config-if-range)#bandwidth-control?

egress出口带宽控制

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

17.TiNet(config)#showutilizationinterface/实时查看端口流量占比/

LinkUtilizationAveragesThuJan100:43:201970portlinkReceivePeakRxTransmitPeakTxStatuspkts/secpkts/secpkts/secpkts/sec

==================================================================e0/1down0000e0/2down0000e0/3down0000e0/4down0000e0/5down0000e0/6down0000e0/7down0000e0/8down0000e0/9down0000e0/10down0000e0/11down0000e0/12down0000e0/13down0000e0/14down0000e0/15down0000

第2页共8页

新格林耐特

e0/16down0000e1/1down0000

====spacebar->togglescreenU->pageupD->pagedownCR->exit====通过空格键来切换回车键终止查看

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

请输入用户名(4--15位):admin请输入新口令(1--15位):********输入确认口令(1--15位):********

用户admin密码修改成功。/修改登陆密码/

第3页共8页

新格林耐特

配置案例:

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

简要流程

TiNet(config)#ipaddress119.1.176.185255.255.255.0119.1.176.1/配置ip地址/ConfigIPsuccessfully.

TiNet(config)#showipSwitchconfiguration

ipobtained:MANUAL

ipaddress:119.1.176.185netmask:255.255.255.0gateway:119.1.176.1ManageVLAN:1

MACaddress:00:0a:5a:11:ba:b8/查看交换机ip地址/TiNet(config)#ex

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

TiNet(config)#ipaddressvlan3901/定义交换机管理vlan/配置管理VLAN成功!TiNet(config)#showip

交换机的配置信息

IP地址获得方式:MANUAL

IP地址:119.1.176.185子网掩码:255.255.255.0网关地址:119.1.176.1

管理VLAN:13901/此时管理vlan为1和3901/MAC地址:00:0a:5a:11:ba:b8

TiNet(config)#noipaddressvlan1/删除交换机默认管理vlan1/删除管理VLAN成功!

第4页共8页

新格林耐特

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/管理vlan已改为3901/TiNet(config)#interrangeethernet0/1toethernet0/16/批量进入端口1-16TiNet(config-if-range)#tagvlan3901/端口1-16tagvlan3901/TiNet(config-if-range)#ex

TiNet(config)#vlan1001/建立vlan1001/TiNet(config-if-vlan)#switchportethernet0/1/vlan1001中参与端口1/添加VLAN端口成功!

TiNet(config-if-vlan)#showvlan1001显示VLAN信息

VLANID:1001VLANstatus:staticVLANmember:e0/1.Statictaggedports:StaticuntaggedPorts:e0/1.Dynamictaggedports:

TiNet(config)#vlan1015-1030/批量建立vlan1015-1030/TiNet(config-if-vlan)#switchportethernet0/1ethernet0/16

/vlan1015-1030参与端口1-16/添加VLAN端口成功!

TiNet(config-if-vlan)#showvlan1015

显示VLAN信息

VLANID:1015VLANstatus:static

VLANmember:e0/1,e0/16.Statictaggedports:

StaticuntaggedPorts:e0/1,e0/16.Dynamictaggedports:

TiNet(config)#port-isolationethernet0/2toe0/16/端口2-16进行隔离,1

口为上行口,未隔离/

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

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

第5页共8页

新格林耐特

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/查看端口实时流量/LinkUtilizationAveragesThuJan100:24:371970portlinkReceivePeakRxTransmitPeakTxStatuspkts/secpkts/secpkts/secpkts/sec

==================================================================e0/1down0000e0/2down0000e0/3down0000e0/4down0000e0/5down0000e0/6down0000e0/7down0000e0/8down0000e0/9down0000e0/10down0000e0/11down0000e0/12down0000e0/13down0000e0/14down0000e0/15down0000e0/16down0000e1/1down0000

====spacebar->togglescreenU->pageupD->pagedownCR->exit====

TiNet(config)#usernamechange-password/修改登录密码/请输入您的登录密码:******请输入用户名(4--15位):admin请输入新口令(1--15位):******输入确认口令(1--15位):******

/用户admin密码修改成功/

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

第6页共8页

新格林耐特

其次部分:交换机实现telnet管理配置步骤

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

TiNet(config)#ipaddress119.1.176.185255.255.255.0119.1.176.1/配置ip地址/ConfigIPsuccessfully.TiNet(config)#showipSwitchconfiguration

ipobtained:MANUAL

ipaddress: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

交换机的配置信息

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论