新格林耐特配置命令.doc

上传人:xin****828 文档编号:6616338 上传时间:2020-02-29 格式:DOC 页数:8 大小:46KB
返回 下载 相关 举报
新格林耐特配置命令.doc_第1页
第1页 / 共8页
新格林耐特配置命令.doc_第2页
第2页 / 共8页
新格林耐特配置命令.doc_第3页
第3页 / 共8页
点击查看更多>>
资源描述
第一部分: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 interfaceShow 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 / 删除默认管理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中或者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 Averages Thu Jan 1 00:43:20 1970port link Receive Peak Rx Transmit Peak Tx Status pkts/sec pkts/sec pkts/sec pkts/sec=e0/1 down 0 0 0 0e0/2 down 0 0 0 0e0/3 down 0 0 0 0e0/4 down 0 0 0 0e0/5 down 0 0 0 0e0/6 down 0 0 0 0e0/7 down 0 0 0 0e0/8 down 0 0 0 0e0/9 down 0 0 0 0e0/10 down 0 0 0 0e0/11 down 0 0 0 0e0/12 down 0 0 0 0e0/13 down 0 0 0 0e0/14 down 0 0 0 0e0/15 down 0 0 0 0e0/16 down 0 0 0 0e1/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位):*用户admin密码修改成功。 /修改登陆密码/ 配置案例:小河区某小区格林耐特设备配置 简要流程TiNet(config)#ipaddress 119.1.176.185 255.255.255.0 119.1.176.1 /配置ip地址/Config IP successfully.TiNet(config)#show ipSwitch configurationip obtained : MANUALip address : 119.1.176.185netmask : 255.255.255.0gateway : 119.1.176.1ManageVLAN : 1 MAC address : 00:0a:5a:11:ba:b8 /查看交换机ip地址/TiNet(config)#exTiNet#terminal language chinese /更改语言模式为中文/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 : 3901 MAC 地址 : 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 : staticVLAN 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-isolation ethernet 0/2 to e 0/16 /端口2-16进行隔离,1口为上行口,未隔离/添加端口隔离下行端口成功.TiNet(config-if-ethernet-0/1)#switchport ?access access 端口backup 配置备份端口 mode 端口模式 trunk trunk 端口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 Averages Thu Jan 1 00:24:37 1970port link Receive Peak Rx Transmit Peak Tx Status pkts/sec pkts/sec pkts/sec pkts/sec=e0/1 down 0 0 0 0e0/2 down 0 0 0 0e0/3 down 0 0 0 0e0/4 down 0 0 0 0e0/5 down 0 0 0 0e0/6 down 0 0 0 0e0/7 down 0 0 0 0e0/8 down 0 0 0 0e0/9 down 0 0 0 0e0/10 down 0 0 0 0e0/11 down 0 0 0 0e0/12 down 0 0 0 0e0/13 down 0 0 0 0e0/14 down 0 0 0 0e0/15 down 0 0 0 0e0/16 down 0 0 0 0e1/1 down 0 0 0 0=spacebar-toggle screen U-page up D-page down CR-exit=TiNet(config)#username change-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 ipSwitch configurationip obtained : MANUALip address : 119.1.176.185netmask : 255.255.255.0gateway : 119.1.176.1ManageVLAN : 1 MAC 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 3901 /此时管理vlan为1和3901/MAC 地址 : 00:0a:5a:11:ba:b8TiNet(config)#no ipaddress vlan 1 /删除交换机默认管理vlan1/删除管理VLAN成功!第三步:进入上行口,给管理vlan 打标例:TiNet(config)#interface ethernet 0/1 /进入到上行口模式/TiNet(config-if-ethernet-0/1)#tag vlan 3901 /打标/ 经过以上三个步骤,如果上层级联交换机配置无误,就可以远程telnet管理交换机。第三部分:交换机SNMP网管配置TiNet(config)#snmp-server community gzgy)* rw permit TiNet(config)#snmp-server host 202.98.199.206 version 2c gzgy)* TiNet(config)#snmp-server host 202.98.199.209 version 2c gzgy)* TiNet(config)#snmp-server host 202.98.199.212 version 2c gzgy)*交换机默认开启SNMP代理功能和默认支持SNMPv1/v2/v3,无需其他配置,。汇聚交换机与楼层交换机同样配置。
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 临时分类 > 人文社科


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!