H3C S7503基本操作命令.doc_第1页
H3C S7503基本操作命令.doc_第2页
H3C S7503基本操作命令.doc_第3页
H3C S7503基本操作命令.doc_第4页
H3C S7503基本操作命令.doc_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

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

文档简介

精品文档1.配置OLT接口vlanH3CinterfaceOlt2/0/1H3C-Olt2/0/1porthybridvlan1to4094tagged(或untagged)2.创建ONU逻辑接口H3CinterfaceOlt2/0/1H3C-Olt2/0/1usingonu1to32(假设此OLT接口使用了1分32的分光器,)Pleasewait.Done.H3C-Olt2/0/13.配置ONU设备MAC地址和ONU逻辑接口绑定H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1bindonuid00e0-fc70-2d6d4.配置ONU逻辑接口为trunk模式H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1portlink-typetrunk5.配置ONU逻辑接口PVID(ONU上行PON口打vlan标签)H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1porttrunkpvidvlan26.配置ONUPON接口的上行带宽H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1upstream-slamaximum-bandwidth16007.配置ONUPON接口的下行带宽H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1bandwidthdownstreammax-bandwidth20008.配置ONU以太网uni接口的上行带宽H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1uni1port-policyinboundcir10249.配置ONU以太网uni接口的上行带宽H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1uni1port-policyinboundcir102410.配置ONU以太网uni接口端口隔离H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1uni1port-isolate11.配置ONU以太网uni接口打vlan标签H3Cinterfaceonu2/0/1:1H3C-Onu2/0/1:1uni1vlan-modetagpvid10112.配置上行GE接口协商模式H3CinterfaceG2/1/1H3C-Gigabit2/1/1speed1000H3C-Gigabit2/1/1duplexfull13.ONU注册信息显示H3Cdisplayonuinfoslot214.查询ONU注册、注销命令H3Cdisplayonu-eventinterfaceonu2/0/8:1DateTimeONUEventONUStatus2006/06/2813:57:03RegistrationUp2006/06/2813:57:06DeregistrationDown15.重启ONUH3Cinterfaceonu2/0/8:1H3C-Onu2/0/8:1rebootonu16.配置设备名称H3CsysnameHTSMHTSM17.配置管理接口,管理vlanH3Cvlan4(假设vlan4为管理vlan)H3C-vlan3quitH3CinterfaceGigabitEthernet1/1/1H3CGiga1/1/1portlink-typetrunkH3CGiga1/1/1porttrunkpermitvlan4H3CGiga1/1/1quitH3C上行接口如果直接接电脑,需要配置上行接口为access模式H3CinterfaceGigabitEthernet1/1/1H3CGiga1/1/1portlink-typeaccessH3CGiga1/1/1portaccessvlan4H3CGiga1/1/1quit18.配置设备管理IP地址,网关H3CinterfaceVlan-interface4H3C-Vlan-interface4%Oct1414:18:59:2762009H3CIFNET/4/LINKUPDOWN:Vlan-interface4001:linkstatusisUPH3C-Vlan-interface4ipaddress10.164.0.224%Oct1414:19:08:2832009H3CIFNET/4/UPDOWN:LineprotocolontheinterfaceVlan-interface4isUPH3C-Vlan-interface4quitH3Ciproute-static0.0.0.00.0.0.010.164.0.119.配置DHCPH3CdhcpenableH3Cdhcpserverip-pool1Abiao-dhcp-pool-1network192.168.1.024Abiao-dhcp-pool-1gateway-list192.168.1.1Abiao-dhcp-pool-1dns202.99.96.68Abiao-dhcp-pool-1quitH3CinterfaceVlan-interface1H3C-Vlan-interface4ipaddress192.168.1.120.配置OSPFH3CospfAbiao-ospf-1area0.0.0.0Abiao-ospf-1-area-0.0.0.0network192.168.1.10.0.0.255Abiao-ospf-1-area-0.0.0.0area0.0.0.1Abiao-ospf-1-area-0.0.0.0network192.168.1.20.0.0.255Abiao-ospf-1-area-0.0.0.0quitAbiao-ospf-1quit21.配置telnet登陆账号及telnet服务H3C_OLT_LCGYtelnetserverenable%StartTelnetserverH3C_OLT_LCGYH3C_OLT_LCGYlocal-useradmin(管理员户)Newlocaluseradded.H3C_OLT_LCGY-luser-adminpasswordsimpleh3cH3C_OLT_LCGY-luser-adminservice-typetelnetH3C_OLT_LCGY-luser-adminauthorization-attributelevel3H3C_OLT_LCGY-luser-adminquitH3C_OLT_LCGYH3C_OLT_LCGYuser-interfacevty04H3C_OLT_LCGY_vty_0_4authenticationmodeschemeH3C_OLT_LCGY_vty_0_4quitH3C_OLT_LCGY22.配置ACL访问控制列表举例:禁止通过ONU1设备接入的客户端访问Server(IP地址为192.168.4.1)H3Caclnumber3000H3C-acl-standard-3000rule10denyipsourceanydestination192.168.4.10.0.0.0H3C-acl-standard-3000quitH3Ctrafficclassifierc_1H3C-classifier-c_1if-matchacl3000H3C-classifier-c_1quitH3Ctrafficbehaviorb_1H3C-behavior-b_1filterdenyH3C-behavior-b_1quitH3Cqospolicyp_1H3C-qospolicy-p_1classifierc_1behaviorb_1H3C-qospolicy-p_1quitH3CinterfaceOnu1/0/1:1H3C-Onu1/0/1:1qosapplypolicyp_1inbound23.配置网管snmp参数H3C_OLT_LCGYsnmp-agentH3C_OLT_LCGYsnmp-agentcommunityreadnoc-911acl2000H3C_OLT_LCGYsnmp-agentcommunitywritenoc-007acl2000H3C_OLT_LCGYsnmp-agentsys-infoversionallH3C_OLT_LCGYsnmp-agenttrapenableH3C_OLT_LCGYsnmp-agenttarget-hosttrapaddressudp-domain221.129.231.22paramssecuritynamesecurityv1H3C_OLT_LCGY24.创建vlanH3C_OLT_LCGYvlanallPleasewait.Done.H3C_OLT_LCGY25.配置在OLT接口上打外层标签功能(QinQ)举例:对于内层标签10,打上外层标签1000ProviderAinterfaceolt1/0/1ProviderA-Olt1/0/1portlink-typehybridProviderA-Olt1/0/1porthybridvlan101000taggedProviderA-Olt1/0/1qinqvid1000ProviderA-Olt1/0/1-vid-1000raw-vlan-idinbound10ProviderA-Olt1/0/1-vid-1000quitProviderAinterfacegigabitethernet1/1/1ProviderA-GigabitEthernet1/1/1portlink-typetrunkProviderA-GigabitEthernet1/1/1porttrunkpermitvlan100026.保存配置H3C_OLT_LCGYquitsaveThecurrentconfigurationwillbewrittentothedevice.Areyousure?Y/N:yPleaseinputthefilename(*.cfg)flash:/startup.cfg(Toleavetheexistingfilenameunchanged,presstheenterkey):Validatingfile.Pleasewait.Savedthecurrentconfigurationtomainboarddevicesuccessfully.Configurationissavedtodevicesuccessfully.27.ONU4端口对上行报文打上同样vlan标签,且进行vl

温馨提示

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

最新文档

评论

0/150

提交评论