新格林耐特配置命令_第1页
新格林耐特配置命令_第2页
新格林耐特配置命令_第3页
新格林耐特配置命令_第4页
新格林耐特配置命令_第5页
免费预览已结束,剩余11页可下载查看

下载本文档

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

文档简介

第一部分: tinets2000ei系列配置命令及说明(红色标识为一些常用命令)username(1-32 chars):adminpassword(1-16 chars):*/登陆交换机,默认密码123456/tinetenable/进入特权模式/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下载应用程序configuration下 载 配 置 文 件 keyfile下载 ssh 密钥文件whole-bootrom下载全部的bootrom/设备升级命令/精品资料5.tinet(config)#ipaddress 192.168.1.5 255.255.255.0 192.168.1.1/配置交换机ip 地址 /6. tinet(config)show?/ show命令,后可以打问号/ show ipshow mac show interface show vlan7. tinet(config)#vlan 3901/ 建 立 vlan3901/ tinet(config-if-vlan)#switchport ethernet 0/1/把端口 1 加入该 vlan/ tinet(config)#ip vlan 3901/定义管理vlan 为 3901tinet(config)#no ip vlan 1/ 删除默认管理vlan 1/8. tinet(config)#vlan 1001-1512/批量建立 vlan /9. tinet(config-if-vlan)#switchportethernet0/2to ethernet0/8ethernet0/11ethernet 0/16/在某一 vlan 中或者 vlan 段中批量加入端口/10. tinet(config-if-ethernet-0/16)#tag vlan 1001,1112-1512,4000/端口下批量打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端口号为槽端口号/ 端口号 tinet(config)#port-isolation ethernet 0/2 to e 0/16添加端口隔离下行端口成功./一步隔离,一条命令隔离除上行口以外所有端口/15. tinet(config)#interface range ethernet 0/2 to ethernet 0/16/批量端口处理命令/16. tinet(config-if-range)#bandwidth-control ?egress出口带宽控制ingress入口带宽控制/端口限速命令/17. tinet(config)#show utilization interface/实时查看端口流量占比/ link utilization averagesthu jan 1 00:43:20 1970portlinkreceivepeak rxtransmitpeak tx statuspkts/secpkts/secpkts/secpkts/sec=e0/1down0000e0/2down0000e0/3down0000e0/4down0000e0/5down0000e0/6down0000e0/7down0000e0/8down0000e0/9down0000e0/10down0000e0/11down0000e0/12down0000e0/13down0000e0/14down0000e0/15down0000e0/16down0000e1/1down0000=spacebar-toggle screen u-page upd-page down cr-exit=通过空格键来切换回车键结束查看18. tinet(config)#username change-passwo请输入您的登录密码: *请输入用户名(4-15 位):admin 请输入新口令(1-15 位):* 输入确认口令(1-15 位):*用户 admin密码修改成功。/修改登陆密码 /配置案例:小河区某小区格林耐特设备配置简要流程tinet(config)#ipaddress 119.1.176.185 255.255.255.0 119.1.176.1/配置 ip 地址 / config ip successfully.tinet(config)#show ip switch configurationip obtained: manualip address: 119.1.176.185 netmask: 255.255.255.0gateway: 119.1.176.1managevlan: 1mac address: 00:0a:5a:11:ba:b8/ 查看交换机ip 地址/ tinet(config)#extinet#terminallanguagechinese/更改语言模式为中文/ tinet(config)#vlan 3901/建立 vlan3901/tinet(config-if-vlan)#switchport all/在 vlan3901下添加端口 /添加 vlan 端口成功!tinet(config)#ipaddress vlan 3901/ 定义交换机管理vlan/配置管理 vlan 成功 ! tinet(config)#show ip交换机的配置信息ip 地址获得方式: manualip 地址: 119.1.176.185子网掩码: 255.255.255.0网关地址: 119.1.176.1管理 vlan: 1 3901/此时管理vlan 为 1 和 3901/ mac地址: 00:0a:5a:11:ba:b8tinet(config)#no ipaddress vlan 1/删除交换机默认管理vlan1/删除管理 vlan 成功 !tinet(config)#show ip交换机的配置信息ip 地址获得方式: manualip 地址: 119.1.176.185子网掩码: 255.255.255.0网关地址: 119.1.176.1管理 vlan: 3901mac地址: 00:0a:5a:11:ba:b8/管理 vlan 已改为 3901/ tinet(config)#inter range ethernet 0/1 to ethernet 0/16/批量进入端口1-16 tinet(config-if-range)#tag vlan 3901/端口 1-16 tag vlan 3901 / tinet(config-if-range)#extinet(config)#vlan 1001/建立 vlan 1001/tinet(config-if-vlan)#switchport ethernet 0/1/vlan1001中加入端口1/添加 vlan 端口成功! tinet(config-if-vlan)#show vlan 1001显示 vlan 信息vlan id: 1001vlan status: static vlan member: e0/1. static tagged ports:static untagged ports : e0/1. dynamic tagged ports:tinet(config)#vlan 1015-1030/批量建立 vlan 1015-1030/tinet(config-if-vlan)#switchport ethernet 0/1 ethernet 0/16/vlan1015-1030加入端口 1-16/添加 vlan 端口成功!tinet(config-if-vlan)#show vlan 1015显示 vlan 信息vlan id: 1015vlan status: staticvlan member: e0/1,e0/16. static tagged ports:static untagged ports : e0/1,e0/16. dynamic tagged ports:tinet(config)#port-isolationethernet 0/2 to e 0/16/端口 2-16 进行隔离,1 口为上行口,未隔离/添加端口隔离下行端口成功.tinet(config-if-ethernet-0/1)#switchport ? accessaccess端口backup配置备份端口mode端口模式trunktrunk端口tinet(config-if-ethernet-0/1)#switchport mode trunk/更改端口 1 模式为 trunk/tinet(config-if-ethernet-0/1)#switchport trunk allowed vlan all/允许所有 vlan 通过 1 口/tinet(config-if-ethernet-0/1)#switchport trunk native vlan 3901/更改 1 口 pvid为 3901/tinet(config-if-ethernet-0/1)#extinet(config)#show utilization interface/查看端口实时流量/ link utilization averagesthu jan 1 00:24:37 1970portlinkreceivepeak rxtransmitpeak tx statuspkts/secpkts/secpkts/secpkts/sec=e0/1down0000e0/2down0000e0/3down0000e0/4down0000e0/5down0000e0/6down0000e0/7down0000e0/8down0000e0/9down0000e0/10down0000e0/11down0000e0/12down0000e0/13down0000e0/14down0000e0/15down0000e0/16down0000e1/1down0000=spacebar-toggle screen u-page upd-page down cr-exit=tinet(config)#usernamechange-password/修改登录密码/请输入您的登录密码: *请输入用户名 (4-15 位):admin 请输入新口令 (1-15 位):* 输入确认口令 (1-15 位):*/用户 admin 密码修改成功/tinet#copy running-config startup-config/保存配置命令/第二部分:交换机实现telnet管理 配置步骤第一步:配置规划好的交换机ip 地址例:tinet(config)#ipaddress 119.1.176.185 255.255.255.0 119.1.176.1/配置 ip 地址 / config ip successfully.tinet(config)#show ip switch configurationip obtained: manualip address: 119.1.176.185 netmask: 255.255.255.0gateway: 119.1.176.1managevlan: 1mac address: 00:0a:5a:11:ba:b8/查看交换机ip 地址/第二步: 建立规划好的管理vlan ,把上行口加入到管理vlan 中,然后删除默认的管理vlan 1例:tinet(config)#vlan 3901/建立 vlan3901/tinet(config-if-vlan)#switchport e 0/1/在 vlan3901中添加端口1/添加 vlan 端口成功!tinet(config)#ipaddress vlan 3901/定义交换机管理vlan/配置管理 vlan 成功 ! tinet(config)#show ip交换机的配置信息ip 地址获得方式: manualip 地址: 119.1.176.185子网掩码: 255.255.255.0网关地址: 119.1.176.1管理 vlan: 1

温馨提示

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

评论

0/150

提交评论