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

下载本文档

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

文档简介

1 配置 OLT 接口 vlan H3C interface Olt 2 0 1 H3C Olt2 0 1 port hybrid vlan 1 to 4094 tagged 或 untagged 2 创建 ONU 逻辑接口 H3C interface Olt 2 0 1 H3C Olt2 0 1 using onu 1 to 32 假设此 OLT 接口使用了 1 分 32 的 分光器 Please wait Done H3C Olt2 0 1 3 配置 ONU 设备 MAC 地址和 ONU 逻辑接口绑定 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 bind onuid 00e0 fc70 2d6d 4 配置 ONU 逻辑接口为 trunk 模式 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 port link type trunk 5 配置 ONU 逻辑接口 PVID ONU 上行 PON 口打 vlan 标签 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 port trunk pvid vlan 2 6 配置 ONU PON 接口的上行带宽 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 upstream sla maximum bandwidth 1600 7 配置 ONU PON 接口的下行带宽 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 bandwidth downstream max bandwidth 2000 8 配置 ONU 以太网 uni 接口的上行带宽 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 uni 1 port policy inbound cir 1024 9 配置 ONU 以太网 uni 接口的上行带宽 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 uni 1 port policy inbound cir 1024 10 配置 ONU 以太网 uni 接口端口隔离 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 uni 1 port isolate 11 配置 ONU 以太网 uni 接口打 vlan 标签 H3C interface onu 2 0 1 1 H3C Onu2 0 1 1 uni 1 vlan mode tag pvid 101 12 配置上行 GE 接口协商模式 H3C interface G 2 1 1 H3C Gigabit 2 1 1 speed 1000 H3C Gigabit 2 1 1 duplex full 13 ONU 注册信息显示 H3C display onuinfo slot 2 14 查询 ONU 注册 注销命令 H3C display onu event interface onu 2 0 8 1 Date Time ONU Event ONU Status 2006 06 28 13 57 03 Registration Up 2006 06 28 13 57 06 Deregistration Down 15 重启 ONU H3C interface onu 2 0 8 1 H3C Onu2 0 8 1 reboot onu 16 配置设备名称 H3C sysname HTSM HTSM 17 配置管理接口 管理 vlan H3C vlan 4 假设 vlan 4 为管理 vlan H3C vlan3 quit H3C interface GigabitEthernet 1 1 1 H3C Giga1 1 1 port link type trunk H3C Giga1 1 1 port trunk permit vlan 4 H3C Giga1 1 1 quit H3C 上行接口如果直接接电脑 需要配置上行接口为 access 模式 H3C interface GigabitEthernet 1 1 1 H3C Giga1 1 1 port link type access H3C Giga1 1 1 port access vlan 4 H3C Giga1 1 1 quit 18 配置设备管理 IP 地址 网关 H3C interface Vlan interface 4 H3C Vlan interface4 Oct 14 14 18 59 276 2009 H3C IFNET 4 LINK UPDOWN Vlan interface4001 link status is UP H3C Vlan interface4 ip address 10 164 0 2 24 Oct 14 14 19 08 283 2009 H3C IFN ET 4 UPDOWN Line protocol on the interface Vlan interface4 is UP H3C Vlan interface4 quit H3C ip route static 0 0 0 0 0 0 0 0 10 164 0 1 19 配置 DHCP H3C dhcp enable H3C dhcp server ip pool 1 Abiao dhcp pool 1 network 192 168 1 0 24 Abiao dhcp pool 1 gateway list 192 168 1 1 Abiao dhcp pool 1 dns 202 99 96 68 Abiao dhcp pool 1 quit H3C interface Vlan interface 1 H3C Vlan interface4 ip address 192 168 1 1 20 配置 OSPF H3C ospf Abiao ospf 1 area 0 0 0 0 Abiao ospf 1 area 0 0 0 0 network 192 168 1 1 0 0 0 255 Abiao ospf 1 area 0 0 0 0 area 0 0 0 1 Abiao ospf 1 area 0 0 0 0 network 192 168 1 2 0 0 0 255 Abiao ospf 1 area 0 0 0 0 quit Abiao ospf 1 quit 21 配置 telnet 登陆账号及 telnet 服务 H3C OLT LCGY telnet server enable Start Telnet server H3C OLT LCGY H3C OLT LCGY local user admin 管理员户 New local user added H3C OLT LCGY luser admin password simple h3c H3C OLT LCGY luser admin service type telnet H3C OLT LCGY luser admin authorization attribute level 3 H3C OLT LCGY luser admin quit H3C OLT LCGY H3C OLT LCGY user interface vty 0 4 H3C OLT LCGY vty 0 4 authentication mode scheme H3C OLT LCGY vty 0 4 quit H3C OLT LCGY 22 配置 ACL 访问控制列表 举例 禁止通过 ONU1 设备接入的客户端访问 Server IP 地址为 192 168 4 1 H3C acl number 3000 H3C acl standard 3000 rule 10 deny ip source any destination 192 168 4 1 0 0 0 0 H3C acl standard 3000 quit H3C traffic classifier c 1 H3C classifier c 1 if match acl 3000 H3C classifier c 1 quit H3C traffic behavior b 1 H3C behavior b 1 filter deny H3C behavior b 1 quit H3C qos policy p 1 H3C qospolicy p 1 classifier c 1 behavior b 1 H3C qospolicy p 1 quit H3C interface Onu 1 0 1 1 H3C Onu1 0 1 1 qos apply policy p 1 inbound 23 配置网管 snmp 参数 H3C OLT LCGY snmp agent H3C OLT LCGY snmp agent community read noc 911 acl 2000 H3C OLT LCGY snmp agent community write noc 007 acl 2000 H3C OLT LCGY snmp agent sys info version all H3C OLT LCGY snmp agent trap enable H3C OLT LCGY snmp agent target host trap address udp domain 221 129 231 22 params securityname security v1 H3C OLT LCG Y 24 创建 vlan H3C OLT LCGY vlan all Please wait Done H3C OLT LCGY 25 配置在 OLT 接口上打外层标签功能 QinQ 举例 对于内层标 签 10 打上外层标签 1000 ProviderA interface olt 1 0 1 ProviderA Olt1 0 1 port link type hybrid ProviderA Olt1 0 1 port hybrid vlan 10 1000 tagged ProviderA Olt1 0 1 qinq vid 1000 ProviderA Olt1 0 1 vid 1000 raw vlan id inbound 10 ProviderA Olt1 0 1 vid 1000 quit ProviderA interface gigabitethernet 1 1 1 ProviderA GigabitEthernet1 1 1 port link type trunk ProviderA GigabitEthernet1 1 1 port trunk permit vlan 1000 26 保存配置 H3C OLT LCGY quit save The current configuration will be written to the device Are you sure Y N y Please input the file name cfg flash startup cfg To leave the existing filename unchanged press the enter key Validati ng file Please wait Saved the current configuration to mainboard device successfully Confi guration is saved to device successfully 27 ONU 4 端口对上行报文打上同样 vlan 标签 且进行 vlan

温馨提示

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

评论

0/150

提交评论