H3CS5500基本配置思路及实用命令_第1页
H3CS5500基本配置思路及实用命令_第2页
H3CS5500基本配置思路及实用命令_第3页
H3CS5500基本配置思路及实用命令_第4页
免费预览已结束,剩余1页可下载查看

下载本文档

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

文档简介

H3CS5500基本配置思路及实用命令 H3C S5500基本配置思路及实用命令1.总体配置思路1)添加VLAN1,并将相应端口添加到该VLAN。 (在VLAN状态下才可一次将多个端口加入相应VLAN,interface e1/0/1to e1/0/24)2)添加VLAN2,并将其置为管理VLAN(在#状态下management-vlan2),才可设置其VLAN的IP地址。 3)添加静态路由。 4)配置端口TRUNK模式。 5)配置远程登录VTY认证。 6)配置本地用户。 2.进入特权模式System ViewSystem ViewSystem View:return toUser Viewwith Ctrl+Z.H3CdisH3Cdisplay cur3.配置交换机主机名sysname sysnameH3C4.添加VLAN vlan1或在此状态下直接将相应端口加入该VLAN(否则只能一个口一个口的添加)Interface e1/0/1to e1/0/245.配置管理VLAN-management-vlan management-vlan26.给管理VLAN添加IP地址interface Vlan-interface1ip address10.10.40.176255.255.255.07.添加端口到VLANport aessvlan1interface GigabitEther1/0/2port aessvlan18.远程登录配置及3A认证模式user-interface vty04authentication-mode schemeuser-interface vty04authentication-mode scheme9.配置3A认证本地用户及属性local-user testpa0.0.0.010.10.40.110.查看路由表display iprouting-tableH3Cdisplay iprouting-table RoutingTables:Public Destinations:7Routes:7Destination/Mask ProtoPre CostNextHop Interface0.0.0.0/Static.10.40.1Vlan210.10.40.0/24Direct.10.40.180Vlan210.10.40.180/32Direct.0.0.1InLoop0127.0.0.0/Direct.0.0.1InLoop0127.0.0.1/32Direct.0.0.1InLoop0192.168.76.0/24Direct.168.76.3Vlan76192.168.76.3/32Direct.0.0.1InLoop011.显示当前配置display current-configurationH3Cdisplay current-configuration12.查看端口及VLAN的up/down状态display briefinterfaceH3Cdisplay briefinterface The brief information of interface(s)under routemode:Interface LinkProtocol-link Protocoltype MainIP NULLUP UP(spoofing)NULL-VlanUP UPETHERNET192.168.76.3VlanUP UPETHERNET10.10.40.180The briefinformation ofinterface(s)under bridgemode:Interface LinkSpeed DuplexLink-type PVIDGE1/0/UP1G(a)full(a)aess1GE1/0/DOWN autoauto aess1GE1/0/DOWN autoauto aess1GE1/0/DOWN autoauto aess1GE1/0/DOWN autoauto aess1display briefinterface GigabitEther1/0/1H3Cdisplay briefinterface GigabitEther1/0/1The briefinformation ofinterface(s)under bridgemode:Interface LinkSpeed DuplexLink-type PVIDGE1/0/UP1G(a)full(a)aess1display briefinterface Vlan-interface1H3Cdisplay briefinterface Vlan-interface1Thebriefinformationofinterface(s)under routemode:Interface LinkProtocol-link Protocoltype MainIP VlanUP UPETHERNET192.168.76.313.查看MAC地址缓存表display mac-addressH3Cdisplay mac-address MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)0000-e7aLearned GigabitEther1/0/19AGING0000-e8fLearned GigabitEther1/0/19AGING0001-6c41-9cee1Learned GigabitEther1/0/19AGING000c-2919-0d6c1Learned GigabitEther1/0/19AGING000c-2961-d8ea1Learned GigabitEther1/0/19AGING14.查看某一端口的MAC地址缓存表display mac-address interfaceGigabitEther1/0/1H3Cdisplay mac-address interfaceGigabitEther1/0/1MACADDRVLANIDSTATEPORTINDEXAGINGTIME(s)0016-3642-eLearned GigabitEther1/0/1AGING0016-eca2-d69d1Learned GigabitEther1/0/1AGING001c-25d8-77bLearned GigabitEther1/0/1AGING0024-1d6e-6fbe1Learned GigabitEther1/0/1AGING15.查看ARP缓存表display arpH3Cdisplay arpType:S-Static D-Dynamic IPAddress MACAddress VLANID InterfaceAging Type192.168.76.eca2-d69d1GE1/0/D192.168.76.eGE1/0/D192.168.76.d6e-6fbe1GE1/0/D10.10.40.d-4fcGE1/0/D192.168.76.d-4fcGE1/0/D或config.cfg配置文件可能在fla或config.cfg配置文件可能在fla1-rw-2365Apr26200012:13:58startup.cfg(配置文件名)31496KB total(23460KB free)dir Directoryof unit1fla2(*)-rw-3711222Mar25xx16:51:52s31si_e-cmw310-r2211p07.bin3(*)-rw-886025Jan01xx00:00:00h3c-4(*)-rw-2834Apr03200001:20:33config.cfg(配置文件名)7239KB total(2739KB free)(*)-with mainattribute(b)-with backup attribute(*b)-with bothmain andbackup attributeput unit1fla10.10.40.185.txt File will be transferred in binary mode.Sending file to remote|2(*)-rw-3711222Mar25xx16:51:52s31si_e-cmw310-r2211p07.bin3(*)-rw-886025Jan01xx00:00:00h3c-4(*)-rw-2979Apr02200007:17:02config.cfg7239KB total(2739KB free)(*)-with mainattribute(b)-with backupattribute(*b)-with bothmain andbackupattribute配置可以使用0jyzx-px-zhongxinacl number2000jyzx-px-zhongxin-acl-basic-2000rule permitsource172.16.8.91?0Wildcard bits:0.0.0.0(a host)X.X.X.X Wildcardof sourcejyzx-px-zhongxin-acl-basic-2000rule permitsource172.16.8.910配置备份配置文件到put fla(无目标文件名则表示与源文件名同名)put flastartup.txt(将配置文件保存为txt文件)put flaFilewill betransferred inbinary mode Sending fileto remoteput fla10.10.40.177.txt FilewillbetransferredinbinarymodeSendingfiletoremote0quit putfla10.10.40.177.txt16.关闭实时信息-undo info-center enablejyzx-bg-4-xundo info-center enable%Information centeris disable

温馨提示

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

评论

0/150

提交评论